diff options
Diffstat (limited to 'spec/unit/knife/role_run_list_set_spec.rb')
-rw-r--r-- | spec/unit/knife/role_run_list_set_spec.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/spec/unit/knife/role_run_list_set_spec.rb b/spec/unit/knife/role_run_list_set_spec.rb index 5207f631d4..ad088e5d0f 100644 --- a/spec/unit/knife/role_run_list_set_spec.rb +++ b/spec/unit/knife/role_run_list_set_spec.rb @@ -21,7 +21,7 @@ require "spec_helper" describe Chef::Knife::RoleRunListSet do before(:each) do - Chef::Config[:role_name] = "will" + Chef::Config[:role_name] = "will" @setup = Chef::Knife::RoleRunListAdd.new @setup.name_args = [ "will", "role[monkey]", "role[person]", "role[bucket]" ] @@ -41,11 +41,8 @@ describe Chef::Knife::RoleRunListSet do end - - describe "run" do - # it "should display all the things" do # @knife.run # @role.to_json.should == 'show all the things' @@ -59,8 +56,8 @@ describe Chef::Knife::RoleRunListSet do it "should replace all the items in the runlist with what is specified" do @setup.run @knife.run - expect(@role.run_list[0]).to eq("role[owen]") - expect(@role.run_list[1]).to eq("role[mauntel]") + expect(@role.run_list[0]).to eq("role[owen]") + expect(@role.run_list[1]).to eq("role[mauntel]") expect(@role.run_list[2]).to be_nil end |