Skip to content

Commit

Permalink
Move randomly failing spec to capybara webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
basiszwo committed Aug 21, 2015
1 parent 32fad69 commit 17b0461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/work_packages/activity_comments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
require_relative 'support/shared_contexts'
require_relative 'support/shared_examples'

RSpec.describe 'activity comments', js: true, selenium: true do
RSpec.describe 'activity comments', js: true do
let(:project) { FactoryGirl.create :project_with_types, is_public: true }
let!(:work_package) { FactoryGirl.create(:work_package, project: project) }
let(:user) { FactoryGirl.create :admin }
Expand All @@ -54,7 +54,7 @@

visit root_path

page.driver.browser.switch_to.alert.accept
page.driver.accept_js_confirms!

expect(current_path).to eq(root_path)
end
Expand Down

0 comments on commit 17b0461

Please sign in to comment.