lib/spec/rails/matchers/ar_be_valid.rb in dchelimsky-rspec-rails-1.1.12 vs lib/spec/rails/matchers/ar_be_valid.rb in dchelimsky-rspec-rails-1.1.99.1
- old
+ new
@@ -25,9 +25,12 @@
def negative_failure_message
@matcher.negative_failure_message
end
+ def description
+ "be valid"
+ end
end
# :call-seq:
# response.should be_valid
# response.should_not be_valid