summaryrefslogtreecommitdiff
path: root/test/models/ptu_nature_test.rb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-04-07 20:44:37 -0400
committerDavid Gay <david@davidgay.org>2021-04-07 20:44:44 -0400
commit5fc450ebd4249efc15e41b1b152a214697f5f415 (patch)
tree127f3452ebc7511eb71f1e490c44aa97f84d0c40 /test/models/ptu_nature_test.rb
parentf27be0dce605412440b6317cd568610f01079f32 (diff)
PTU natures
Diffstat (limited to 'test/models/ptu_nature_test.rb')
-rw-r--r--test/models/ptu_nature_test.rb9
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