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