diff options
author | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-01-14 14:08:03 +0000 |
commit | 51cfbdc4d16739caac4d946fadbe678444aafe34 (patch) | |
tree | 56dfd8f1cd9fd933de27268b32402e955a43ac2b /spec/unit/application_spec.rb | |
parent | 05064423057d4cf46f4713b81b08829cf6d20af6 (diff) | |
download | chef-51cfbdc4d16739caac4d946fadbe678444aafe34.tar.gz |
Use double quotes by default
This is an entirely mechanically generated (chefstyle -a) change, to go
along with chef/chefstyle#5 . We should pick something and use it
consistently, and my opinion is that double quotes are the appropriate
thing.
Diffstat (limited to 'spec/unit/application_spec.rb')
-rw-r--r-- | spec/unit/application_spec.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/unit/application_spec.rb b/spec/unit/application_spec.rb index 20b7e3a506..6a78e5c827 100644 --- a/spec/unit/application_spec.rb +++ b/spec/unit/application_spec.rb @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require 'spec_helper' +require "spec_helper" describe Chef::Application do before do @@ -51,7 +51,7 @@ describe Chef::Application do @app.reconfigure end - it 'should not receive set_specific_recipes' do + it "should not receive set_specific_recipes" do expect(@app).to_not receive(:set_specific_recipes) @app.reconfigure end @@ -298,18 +298,18 @@ describe Chef::Application do end end - describe 'run_chef_client' do - context 'with an application' do + describe "run_chef_client" do + context "with an application" do let(:app) { Chef::Application.new } - context 'when called with an invalid argument' do + context "when called with an invalid argument" do before do allow(app).to receive(:fork_chef_client).and_return(true) allow(app).to receive(:run_with_graceful_exit_option).and_return(true) end - it 'should raise an argument error detailing the problem' do - specific_recipes_regexp = Regexp.new 'received non-Array like specific_recipes argument' + it "should raise an argument error detailing the problem" do + specific_recipes_regexp = Regexp.new "received non-Array like specific_recipes argument" expect { app.run_chef_client(nil) }.to raise_error(ArgumentError, specific_recipes_regexp) end end @@ -320,7 +320,7 @@ describe Chef::Application do allow(app).to receive(:run_with_graceful_exit_option).and_return(true) end - it 'should be cool' do + it "should be cool" do expect { app.run_chef_client([]) }.not_to raise_error end end |