diff options
Diffstat (limited to 'spec/unit/rails.rb')
-rwxr-xr-x | spec/unit/rails.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/rails.rb b/spec/unit/rails.rb index bb2f991ca..4a4667543 100755 --- a/spec/unit/rails.rb +++ b/spec/unit/rails.rb @@ -7,7 +7,7 @@ describe Puppet::Rails, "when initializing any connection" do confine Puppet.features.rails? => "Cannot test without ActiveRecord" before do - @logger = mock 'logger' + @logger = stub 'logger', :level= => nil @logger.stub_everything Logger.stubs(:new).returns(@logger) |