My team is working on a plugin and we want to use RSpec internally for the
plugin's tests.
(a) What are some different ways to go about this? Should we rely on the
RSpec gem? Should we expect that the "host" Rails application has installed
the RSpec plugins? Are there other options?
(b) Which
On 9/15/07, David James <[EMAIL PROTECTED]> wrote:
> My team is working on a plugin and we want to use RSpec internally for the
> plugin's tests.
>
> (a) What are some different ways to go about this? Should we rely on the
> RSpec gem? Should we expect that the "host" Rails application has instal
Thanks!
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I've seen reference to an 'add' method, as in Model.add. When and why would
I want to use it? Is it related to Model.collection.build?
Thanks,
David
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-user
I'm currently try to push my limits a little bit with some of my unit
testing -- trying to avoid saving ActiveRecord objects to the database and
take advantage of mock/stub objects.
How far should I expect to get in this direction? From what I can tell,
ActiveRecord seems to fight me when it come
On 9/15/07, David James <[EMAIL PROTECTED]> wrote:
> I'm currently try to push my limits a little bit with some of my unit
> testing -- trying to avoid saving ActiveRecord objects to the database and
> take advantage of mock/stub objects.
>
> How far should I expect to get in this direction? From