Browse files

fix failing spec

  • Loading branch information...
1 parent 3aea683 commit 70380039fff74c1a7bd337d3a88d1f8881af067b @jonmagic committed Jul 6, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 spec/elasticsearch_spec.rb
View
9 spec/elasticsearch_spec.rb
@@ -15,11 +15,10 @@
subject { ElasticSearch::Error.new }
it "subclasses StandardError" do
- subject.methods.should include("backtrace")
- subject.methods.should include("exception")
- subject.methods.should include("message")
- subject.methods.should include("set_backtrace")
- subject.methods.should include("to_str")
+ subject.methods.should include(:backtrace)
+ subject.methods.should include(:exception)
+ subject.methods.should include(:message)
+ subject.methods.should include(:set_backtrace)
end
end

0 comments on commit 7038003

Please sign in to comment.