summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-05-02 22:45:46 -0600
committermo khan <mo@mokhan.ca>2015-05-02 22:45:46 -0600
commit60d5f4bdeb4b44c7b01dca7bfaf2c76bace17b95 (patch)
treeae681e9c0241550e1f237702cb11c29ca1819fb0 /spec
parent065372b3a59cac7b3cac294ac47cc9db90709ac7 (diff)
fix up the nginx recipe.
Diffstat (limited to 'spec')
-rw-r--r--spec/delayed_job_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/delayed_job_spec.rb b/spec/delayed_job_spec.rb
index 471d33f..85d9a67 100644
--- a/spec/delayed_job_spec.rb
+++ b/spec/delayed_job_spec.rb
@@ -1,15 +1,16 @@
describe "mokhan-myface::delayed_job" do
subject do
ChefSpec::SoloRunner.new do |node|
- node.set['delayed_job'] = configuration
+ node.set['delayed_job'] = configuration#.merge(node['delayed_job'])
end.converge(described_recipe)
end
let(:username) { FFaker::Internet.user_name }
let(:configuration) do
{
- 'username' => username,
- 'current_path' => '/tmp'
+ username: username,
+ current_path: '/tmp',
+ rails_env: :production,
}
end
@@ -18,7 +19,6 @@ describe "mokhan-myface::delayed_job" do
.with_owner(username)
.with_group(username)
.with_mode("0744")
- .with_variables(configuration)
end
context "when the application has been deployed" do