Merge pull request #1 from finnlabs/feature/fix_specs
Make specs run (some are not implemented)pull/6827/head
commit
88c6912b41
@ -1,9 +1,8 @@ |
||||
require 'spec_helper' |
||||
require 'xls_report/spreadsheet_builder' |
||||
|
||||
describe "SpreadsheetBuilder" do |
||||
before(:each) do |
||||
@spreadsheet = SpreadsheetBuilder.new |
||||
@spreadsheet = OpenProject::XlsExport::SpreadsheetBuilder.new |
||||
@sheet = @spreadsheet.send(:raw_sheet) |
||||
end |
||||
|
@ -1,22 +1,22 @@ |
||||
require 'spec_helper' |
||||
require 'xls_report/issues_controller_patch' |
||||
|
||||
describe CostReportsController, "rendering to xls" do |
||||
|
||||
describe 'CostReportsController', "rendering to xls" do |
||||
pending 'XlsExport: CostReports support not yet migrated to Rails 3' |
||||
|
||||
it "should respond with the xls if requested in the index" do |
||||
pending |
||||
render :action => :index |
||||
response.should be_redirect |
||||
end |
||||
|
||||
|
||||
it "should not respond with the xls if requested in a detail view" do |
||||
pending |
||||
render :action => :show |
||||
response.should be_redirect |
||||
end |
||||
|
||||
|
||||
it "should generate xls from issues" do |
||||
pending |
||||
end |
||||
|
||||
end |
||||
|
||||
end |
||||
|
@ -1,5 +0,0 @@ |
||||
# Load the normal Rails helper |
||||
require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') |
||||
|
||||
# Ensure that we are using the temporary fixture path |
||||
Engines::Testing.set_fixture_path |
Loading…
Reference in new issue