Skip to content

Commit

Permalink
Fix tests on JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Apr 28, 2012
1 parent 05f29f9 commit 425206b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/multi_json_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
end

it "should use the defined parser just for the call" do
MultiJson.use :yajl
MultiJson.use :json_gem
MultiJson.dump('', :adapter => :json_pure).should eql('dump_something')
MultiJson.load('', :adapter => :json_pure).should eql('load_something')
MultiJson.adapter.to_s.should eql("MultiJson::Adapters::Yajl")
MultiJson.adapter.to_s.should eql("MultiJson::Adapters::JsonGem")
end
end
end
Expand Down

0 comments on commit 425206b

Please sign in to comment.