I am using both Cucumber and Rspec but I want to disable autotest from running the s开发者_JAVA百科tories while I\"m working on the spec examples. Is there a configuration option I can change to do th
I\'ve update my gems.I\'ve created a sample Rails app and have the following in my Gemfile: 开发者_开发技巧source \'http://rubygems.org\'
Hey all; in writing tests from controller to controller with rspec, I\'ve found myself 开发者_如何学Cduplicating a few basic tests, such as this check for index:
I have module Database with method generate_from_database that spins for loops and calls method get_length. How can I te开发者_高级运维st if get_length was called n times, by using rspec or mocha?
I\'m using rails with authlogic for sign in.I\'m trying to write an integration test for signing out with rspec and webrat.
Having a terrible开发者_如何学Go time finding RSpec-2 (and rspec-rails) documentation. Specifically I want to look up all available Matchers... but how?
I\'ve had a difficult time since I started using rvm.I\'ve done all the rvm/textmate set up and have the latest bundles but I still can\'t run Rspec test from textmate.
I have controller: class AccountController < ApplicationController def index end private def current_account
Apologies in advance for the verbosity of this question. If you bear with me I think you\'ll find it\'s actually quite simple...just hard for me to explain given my limited Rails domain knowledge.
I am trying to test if in a method calling chain one of the methods get a specif开发者_JAVA技巧ic parameter. In the below code for example MyModel must receive the parameter 0 for the method offset. U