Autotest broke with rspec-rails 2.2.1 update. Now I can\'t get it working again.. .even after rolling back to rspec-rais 2.2.0.
I am writing tests with Rspec2 using the Flexmock mocking framework. I expect one of my methods to cache results and want to verify this with my mock.
I\'m getting these failures when running rspec spec/. The spec that is failing is was auto-generated with the scaffolding. I\'m trying to understand RSpec but I don\'t know where to begin looking for
rspec expects your controller specs to be in /spec/controllers.I have some modules that are included in my controllers.The only way to test them, near as I can tell, is to create a dummy controller, i
I have started the book Continuous Testing with Ruby (B2.0 printing), but am running into immediate problems. Per the first chapter, I have created an empty Gem using Jeweler 1.5.1
ZenTest and Autotest have been updated on December 1st. After upgrading to the latest versions (Autotest-4.4.6/ZenTest-4.4.1), autotest won\'t discover my sp开发者_如何转开发ecs and tries to run the s
Having a terrible开发者_如何学Go time finding RSpec-2 (and rspec-rails) documentation. Specifically I want to look up all available Matchers... but how?
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
I\'d like to start using RSpec to write tests for my Rails app, but I have a lot of existing tests written using Test::Unit.I\'d like to continue being able to run all of the tests (or all of the unit
I\'d like to incl开发者_开发知识库ude the request helpers (from ActionDispatch::Integration::RequestHelpers [ApiDock], like post and xhr methods) also in some specs outside of my controller specs. The