From aba212e13062c43a1192ef885b05145ac1cc9fe7 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 23 May 2021 17:06:34 -0400 Subject: Bazaar with buy orders, sell orders, and order cancellation --- test/fixtures/bazaar_orders.yml | 15 +++++++++++++++ test/models/bazaar_order_test.rb | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 test/fixtures/bazaar_orders.yml create mode 100644 test/models/bazaar_order_test.rb (limited to 'test') 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 -- cgit v1.2.3