tests print button present

This commit is contained in:
rgarcia
2015-10-20 14:50:26 +02:00
parent 8acd119b19
commit 786986053b

View File

@@ -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