Exclude unstable specs on travis

footer-fixes
Marcin Kulik 10 years ago
parent 408042ca29
commit 411540d690

@ -7,7 +7,7 @@ before_script:
- psql -c 'create database myapp_test;' -U postgres
- "cp config/database.travis.yml config/database.yml"
- phantomjs --version
script: ./script/cibuild.sh
script: RSPEC_EXCLUDE_UNSTABLE=1 ./script/cibuild.sh
rvm:
- 2.1.0
- rbx

@ -13,7 +13,7 @@ feature "User's profile" do
expect(page).to have_selector('.asciicast-list .play-button')
end
scenario 'Updating profile', js: true do
scenario 'Updating profile', js: true, unstable: true do
login_as user
within 'header' do

@ -24,6 +24,7 @@ RSpec.configure do |config|
# get run.
config.filter_run :focus
config.run_all_when_everything_filtered = true
config.filter_run_excluding :unstable if ENV['RSPEC_EXCLUDE_UNSTABLE']
# Many RSpec users commonly either run the entire suite or an individual
# file, and it's useful to allow more verbose output when running an

Loading…
Cancel
Save