Skip to content

Commit

Permalink
fix tests for new web reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Mayer committed Dec 29, 2018
1 parent 859ef5f commit 2854bcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/unit/rails_full_stack_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def teardown
assert_content('I am no dummy')
sleep 0.2
visit '/coverage'
click_link "view coverage report"
within page.find('a', text: /dummy_controller.rb/).find(:xpath, "../..") do
assert_selector('td', text: '100.0 %')
end
Expand Down
2 changes: 1 addition & 1 deletion test/unit/reports_web_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def teardown
test 'renders index content' do
get '/'
assert last_response.ok?
assert_match 'Coverband Web Admin Index', last_response.body
assert_match 'Coverband Admin', last_response.body
end

test 'renders show content' do
Expand Down

0 comments on commit 2854bcc

Please sign in to comment.