Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
gtd committed Jan 23, 2012
1 parent 8086483 commit 8185751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/csv_builder_spec.rb
Expand Up @@ -74,7 +74,7 @@ def massive

it "sets filename" do
get 'complex', :format => 'csv'
response.headers['Content-Disposition'].should match(/filename=some_complex_filename.csv/)
response.headers['Content-Disposition'].should match(/filename="some_complex_filename.csv"/)
end

#TODO: unfortunately, this test only verifies that streaming will behave like single-shot response, because rspec's testresponse doesn't
Expand Down

0 comments on commit 8185751

Please sign in to comment.