spec/restfully_spec.rb in restfully-0.5.6 vs spec/restfully_spec.rb in restfully-0.5.7
- old
+ new
@@ -1,7 +1,10 @@
require File.expand_path(File.dirname(__FILE__)+'/spec_helper')
describe Restfully do
+ after do
+ Restfully.adapter = Restfully::HTTP::Adapters::RestClientAdapter
+ end
it "should have a default adapter" do
Restfully.adapter.should == Restfully::HTTP::Adapters::RestClientAdapter
end
it "should allow setting other adapters" do