summaryrefslogtreecommitdiff
path: root/test/models
diff options
context:
space:
mode:
Diffstat (limited to 'test/models')
-rw-r--r--test/models/ptu_type_test.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/models/ptu_type_test.rb b/test/models/ptu_type_test.rb
new file mode 100644
index 0000000..f7666df
--- /dev/null
+++ b/test/models/ptu_type_test.rb
@@ -0,0 +1,9 @@
+require "test_helper"
+
+class PtuTypeTest < ActiveSupport::TestCase
+ test "can create type" do
+ assert_difference("PtuType.count", 1) do
+ PtuType.create(name: "TestType")
+ end
+ end
+end