spec/configuration_spec.rb in shutl_resource-0.10.6 vs spec/configuration_spec.rb in shutl_resource-0.11.0
- old
+ new
@@ -1,20 +1,8 @@
require 'spec_helper'
describe Shutl::Resource do
describe '#configure' do
- let(:logger) { Shutl::Resource.logger }
-
- it 'should configure the logger' do
- logger = stub('logger')
-
- Shutl::Resource.configure do |config|
- config.logger = logger
- end
-
- Shutl::Resource.logger.should == logger
- end
-
it "allows for configuration of the base uri" do
Shutl::Resource.configure do |config|
config.base_uri = 'base uri'
end