Skip to content

Commit

Permalink
check if the pending-on-travis tests are running on travis; if not, r…
Browse files Browse the repository at this point in the history
…un them.
  • Loading branch information
cbeer committed Mar 1, 2014
1 parent 5349495 commit 35172e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/search_filters_spec.rb
Expand Up @@ -167,14 +167,14 @@
end
end
it "should be collapsed when not selected", :js => true do
pending("Test passes locally but not on Travis.")
pending("Test passes locally but not on Travis.") if ENV['TRAVIS']
visit root_path
within(".blacklight-subject_topic_facet") do
expect(page).not_to have_selector(".panel-collapse", :visible => true)
end
end
it "should expand when the heading is clicked", :js => true do
pending("Test passes locally but not on Travis.")
pending("Test passes locally but not on Travis.") if ENV['TRAVIS']
visit root_path
within(".blacklight-subject_topic_facet") do
expect(page).not_to have_selector(".panel-collapse", :visible => true)
Expand All @@ -183,7 +183,7 @@
end
end
it "should expand when the anchor is clicked", :js => true do
pending("Test passes locally but not on Travis.")
pending("Test passes locally but not on Travis.") if ENV['TRAVIS']
visit root_path
within(".blacklight-subject_topic_facet") do
expect(page).not_to have_selector(".panel-collapse", :visible => true)
Expand All @@ -192,7 +192,7 @@
end
end
it "should keep selected facets expanded on page load", :js => true do
pending("Test passes locally but not on Travis.")
pending("Test passes locally but not on Travis.") if ENV['TRAVIS']
visit root_path
within(".blacklight-subject_topic_facet") do
click_link "Topic"
Expand Down

0 comments on commit 35172e8

Please sign in to comment.