Skip to content

Commit

Permalink
Fix test checking for tempfile name
Browse files Browse the repository at this point in the history
  • Loading branch information
unixmonkey committed Apr 17, 2011
1 parent fd36c4f commit 5f90b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pdf_helper_test.rb
Expand Up @@ -21,6 +21,6 @@ def teardown
options = @ac.send( :prerender_header_and_footer,
:header => {:html => { :template => 'hf.html.erb'}});
assert !options[:header][:html].has_key?(:template)
assert_match /^file:\/\/.*wicked_pdf.*\.html/, options[:header][:html][:url]
assert_match /^file:\/\/.*wicked_header_pdf.*\.html/, options[:header][:html][:url]
end
end

0 comments on commit 5f90b26

Please sign in to comment.