mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Do not run performance specs in CI
This commit is contained in:
@@ -16,4 +16,4 @@ echo "--- Loading test database"
|
||||
bundle exec rake db:test:load
|
||||
|
||||
echo "--- Running tests"
|
||||
bundle exec rspec spec
|
||||
bundle exec rspec --tag ~performance spec
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe InjectionHelper, type: :helper do
|
||||
describe InjectionHelper, type: :helper, performance: true do
|
||||
let(:oc) { create(:simple_order_cycle) }
|
||||
let(:relative_supplier) { create(:supplier_enterprise) }
|
||||
let(:relative_distributor) { create(:distributor_enterprise) }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe ShopController, type: :controller do
|
||||
describe ShopController, type: :controller, performance: true do
|
||||
let(:d) { create(:distributor_enterprise) }
|
||||
let(:enterprise_fee) { create(:enterprise_fee) }
|
||||
let(:order_cycle) { create(:simple_order_cycle, distributors: [d], coordinator_fees: [enterprise_fee]) }
|
||||
|
||||
Reference in New Issue
Block a user