Skip to content

Commit

Permalink
bob should not respond to to_ary
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Sanghi authored and justinfrench committed Nov 18, 2010
1 parent cd0a1ba commit 3bffd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -135,7 +135,7 @@ def new_author_path; "/authors/new"; end
@fred.stub!(:persisted?).and_return(nil)

@bob = mock('user')
@bob.stub!(:to_ary)
#@bob.stub!(:to_ary)
@bob.stub!(:class).and_return(::Author)
@bob.stub!(:to_label).and_return('Bob Rock')
@bob.stub!(:login).and_return('bob')
Expand Down

0 comments on commit 3bffd3e

Please sign in to comment.