summaryrefslogtreecommitdiffstats
path: root/spec/unit
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-04-24 17:42:27 -0500
committerLuke Kanies <luke@madstop.com>2009-04-24 17:42:27 -0500
commit93c3892e729de48da78fed309c7107ce3e191254 (patch)
tree0f937756b9a3b4077236f229194e2c889826f023 /spec/unit
parent6f8900d2931acfb96b810904572aecc675d28168 (diff)
downloadpuppet-93c3892e729de48da78fed309c7107ce3e191254.tar.gz
puppet-93c3892e729de48da78fed309c7107ce3e191254.tar.xz
puppet-93c3892e729de48da78fed309c7107ce3e191254.zip
Removing deprecated concurrency setting usage in rails
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit')
-rwxr-xr-xspec/unit/rails.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/unit/rails.rb b/spec/unit/rails.rb
index ab862a719..df3f149da 100755
--- a/spec/unit/rails.rb
+++ b/spec/unit/rails.rb
@@ -39,7 +39,6 @@ describe Puppet::Rails, "when initializing any connection" do
ActiveRecord::Base.stubs(:logger).returns(logger)
logger.expects(:level=).with(Logger::DEBUG)
- ActiveRecord::Base.stubs(:allow_concurrency=)
ActiveRecord::Base.stubs(:verify_active_connections!)
ActiveRecord::Base.stubs(:establish_connection)
Puppet::Rails.stubs(:database_arguments)
@@ -47,12 +46,6 @@ describe Puppet::Rails, "when initializing any connection" do
Puppet::Rails.connect
end
- it "should set ActiveRecord::Base.allow_concurrency" do
- ActiveRecord::Base.expects(:allow_concurrency=).with(true)
-
- Puppet::Rails.connect
- end
-
it "should call ActiveRecord::Base.verify_active_connections!" do
ActiveRecord::Base.expects(:verify_active_connections!)