Hi - I'm reading the RSpec book.

I see an example like:

  customer = double('customer')


What is the customer that is in the argument for?
How is this different from:

  customer = double()

? Can anybody explain to me?

- Jon
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to