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) 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? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120406/8eb6bfec/attachment.html>
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
I added basic information to the README: https://github.com/rspec/rspec-core -- David Chelimsky Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Saturday, April 7, 2012 at 9:59 AM, David Chelimsky wrote:> On Apr 6, 2012, at 16:07, seattlelite <ryanachin at gmail.com (mailto: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 (mailto:rspec-users at rubyforge.org) > > http://rubyforge.org/mailman/listinfo/rspec-users > > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120407/e19b4a13/attachment.html>