I started deploying my latest RoR app on Heroku, which required me to start using PostgreSQL -- I\'d previously been using SQLite and MySQL.I wanted a dead-simple way to continually do red/green testi
I\'m using both rspec and cucumber.Cucumber of integration level tests, but rspec for unit tests. I\'m using vcr for cucumber already, but want to use it for rspec, too.Where\'s the right place to pu
Using Capybara with Rails 3, Rspec and Cucumber, When I use the select statement, such as select(\"Unspecified\", :from=> \'record_family_\')
I have a naked rails 3 app with one model, generated using rails g model User. I\'ve added a factory (using factory_girl_rails):
Before moving over to ruby 1.9.2 and cover_me I was using rcov. We don\'t tend to unit test controllers, relying instead on cucumb开发者_如何学JAVAer coverage. With rcov it was possible to aggregate t
I\'m working my way through the Rails Tutorial book by Hartl and I\'m completely stuck on one of the tests. The test (right from the book) is very simple:
I am doing acceptance testing with Steak on a Ruby on Rails application. Imagine I w开发者_JS百科ant to test the functionality of a form.
From Rails 3 / Rspec 2, I\'m attempting to leverage the render_views feature of controller specs.The issue I\'ve come across is that we\'ve just installed the kaminari pager gem, and I want to stub ou
I am a newbie to Rails 3 and Rspec. Kindly excuse my being a novice. I am trying to implement RSpec with Rails 3. I am using Rails 3.0.3 with Ruby 1.9.2 on Ubuntu 10.04 os. I am using rspec 2.5 gem a
I\'m using ruby 1.9 and I\'m trying to do BDD. My first test \'should read in the csv\' works, but the second where I require a file object to be mocked doesn\'t.