[rspec-users] How do I setup Rspec, Cucumber to test a Gem?

Walther Diechmann lists at ruby-forum.com
Tue Jul 20 08:57:34 EDT 2010

Ben Mabey wrote:
> I like using jeweler to create the structure of my gems.  It is like
> Rail's generators but for gems.  Try it out:
> gem install jeweler
> jeweler my_gem --rspec --cucumber
> HTH,
> Ben

not really - but thanks for offering help <:)

I followed the Rspec Book, railscast's on the subject and used echoe and 
jeweller and had myself a genuine push'able Gem -

but as my question was: how for Pete's sake am I going to be able to 
test Rails Controllers and Rails Models?

(even tried reading the rspec-rails gem as suggested by matt wynne - and 
implementing parts from that. I partly see where dchelimsky is going, 
but it's just to complex to me, alas)

- anyways, I'm on my 4th day on this gem-quest - and about to fold and 
walk away with the knowledge that testing is just a tad out of my league 

But - thanks a bunch for trying to steer me afloat :)

Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list