diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/items.yml | 17 | ||||
-rw-r--r-- | test/models/item_test.rb | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/test/fixtures/items.yml b/test/fixtures/items.yml new file mode 100644 index 0000000..2540b9e --- /dev/null +++ b/test/fixtures/items.yml @@ -0,0 +1,17 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + gid: MyString + name: MyString + description: MyText + equip_slot: 1 + usable: false + whatnot: + +two: + gid: MyString + name: MyString + description: MyText + equip_slot: 1 + usable: false + whatnot: diff --git a/test/models/item_test.rb b/test/models/item_test.rb new file mode 100644 index 0000000..4bd69ff --- /dev/null +++ b/test/models/item_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class ItemTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end |