From 44facc2e567eb3c045ce082428f42276e45b0202 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 22 May 2021 18:10:19 -0400 Subject: Monsters and basic combat --- test/fixtures/monsters.yml | 11 +++++++++++ test/models/monster_test.rb | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 test/fixtures/monsters.yml create mode 100644 test/models/monster_test.rb (limited to 'test') diff --git a/test/fixtures/monsters.yml b/test/fixtures/monsters.yml new file mode 100644 index 0000000..ec30753 --- /dev/null +++ b/test/fixtures/monsters.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + name: MyString + description: MyText + whatnot: + +two: + name: MyString + description: MyText + whatnot: diff --git a/test/models/monster_test.rb b/test/models/monster_test.rb new file mode 100644 index 0000000..f57dbbd --- /dev/null +++ b/test/models/monster_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class MonsterTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end -- cgit v1.2.3