Skip to content

Commit

Permalink
words
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Feb 1, 2010
1 parent a23000e commit 0e84dfb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Upgrade.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Upgrade to rspec-2.0

## What's new

### New `eq` matcher.

`Rspec::Matchers` now offers you two approaches to differentiating between
object identity. You can use the rspec-1 approach:

actual.should == expected # object equality
actual.should equal(expected) # object identity

... or, if you prefer:

actual.should eq(expected) # object equality
actual.should be(expected) # object identity

## What's been removed

### simple_matcher
Expand Down

0 comments on commit 0e84dfb

Please sign in to comment.