Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Mar 2, 2014
1 parent 406fc1e commit 413b914
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spec/features/stories_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
end

before(:each) do
Capybara.ignore_hidden_elements = true
sign_in user
end

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 413b914

Please sign in to comment.