Created
January 7, 2009 21:25
-
-
Save cpjolicoeur/44444 to your computer and use it in GitHub Desktop.
This file contains 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
before(:all) do | |
@report = reports(:reports_001) | |
@site = sites(:chatswood) | |
@query_data = @report.query_data( :site_id => @site.dw_site_id, :date1 => 1.week.ago.to_s(:dw) , :date2 => 1.day.ago.to_s(:dw) ) | |
end | |
NoMethodError in 'ExcelExport#full_report_export before(:all)' | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of ActiveRecord::Base. | |
The error occurred while evaluating nil.[] | |
./spec/models/excel_export_spec.rb:9: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment