Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed May 4, 2017
1 parent 4e8c6c7 commit 1ebf2d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@ class HelpTest < Tableless
find('#field_test_nested_field_tests_attributes_1__destroy', visible: false).set('true')

click_button 'Save'
p page.body unless page.has_content?('Field test successfully updated')
is_expected.to have_content('Field test successfully updated')

@record.reload
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def password_digest(password)

require 'capybara/poltergeist'
Capybara.javascript_driver = :poltergeist
Capybara.default_max_wait_time = 5

RSpec.configure do |config|
config.expect_with :rspec do |c|
Expand Down

0 comments on commit 1ebf2d6

Please sign in to comment.