[rspec-users] Creating an "integration controller" spec

David Chelimsky dchelimsky at gmail.com
Fri May 15 15:21:20 EDT 2009


On Fri, May 15, 2009 at 1:15 PM, Forrest Chang <fkchang2000 at yahoo.com> wrote:
>
> Hi All:
>
> So I have some longer running controller specs that interact with outside API's that I want to move into an integration directory.  In doing so, it seems I don't get the (possibly determined by directory?) magic that creates a ControllerExampleGroup, but rather a RailsExampleGroup.
>
>
> How might I set this up to recognize it as a controller spec?

describe "something", :type => :controller do

Cheers,
David

>
>
> Thanks
>
>
> Forrest
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list