summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/monster_spawn_combats.yml11
-rw-r--r--test/fixtures/monster_spawns.yml9
-rw-r--r--test/models/monster_spawn_combat_test.rb7
-rw-r--r--test/models/monster_spawn_test.rb7
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