diff options
Diffstat (limited to 'spec/unit/dsl/regsitry_helper_spec.rb')
-rw-r--r-- | spec/unit/dsl/regsitry_helper_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/unit/dsl/regsitry_helper_spec.rb b/spec/unit/dsl/regsitry_helper_spec.rb index 7fe08e310f..6508a12b6f 100644 --- a/spec/unit/dsl/regsitry_helper_spec.rb +++ b/spec/unit/dsl/regsitry_helper_spec.rb @@ -33,22 +33,22 @@ describe Chef::Resource::RegistryKey do context "tests registry dsl" do it "resource can access registry_helper method registry_key_exists" do - @resource.respond_to?('registry_key_exists?').should == true + expect(@resource.respond_to?('registry_key_exists?')).to eq(true) end it "resource can access registry_helper method registry_get_values" do - @resource.respond_to?('registry_get_values').should == true + expect(@resource.respond_to?('registry_get_values')).to eq(true) end it "resource can access registry_helper method registry_has_subkey" do - @resource.respond_to?('registry_has_subkeys?').should == true + expect(@resource.respond_to?('registry_has_subkeys?')).to eq(true) end it "resource can access registry_helper method registry_get_subkeys" do - @resource.respond_to?('registry_get_subkeys').should == true + expect(@resource.respond_to?('registry_get_subkeys')).to eq(true) end it "resource can access registry_helper method registry_value_exists" do - @resource.respond_to?('registry_value_exists?').should == true + expect(@resource.respond_to?('registry_value_exists?')).to eq(true) end it "resource can access registry_helper method data_value_exists" do - @resource.respond_to?('registry_data_exists?').should == true + expect(@resource.respond_to?('registry_data_exists?')).to eq(true) end end end |