Permalink
Browse files

Add missing let in README

  • Loading branch information...
1 parent 38500b0 commit 4bfdedb1b7ecaf42b8baa272570b0e668b917015 @exviva committed Jun 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -100,7 +100,8 @@ Here are a couple of specs, which expose the expected behaviour of this gem. The
describe User do
describe 'avatar' do
- let(:user) { User.create!(avatar: File.new('spec/fixtures/hey_mom_its_me.png')) }
+ let(:avatar_file) { File.new('spec/fixtures/hey_mom_its_me.png') }
+ let(:user) { User.create!(avatar: avatar_file) }
subject { user.avatar }
it { should exist }

0 comments on commit 4bfdedb

Please sign in to comment.