diff options
author | Luke Kanies <luke@madstop.com> | 2009-04-14 17:53:49 -0500 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-04-22 14:39:39 +1000 |
commit | 5cb0f76f3ccb0b179de5f2735749ff91ae7346cc (patch) | |
tree | f3f2bb61fea47881c4dfaa7398168a5dc015e338 | |
parent | bdbf9db5f0c0d30e554f274591b24692b866ca29 (diff) | |
download | puppet-5cb0f76f3ccb0b179de5f2735749ff91ae7346cc.tar.gz puppet-5cb0f76f3ccb0b179de5f2735749ff91ae7346cc.tar.xz puppet-5cb0f76f3ccb0b179de5f2735749ff91ae7346cc.zip |
Fixing some rails tests that sometimes failed
At least, I think they're fixed; it's hard to test.
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-x | spec/unit/rails.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/rails.rb b/spec/unit/rails.rb index 48e0ab321..ab862a719 100755 --- a/spec/unit/rails.rb +++ b/spec/unit/rails.rb @@ -13,6 +13,7 @@ describe Puppet::Rails, "when initializing any connection" do Logger.stubs(:new).returns(@logger) ActiveRecord::Base.stubs(:logger).returns(@logger) + ActiveRecord::Base.stubs(:connected?).returns(false) end it "should use settings" do |