Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
fix file path bug introduced in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
WardCunningham committed Dec 12, 2011
1 parent f657bf1 commit 54aa053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def sha(text)

it "should return the local image when it exists" do
FileUtils.mkdir_p File.dirname(local_favicon)
FileUtils.cp "#{ROOT}/spec/favicon.png", local_favicon
FileUtils.cp "#{TestDirs::ROOT}/spec/favicon.png", local_favicon
sha(favicon_response.body).should == sha(File.read(local_favicon))
favicon_response['Content-Type'].should == 'image/png'
end
Expand Down

0 comments on commit 54aa053

Please sign in to comment.