tests print button present
This commit is contained in:
@@ -109,12 +109,7 @@ feature 'Proposals' do
|
||||
click_link "Print proposals"
|
||||
|
||||
expect(page).to have_css('.proposal', count: 5)
|
||||
find("#print_link").click
|
||||
|
||||
### CHANGE ME
|
||||
# should probably test something else here
|
||||
# maybe that we are loading a print.css stylesheet?
|
||||
###
|
||||
expect(page).to have_css("a[href='javascript:window.print();']", text: 'Print')
|
||||
end
|
||||
|
||||
scenario "Filtering proposals to be printed", :js do
|
||||
|
||||
Reference in New Issue
Block a user