The question explains itself... I wanna test a new rails plugin with rspec, are there any specific generators, gems?
I\'m following this example here: http://erikonrails.snowedin.net/?p=230 I added: lib/delayed_job_spec_helper.rb
I have an spec like so: require \'spec_helper\' describe IncomingMailsController do include Devise开发者_运维百科::TestHelpers
I have the following models: Users (id) Project (id, name) Roles (id, title) Permissions (user_id, role_id, project_id)
can someone provide an example or point me to where I can learn how to do Factory Girl nested model associations?
I\'m trying to post to my controller in RSPEC, see anything wrong with this? It\'s failing w/o error:
I want to share my finding and hear from others about successful and failed attepts to reduce execution time of integration tests of Rails applications (be it \'ordinary\' tests, Cucumber- or RSpec-ba
I am at the end of chapter five doing the exercises. I am supposed to be testing that the links go to the correct pages. Here is my test code.
I just begin to start use Selenium with Ruby on Rails 3, I have my code as before(:all) do @verification_errors = []
I would like to increase the speed of my tests. Should I use use_transactional_fixtures or go with the database_cleaner gem?