I\'m just not sure what the exact way to word it is.. This tells me \'No response yet. Request a page first.\'
I am using some spec_helper.rb methods to generate RSpec examples and one of them is dependent on data from another one.
After significant troubleshooting, I figured out that I ne开发者_StackOverflow中文版eded to run rake spec once (I can abort with control-c) before I can run rspec directly (e.g. on a subset of our spe
I just installed Rspec2 in my Rails3 (3.0.3) project. When I run rspec spec from rails root I get: No examples were matched. Perhaps {:if=>#<Proc:0x00000100933388@/Users/ivan/.rvm/gems/ruby-1.9
We are starting to develop a new website using Rails 3, RSpec 2, and OmniAuth 2. We wanted to follow TDD using RSpec to write the authentication, but we actually don\'t know where to start. We don\'t
I have a suite of RSpec tests I want to group under the following hierarchy: tests/ featA/ t1.rb t2.rb featB/
how can I use TDD with MongoDB as my second database? Thanks Edit: Using Rspec or anything else that a开发者_StackOverflowllows me to test it.[Update]
Using RSpec(2.5.0) and flexmock, and i\'m finding that even if i tell a flexmocked object that it should never receive a method, my test passes anyway.
Is there no simple way to do the equivalent of response.should render_templa开发者_如何学Gote(:foo) in a mailer spec?Here\'s what I want to do:
I\'m new to RSpec, and I can\'t find out how to test the following: In my application controller (in a Rails 3 app), I set the locale in a before filter, like so