diff options
author | David Gay <david@davidgay.org> | 2021-06-06 19:06:46 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-06 19:06:46 -0400 |
commit | e37402ff309311a14d7dd666d0d8b29517504017 (patch) | |
tree | 3d6604805e9004bc0c37130f451376e79a68c989 /test | |
parent | 3622126380278d9bed8ea0e1e05a0bd1ea040596 (diff) |
Leviathans
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/monster_spawn_combats.yml | 11 | ||||
-rw-r--r-- | test/fixtures/monster_spawns.yml | 9 | ||||
-rw-r--r-- | test/models/monster_spawn_combat_test.rb | 7 | ||||
-rw-r--r-- | test/models/monster_spawn_test.rb | 7 |
4 files changed, 34 insertions, 0 deletions
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 |