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 l
You might not be understanding the usage of mock very well.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Thanks Scott.
I don't get what happens if I add --drb
to spec/spec.opts
files.
Can anybody explain to me, please?
On Thu, Jun 4, 2009 at 3:24 PM, Scott Taylor wrote:
> Hunt Jon wrote:
>>
>> What's the difference between spec:server and autospec?
>>
>>
>
What's the difference between spec:server and autospec?
I understand spec:server is only for a Rails project while autospec
can work with any projects.
I read
http://wiki.github.com/dchelimsky/rspec/spec_server-autospec-nearly-pure-bdd-joy
but couldn't understand it.
I leave autotest/autospec r
I need to spec the following lines:
helper :all # include all helpers, all the time
protect_from_forgery # See
ActionController::RequestForgeryProtection for detail
Can anybody give me a hint?
I create "application_controller_spec.rb" and now what?
Jon
__
Announcement for new group for Vim users.
http://groups.google.com/group/vim-on-rails?hl=en
Sharing vim usage for Ruby on Rails development. Includes any platform
(Windows, Linux and Mac). Discuss anything related to Ruby and Ruby on
Rails development. (migration from TextMate, HAML/SASS, RSpec,
Also make sure what the file "~/.MacOSX/environment.plist" says or if
you set up the file correctly.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
http://wiki.macromates.com/Troubleshooting/RubyVersionIssue
Hope this helps.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users