spec/omniauth_spec.rb in omniauth-1.0.3 vs spec/omniauth_spec.rb in omniauth-1.1.0

- old
+ new

@@ -74,9 +74,16 @@ end end end end + describe '.logger' do + it 'should call through to the configured logger' do + OmniAuth.stub(:config => mock(:logger => "foo")) + OmniAuth.logger.should == "foo" + end + end + describe '::Utils' do describe '.deep_merge' do it 'should combine hashes' do OmniAuth::Utils.deep_merge({'abc' => {'def' => 123}}, {'abc' => {'foo' => 'bar'}}).should == { 'abc' => {'def' => 123, 'foo' => 'bar'}