Merge branch 'master' into combined/bulk-product-edit-and-ng-cloak

This commit is contained in:
Rohan Mitchell
2015-06-03 15:10:12 +10:00
5 changed files with 12 additions and 3 deletions

3
.rspec_parallel Normal file
View File

@@ -0,0 +1,3 @@
--format progress
--format ParallelTests::RSpec::SummaryLogger --out tmp/spec_summary.log
--tag ~performance

View File

@@ -112,4 +112,5 @@ group :development do
gem 'guard-rails'
gem 'guard-zeus'
gem 'guard-rspec'
gem 'parallel_tests'
end

View File

@@ -362,6 +362,9 @@ GEM
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
parallel (1.4.1)
parallel_tests (1.3.7)
parallel
paypal-sdk-core (0.2.10)
multi_json (~> 1.0)
xml-simple
@@ -575,6 +578,7 @@ DEPENDENCIES
newrelic_rpm
oj
paperclip
parallel_tests
pg
poltergeist
pry-debugger

View File

@@ -10,7 +10,7 @@ development:
test:
adapter: postgresql
encoding: unicode
database: open_food_network_test
database: open_food_network_test<%= ENV['TEST_ENV_NUMBER'] %>
pool: 5
host: localhost
username: ofn

View File

@@ -13,7 +13,8 @@ echo "--- Bundling"
bundle install
echo "--- Loading test database"
bundle exec rake db:test:load
bundle exec rake db:drop db:create db:schema:load
bundle exec rake parallel:drop parallel:create parallel:load_schema
echo "--- Running tests"
bundle exec rspec --tag ~performance spec
bundle exec rake parallel:spec