diff options
Diffstat (limited to 'spec/unit/knife/role_create_spec.rb')
-rw-r--r-- | spec/unit/knife/role_create_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/role_create_spec.rb b/spec/unit/knife/role_create_spec.rb index d414e5a18d..3d06a871e2 100644 --- a/spec/unit/knife/role_create_spec.rb +++ b/spec/unit/knife/role_create_spec.rb @@ -52,7 +52,7 @@ describe Chef::Knife::RoleCreate do end it "should allow you to edit the data" do - expect(@knife).to receive(:edit_data).with(@role) + expect(@knife).to receive(:edit_data).with(@role, object_class: Chef::Role) @knife.run end |