diff options
author | David Gay <david@davidgay.org> | 2021-04-07 20:44:37 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-04-07 20:44:44 -0400 |
commit | 5fc450ebd4249efc15e41b1b152a214697f5f415 (patch) | |
tree | 127f3452ebc7511eb71f1e490c44aa97f84d0c40 /test/models | |
parent | f27be0dce605412440b6317cd568610f01079f32 (diff) |
PTU natures
Diffstat (limited to 'test/models')
-rw-r--r-- | test/models/ptu_nature_test.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/models/ptu_nature_test.rb b/test/models/ptu_nature_test.rb new file mode 100644 index 0000000..a343a9a --- /dev/null +++ b/test/models/ptu_nature_test.rb @@ -0,0 +1,9 @@ +require "test_helper" + +class PtuNatureTest < ActiveSupport::TestCase + test "can create" do + assert_difference("PtuNature.count", 1) do + PtuNature.create(name: "Inconceivable", raises: "atk", lowers: "def") + end + end +end |