Permalink
Browse files

Fix tests for jruby.

  • Loading branch information...
1 parent 639acf8 commit eac5ed0a630e031c28eca88a4e8d7b43c453a748 @patriciomacadden patriciomacadden committed Apr 5, 2013
Showing with 6 additions and 4 deletions.
  1. +6 −4 spec/respond_with_spec.rb
View
@@ -229,10 +229,12 @@ def object.to_pdf; "hi" end
body.should == "hi"
end
- it 'uses yajl for json' do
- respond_with :baz
- req(:json).should be_ok
- body.should == "\"yajl!\""
+ unless defined? JRUBY_VERSION
+ it 'uses yajl for json' do
+ respond_with :baz
+ req(:json).should be_ok
+ body.should == "\"yajl!\""
+ end
end
end

0 comments on commit eac5ed0

Please sign in to comment.