diff options
Diffstat (limited to 'spec/unit/lwrp_spec.rb')
-rw-r--r-- | spec/unit/lwrp_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb index def981801e..b84f611a15 100644 --- a/spec/unit/lwrp_spec.rb +++ b/spec/unit/lwrp_spec.rb @@ -229,9 +229,9 @@ describe "LWRP" do end it "allows to user to user the resource_name" do - expect do + expect { klass.resource_name(:foo) - end.to_not raise_error + }.to_not raise_error end it "returns the set value for the resource" do |