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/search/query_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/search/query_spec.rb')
-rw-r--r-- | spec/unit/search/query_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/unit/search/query_spec.rb b/spec/unit/search/query_spec.rb index d54e8b5391..84ac0c661f 100644 --- a/spec/unit/search/query_spec.rb +++ b/spec/unit/search/query_spec.rb @@ -16,8 +16,8 @@ # limitations under the License. # -require 'spec_helper' -require 'chef/search/query' +require "spec_helper" +require "chef/search/query" describe Chef::Search::Query do let(:rest) { double("Chef::ServerAPI") } @@ -29,8 +29,8 @@ describe Chef::Search::Query do let(:args) { { filter_key => filter_hash } } let(:filter_hash) { { - 'env' => [ 'chef_environment' ], - 'ruby_plat' => [ 'languages', 'ruby', 'platform' ], + "env" => [ "chef_environment" ], + "ruby_plat" => [ "languages", "ruby", "platform" ], } } let(:response) { @@ -251,12 +251,12 @@ describe Chef::Search::Query do it "returns start" do start = query.search(:node, "platform:rhel", args)[1] - expect(start).to eq(response['start']) + expect(start).to eq(response["start"]) end it "returns total" do total = query.search(:node, "platform:rhel", args)[2] - expect(total).to eq(response['total']) + expect(total).to eq(response["total"]) end it "returns rows with the filter applied" do |