try fixing rbx
This commit is contained in:
parent
02f5eea4fc
commit
7b28ce05cb
|
@ -1,6 +1,7 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 1.9.3
|
||||
- rbx-19mode
|
||||
before_script:
|
||||
- 'RAILS_ENV=test rake db:create db:schema:load --trace'
|
||||
notifications:
|
||||
|
|
|
@ -27,7 +27,7 @@ end
|
|||
RSpec::Matchers.define :deliver_result_image_for do |name|
|
||||
match do |response|
|
||||
actual = files.detect do |(name, content)|
|
||||
response.body.force_encoding('ascii') == content.force_encoding('ascii') # TODO ummmmmmmm?
|
||||
response.body.to_s.force_encoding('ascii') == content.to_s.force_encoding('ascii') # TODO ummmmmmmm?
|
||||
end
|
||||
actual = actual && actual[0]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user