From 38f3a39221869483e3468e9f4d8cab5450a70f89 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 22 May 2021 15:39:16 -0400 Subject: Equiping and unequiping items --- test/fixtures/equipment.yml | 11 +++++++++++ test/models/equipment_test.rb | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 test/fixtures/equipment.yml create mode 100644 test/models/equipment_test.rb (limited to 'test') diff --git a/test/fixtures/equipment.yml b/test/fixtures/equipment.yml new file mode 100644 index 0000000..a454920 --- /dev/null +++ b/test/fixtures/equipment.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + character: one + item: one + slot: 1 + +two: + character: two + item: two + slot: 1 diff --git a/test/models/equipment_test.rb b/test/models/equipment_test.rb new file mode 100644 index 0000000..48c29d5 --- /dev/null +++ b/test/models/equipment_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class EquipmentTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end -- cgit v1.2.3