diff options
Diffstat (limited to 'test/models/ptu_nature_test.rb')
-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 |