diff options
author | nimisha <nimisha.sharad@clogeny.com> | 2016-09-01 18:07:47 +0530 |
---|---|---|
committer | nimisha <nimisha.sharad@clogeny.com> | 2016-09-16 14:02:51 +0530 |
commit | f39bb63e7d09e590ef5036091beb37885d1cc391 (patch) | |
tree | 44f78280a661b536140a73377a73cc1feabcb4bf | |
parent | 11307e427d43172a4131cd56fdc3bd1ab77e115d (diff) | |
download | chef-f39bb63e7d09e590ef5036091beb37885d1cc391.tar.gz |
Fixing travis issues
-rw-r--r-- | spec/unit/provider/log_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/resource/log_spec.rb | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/provider/log_spec.rb b/spec/unit/provider/log_spec.rb index 7d63e1dbd5..36d5ef54d4 100644 --- a/spec/unit/provider/log_spec.rb +++ b/spec/unit/provider/log_spec.rb @@ -74,7 +74,7 @@ describe Chef::Provider::Log::ChefLog do end context "when update_resource_count attribute is passed" do - it 'updates the resource count if update_resource_count=true' do + it "updates the resource count if update_resource_count=true" do new_resource.update_resource_count true expect(new_resource).to receive(:updated_by_last_action) provider.run_action(:write) diff --git a/spec/unit/resource/log_spec.rb b/spec/unit/resource/log_spec.rb index a5c718791e..2e5209e7c0 100644 --- a/spec/unit/resource/log_spec.rb +++ b/spec/unit/resource/log_spec.rb @@ -76,13 +76,13 @@ describe Chef::Resource::Log do expect(@resource.update_resource_count).to eq(true) end - it 'accepts a boolean value for update_resource_count attribute' do + it "accepts a boolean value for update_resource_count attribute" do @resource.update_resource_count false expect(@resource.update_resource_count).to eq(false) end - it 'raises error if a non-boolean value is passed for update_resource_count attribute' do - expect{ @resource.update_resource_count "abc" }.to raise_error(Chef::Exceptions::ValidationFailed) + it "raises error if a non-boolean value is passed for update_resource_count attribute" do + expect { @resource.update_resource_count "abc" }.to raise_error(Chef::Exceptions::ValidationFailed) end end end |