summaryrefslogtreecommitdiff
path: root/spec/unit/run_list_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-09 08:17:32 -0800
commit37e02399a6e1dd281808a556f1420f8cf6e846fd (patch)
tree86834a5371fccfc474004233e45ab00dd7355574 /spec/unit/run_list_spec.rb
parentf073747786abbe6ada55ed24b696a03e39c3c45d (diff)
downloadchef-37e02399a6e1dd281808a556f1420f8cf6e846fd.tar.gz
autofixing auto-inserted delimiterslcg/chefstyle-batch
Diffstat (limited to 'spec/unit/run_list_spec.rb')
-rw-r--r--spec/unit/run_list_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/run_list_spec.rb b/spec/unit/run_list_spec.rb
index cf32d0a6be..0dcd349ced 100644
--- a/spec/unit/run_list_spec.rb
+++ b/spec/unit/run_list_spec.rb
@@ -95,7 +95,7 @@ describe Chef::RunList do
it "should believe a RunList is equal to an array named after it's members" do
@run_list << "foo"
@run_list << "baz"
- expect(@run_list).to eq(%w(foo baz))
+ expect(@run_list).to eq(%w{foo baz})
end
end
@@ -199,7 +199,7 @@ describe Chef::RunList do
it "should load the role from the chef server" do
#@rest.should_receive(:get).with("roles/stubby")
expansion = @run_list.expand("_default", "server")
- expect(expansion.recipes).to eq(%w(one two kitty))
+ expect(expansion.recipes).to eq(%w{one two kitty})
end
it "should default to expanding from the server" do