diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-18 10:06:45 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-07-18 10:06:45 -0700 |
commit | c7d91cc2425e0060b33cfdb2d1b5fad3f9d4a5da (patch) | |
tree | 7ed83c4ba2b482b5a75da8d3c0512a6532ad1c0b | |
parent | 26c7444dee2fac576e0ada00213f15ed3c19690c (diff) | |
download | chef-c7d91cc2425e0060b33cfdb2d1b5fad3f9d4a5da.tar.gz |
fix this right so it doesn't break in chef-13 too
-rw-r--r-- | spec/unit/knife/core/bootstrap_context_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/core/bootstrap_context_spec.rb b/spec/unit/knife/core/bootstrap_context_spec.rb index b082a0ef60..d78b48cad3 100644 --- a/spec/unit/knife/core/bootstrap_context_spec.rb +++ b/spec/unit/knife/core/bootstrap_context_spec.rb @@ -194,7 +194,7 @@ EXPECTED describe "when a bootstrap_version is not specified" do it "should send the latest current to the installer" do # Intentionally hard coded in order not to replicate the logic. - bootstrap_context.latest_current_chef_version_string.should eq("-v 12") + bootstrap_context.latest_current_chef_version_string.should eq("-v #{Chef::VERSION.to_i}") end end end |