What am I missing here? 开发者_开发百科it \"should recognize a specific api route\" do assert_routing(\"/api/api_email/69399ead0ed4ded38e7a101f7c8faf.json\", {:controller => \"places\", :action =&
I have a helper method called current_user in my Application Controller (used with Authlogic). Spec for views using that helper fail (but the view is working when i use the browser)
I am getting an undefined method \'has_content?\' error on an rspec controller_spec file. I found a thread with similar issues though that thread said the issue was fixed in rspec2.0beta (it开发者_运
I\'m iterating through a tree control on a webpage. Clicking on some nodes in the tree will change the content in FRAME_C, clicking on others will not. How do I filter a test to only run when the cont
What is the name of the gem that lets you开发者_JS百科 open the browser with the result in your request specS?
I have many tests like creating user, updating, etc. In some of the controllers I have access to a Mongo Database. The problem is that it also accesses it when doing the tests, adding data to the data
I\'m trying to write my first specs for the People Controller Using mongoid (2.0.1), rspec (2.5.0), mongoid-rspec (1.4.2) and fabrication (0.9.5), if necessary.
I am using RSpec-2 to test my controller and I am seeing weird behavior. Essentially I am doing the same as in Railscasts #71
I have examples 开发者_运维技巧like this in my spec file: it \"does something\", :separate=> true do
Too often people write tests that don\'t clean up after themselves when they mess with state.Often this doesn\'t matter since objects tend to be torn down and recreated for most tests, but there are s