Permalink
Browse files

Clean up a bit. [#204][#219]

  • Loading branch information...
1 parent 406fc1e commit 413b914c8aad38fba17ab195cfeaf9d9d84a51e2 @marnen committed Mar 2, 2014
Showing with 4 additions and 5 deletions.
  1. +4 −5 spec/features/stories_spec.rb
@@ -12,7 +12,6 @@
end
before(:each) do
- Capybara.ignore_hidden_elements = true
sign_in user
end
@@ -58,14 +57,12 @@
end
it 'shows the story ID in the hover balloon' do
- within(story_div) do
- find('.popover-activate').hover
- end
+ find(story_div).find('.popover-activate').hover
page.should have_selector('.popover .content', text: "ID: #{story.id}")
end
end
- context 'unsaved story' do
+ context 'unsaved story', js: true do
it 'does not show the story id in the expanded tile' do
visit project_path project
click_on 'Add story'
@@ -94,6 +91,8 @@
describe "show and hide columns" do
it "hides and shows the columns", :js => true do
+ Capybara.ignore_hidden_elements = true
+
visit project_path(project)
columns = {

0 comments on commit 413b914

Please sign in to comment.