Skip to content

Commit

Permalink
Upgrade.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed May 16, 2010
1 parent c6e5098 commit e71fe60
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Upgrade.markdown
@@ -0,0 +1,12 @@
# Upgrade to rspec-rails-2

## What's changed

### View specs

Rails changed the way it renders partials, so to set an expectation that a partial
gets rendered:

view.should_receive(:_render_partial).
with(hash_including(:partial => "widget/row"))

0 comments on commit e71fe60

Please sign in to comment.