Permalink
Browse files

Merge pull request #788 from AbuSabah/patch-1

Updates example for be_new_record.
  • Loading branch information...
2 parents 1dee0e1 + 940e0d2 commit c4b3009e8676af10b0eb8226e7027f5a1f16780d @alindeman alindeman committed Jul 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/rails/matchers/be_new_record.rb
@@ -20,7 +20,7 @@ def failure_message_for_should_not
# @example
#
# get :new
- # expect(assigns).to(:thing) be_new_record
+ # expect(assigns(:thing)).to be_new_record
def be_new_record
BeANewRecord.new
end

0 comments on commit c4b3009

Please sign in to comment.