Merge pull request #9 from brixen/patch-1

Update spec/support/matchers.rb
This commit is contained in:
Sven Fuchs 2012-10-11 15:34:13 -07:00
commit 66531dc803

View File

@ -26,7 +26,7 @@ end
RSpec::Matchers.define :deliver_result_image_for do |name|
match do |response|
actual = files.detect do |(name, content)|
actual = files.detect do |name, content|
response.body.to_s.force_encoding('ascii') == content.to_s.force_encoding('ascii') # TODO ummmmmmmm?
end
actual = actual && actual[0]