diff options
Diffstat (limited to 'spec/ruby/library/rexml/attribute/remove_spec.rb')
-rw-r--r-- | spec/ruby/library/rexml/attribute/remove_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/rexml/attribute/remove_spec.rb b/spec/ruby/library/rexml/attribute/remove_spec.rb index b97b860a5f..08d22cb6ba 100644 --- a/spec/ruby/library/rexml/attribute/remove_spec.rb +++ b/spec/ruby/library/rexml/attribute/remove_spec.rb @@ -15,6 +15,6 @@ describe "REXML::Attribute#remove" do end it "does not anything if element has no parent" do - lambda {@attr.remove}.should_not raise_error(Exception) + -> {@attr.remove}.should_not raise_error(Exception) end end |