From e37402ff309311a14d7dd666d0d8b29517504017 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 6 Jun 2021 19:06:46 -0400 Subject: Leviathans --- test/fixtures/monster_spawn_combats.yml | 11 +++++++++++ test/fixtures/monster_spawns.yml | 9 +++++++++ test/models/monster_spawn_combat_test.rb | 7 +++++++ test/models/monster_spawn_test.rb | 7 +++++++ 4 files changed, 34 insertions(+) create mode 100644 test/fixtures/monster_spawn_combats.yml create mode 100644 test/fixtures/monster_spawns.yml create mode 100644 test/models/monster_spawn_combat_test.rb create mode 100644 test/models/monster_spawn_test.rb (limited to 'test') diff --git a/test/fixtures/monster_spawn_combats.yml b/test/fixtures/monster_spawn_combats.yml new file mode 100644 index 0000000..66d1fff --- /dev/null +++ b/test/fixtures/monster_spawn_combats.yml @@ -0,0 +1,11 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + monster_spawn: one + character: one + hp_lost: 1 + +two: + monster_spawn: two + character: two + hp_lost: 1 diff --git a/test/fixtures/monster_spawns.yml b/test/fixtures/monster_spawns.yml new file mode 100644 index 0000000..4106695 --- /dev/null +++ b/test/fixtures/monster_spawns.yml @@ -0,0 +1,9 @@ +# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html + +one: + monster: one + location: one + +two: + monster: two + location: two diff --git a/test/models/monster_spawn_combat_test.rb b/test/models/monster_spawn_combat_test.rb new file mode 100644 index 0000000..7717a34 --- /dev/null +++ b/test/models/monster_spawn_combat_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class MonsterSpawnCombatTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end diff --git a/test/models/monster_spawn_test.rb b/test/models/monster_spawn_test.rb new file mode 100644 index 0000000..07d8c85 --- /dev/null +++ b/test/models/monster_spawn_test.rb @@ -0,0 +1,7 @@ +require "test_helper" + +class MonsterSpawnTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end -- cgit v1.2.3