summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-11-07 16:12:33 -0800
committerSerdar Sutay <serdar@opscode.com>2014-11-07 16:12:33 -0800
commitda9aae004db44718ac8eb5027f74d36f7917ebf2 (patch)
tree5254a6df084faf7d43f6757130e5105a2562fd31
parentad06b3700f0aa004e6d5b7752da61810aa043aae (diff)
downloadchef-da9aae004db44718ac8eb5027f74d36f7917ebf2.tar.gz
Rspec 3 compat.
-rw-r--r--spec/unit/knife/bootstrap_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb
index 01752875fc..27731ea9f6 100644
--- a/spec/unit/knife/bootstrap_spec.rb
+++ b/spec/unit/knife/bootstrap_spec.rb
@@ -52,7 +52,7 @@ describe Chef::Knife::Bootstrap do
let(:bootstrap_cli_options) { [ "--bootstrap-template", "my-template", "--distro", "other-template" ] }
it "should select bootstrap template" do
- File.basename(knife.bootstrap_template).should eq("my-template")
+ expect(File.basename(knife.bootstrap_template)).to eq("my-template")
end
end
@@ -60,7 +60,7 @@ describe Chef::Knife::Bootstrap do
let(:bootstrap_cli_options) { [ "--distro", "my-template", "--template-file", "other-template" ] }
it "should select bootstrap template" do
- File.basename(knife.bootstrap_template).should eq("other-template")
+ expect(File.basename(knife.bootstrap_template)).to eq("other-template")
end
end
@@ -68,7 +68,7 @@ describe Chef::Knife::Bootstrap do
let(:bootstrap_cli_options) { [ "--bootstrap-template", "my-template", "--template-file", "other-template" ] }
it "should select bootstrap template" do
- File.basename(knife.bootstrap_template).should eq("my-template")
+ expect(File.basename(knife.bootstrap_template)).to eq("my-template")
end
end