summaryrefslogtreecommitdiffstats
path: root/spec/unit/rails_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/rails_spec.rb')
-rwxr-xr-xspec/unit/rails_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/rails_spec.rb b/spec/unit/rails_spec.rb
index dd8d7def4..f9c68ca37 100755
--- a/spec/unit/rails_spec.rb
+++ b/spec/unit/rails_spec.rb
@@ -176,7 +176,7 @@ describe Puppet::Rails, "when initializing a postgresql connection" do
Puppet.settings.stubs(:value).with(:dbpassword).returns("testpassword")
Puppet.settings.stubs(:value).with(:dbname).returns("testname")
Puppet.settings.stubs(:value).with(:dbsocket).returns("")
- Puppet.settings.stubs(:value).with(:dbconnections).returns(1)
+ Puppet.settings.stubs(:value).with(:dbconnections).returns(1)
Puppet::Rails.database_arguments.should == {
:adapter => "postgresql",
@@ -226,7 +226,7 @@ describe Puppet::Rails, "when initializing an Oracle connection" do
Puppet.settings.stubs(:value).with(:dbuser).returns("testuser")
Puppet.settings.stubs(:value).with(:dbpassword).returns("testpassword")
Puppet.settings.stubs(:value).with(:dbname).returns("testname")
- Puppet.settings.stubs(:value).with(:dbconnections).returns(1)
+ Puppet.settings.stubs(:value).with(:dbconnections).returns(1)
Puppet::Rails.database_arguments.should == {
:adapter => "oracle_enhanced",
@@ -252,7 +252,7 @@ describe Puppet::Rails, "when initializing an Oracle connection" do
:username => "testuser",
:password => "testpassword",
:database => "testname",
- :pool => 1
+ :pool => 1
}
end
end