Created
November 28, 2012 11:14
-
-
Save pimeys/4160557 to your computer and use it in GitHub Desktop.
Failing invoice test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it "should output a valid csv with collected invoices included", :js => true do | |
select 'new', :from => 'search_status_eq' | |
click_button 'Apply filter' | |
page.click_link 'Export Invoices' | |
page.text.should eql(<<-CSV) | |
Advertiser;Month;Invoice #;Amount;Difference;Status;Date sent;Collected | |
Name 0;September 2012;INVOICE0;-;-;new;;false | |
CSV | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment