[rspec-users] Integration testing without cucumber

Joseph Wilk joe at josephwilk.net
Mon Mar 1 16:27:39 EST 2010


drewB wrote:
> I need to create some integration tests without cucumber. Can anyone
> point me in the right direction for how to do that in rails?  I tried
> creating specs under 'spec/integration/' but no matchers are being
> included.  I also tried rspec_integration plugin (http://github.com/
> tricycle/rspec-integration) but that only defines a few matchers and
> response.should be_success doesn't work properly.
>
> Any help you can provide would be much appreciated!
>   

You should not need any magic to get rspec working.

In order to run integration specs I've been using a very simple 
spec_helper.rb.

Maybe this can be some help to you;

http://gist.github.com/318821

-- 
Joseph Wilk
http://blog.josephwilk.net
http://www.songkick.com
mob: +44(0)7812816431 


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




More information about the rspec-users mailing list