Do not run performance specs in CI

This commit is contained in:
Rohan Mitchell
2015-06-03 13:00:07 +10:00
parent b3878b126b
commit 36dc0d5ccd
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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) }

View File

@@ -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]) }