mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge branch 'master' into combined/bulk-product-edit-and-ng-cloak
This commit is contained in:
3
.rspec_parallel
Normal file
3
.rspec_parallel
Normal file
@@ -0,0 +1,3 @@
|
||||
--format progress
|
||||
--format ParallelTests::RSpec::SummaryLogger --out tmp/spec_summary.log
|
||||
--tag ~performance
|
||||
1
Gemfile
1
Gemfile
@@ -112,4 +112,5 @@ group :development do
|
||||
gem 'guard-rails'
|
||||
gem 'guard-zeus'
|
||||
gem 'guard-rspec'
|
||||
gem 'parallel_tests'
|
||||
end
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user