Merge #2659 "Use Rails transactional tests"
This commit is contained in:
commit
943f0afaaf
8 changed files with 4 additions and 39 deletions
|
|
@ -389,7 +389,7 @@ feature 'Version' do
|
|||
click_link 'Comments (0)'
|
||||
fill_in 'comment_body', with: 'Sample comment'
|
||||
click_button 'Add Comment'
|
||||
TransactionalCapybara::AjaxHelpers.wait_for_ajax(page)
|
||||
expect(page).to have_text('Comments (1)')
|
||||
Comment.last.destroy
|
||||
PaperTrail::Version.last.reify.save
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue