Skip to content

Commit

Permalink
Check the page between AJAX requests
Browse files Browse the repository at this point in the history
While the test should work without this assertion, the intention of the
test is to check what happens if a user selects and investment and, once
it's selected, clicks the "next" link.
  • Loading branch information
javierm committed Sep 4, 2019
1 parent 36d50ea commit ca2800f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/features/admin/budget_investments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1587,6 +1587,8 @@

within("#budget_investment_#{selected_bi.id}") do
click_link("Selected")

expect(page).to have_link "Select"
end

click_link("Next")
Expand Down

0 comments on commit ca2800f

Please sign in to comment.