RSpec 2 is a version of the Behaviour-Driven Development tool for Ruby programmers.
After significant troubleshooting, I figured out that I needed to run rake spec once (I can abort with control-c) before …
ruby-on-rails ruby-on-rails-3 rspec rspec2 specjourI have started my journey with TDD in Rails and have run into a small issue regarding tests for model …
ruby-on-rails ruby-on-rails-3 rspec rspec2 rspec-railsI have test-unit installed and rspec installed (along with -core, -expectations, -mocks and -rails version 2.6.x). When I run the …
ruby-on-rails-3 rspec rspec2 testunitI can I check if FeedItem::populate_from_friend_to_user is called inside the user class? it "should auto …
ruby-on-rails rspec2In order to ensure that my application is not vulnerable to this exploit, I am trying to create a controller …
ruby-on-rails json ruby-on-rails-3.2 rspec2 rspec-railsI try to test a class with RSpec2, that has some private methods, which are called from some public methods. …
ruby-on-rails ruby ruby-on-rails-3 rspec rspec2I'd like to test if an email is delivered if I call a controller method with :post. I'll use email_…
ruby-on-rails-3 rspec2In my ApplicationController I have a method defined as a helper method: helper_method :some_method_here How do I …
ruby-on-rails rspec helper rspec2