[rspec-users] Autotest and Colors with Rspec

David Chelimsky dchelimsky at gmail.com
Sat Apr 7 12:59:45 UTC 2012


On Apr 6, 2012, at 16:07, seattlelite <ryanachin at gmail.com> wrote:

> Question 1.
> I'm using Ruby 1.9.2, Rails 3.0.7 and I have RSpec and Autotest installed, but Autotest is not running my specs - it's running Unit:Test installed.  How do I get it to run my Rspecs?
> 
> I tried this: 
> 
> (a) http://blog.davidchelimsky.net/2010/03/15/rspec-2-and-autotest/
>   
>     Autotest.add_discovery { "rspec2" } #I also tried "rspec"
> 
> (b) http://ph7spot.com/musings/getting-started-with-autotest
> 
>     running: bundle exec RSPEC=true autotest # get an error saying to run bundle install (so RSPEC=true gem is installed)

https://www.relishapp.com/rspec/rspec-core/v/2-9/docs/autotest

> Question 2.
> Can someone please recommend a Rails gem to use to show the red and green colors so it's easier to see pass/fails?

Type 'rspec --help'. You don't need another gem.

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


More information about the rspec-users mailing list