try fixing rbx

This commit is contained in:
Sven Fuchs 2012-10-11 21:06:28 +02:00
parent 02f5eea4fc
commit 7b28ce05cb
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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]