summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-23 17:06:34 -0400
committerDavid Gay <david@davidgay.org>2021-05-23 17:06:34 -0400
commitaba212e13062c43a1192ef885b05145ac1cc9fe7 (patch)
tree61e3850ec0c86913a7e2d42076bcd73aa59f480a /test
parent44facc2e567eb3c045ce082428f42276e45b0202 (diff)
Bazaar with buy orders, sell orders, and order cancellation
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/bazaar_orders.yml15
-rw-r--r--test/models/bazaar_order_test.rb7
2 files changed, 22 insertions, 0 deletions
diff --git a/test/fixtures/bazaar_orders.yml b/test/fixtures/bazaar_orders.yml
new file mode 100644
index 0000000..9245a91
--- /dev/null
+++ b/test/fixtures/bazaar_orders.yml
@@ -0,0 +1,15 @@
+# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
+
+one:
+ character: one
+ item: one
+ quantity: 1
+ price_each: 1
+ buy_order: false
+
+two:
+ character: two
+ item: two
+ quantity: 1
+ price_each: 1
+ buy_order: false
diff --git a/test/models/bazaar_order_test.rb b/test/models/bazaar_order_test.rb
new file mode 100644
index 0000000..d65862b
--- /dev/null
+++ b/test/models/bazaar_order_test.rb
@@ -0,0 +1,7 @@
+require "test_helper"
+
+class BazaarOrderTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end