Permalink
Browse files

Changelog and a couple of more peaceful words in spec

  • Loading branch information...
1 parent a7b702d commit 9e3eeac048710c8cc66ba47a92bbbd198c40b5fe @dchelimsky dchelimsky committed Mar 21, 2011
Showing with 3 additions and 2 deletions.
  1. +1 −0 features/Changelog.md
  2. +2 −2 spec/rspec/matchers/description_generation_spec.rb
@@ -4,6 +4,7 @@
* Enhancments
* `change` matcher accepts Regexps (Robert Davis)
+ * better descriptions for have_xxx matchers (Magnus Bergmark)
* Bug fixes
* Removed non-ascii characters that were choking rcov (Geoffrey Byers)
@@ -88,8 +88,8 @@ def object.has_eyes_closed?; true; end
object = Object.new
def object.has_taste_for?(*args); true; end
- object.should have_taste_for("blood", "victory")
- RSpec::Matchers.generated_description.should == 'should have taste for "blood", "victory"'
+ object.should have_taste_for("wine", "cheese")
+ RSpec::Matchers.generated_description.should == 'should have taste for "wine", "cheese"'
end
it "should have n items" do

0 comments on commit 9e3eeac

Please sign in to comment.