I\'m trying to run the following spec: describe UsersController, \"GET friends\" do it \"should call current_user.friends\" do
I\'m try to write a spec for a named scope which is date dependent. The spec: it \"should return 6 months of documents\" do
I\'m pretty new to the whole JRuby world. I\'m using RSpec on a pretty big test suite. I\'d like to be able to run the specs frequently but the JVM takes so long to startup it\'s becoming a real time
I am really missing heavily the ability to test Views independently of controllers. The way RSpec does it.
When I run开发者_JAVA百科 ./script/generate scaffold Whatever, it creates ActionController::TestCase tests for me, but I prefer to use RSpec. Is there any way to get it to generate some default RSpecs
I\'m having trouble with and RSpec view test. I\'m using nested resources and the model with a belongs_to association.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I am having trouble building a gem. When I run rake it gives the the following error message: You need to install rspec in your base
I\'d like to spec the fact that my application layout view prints out flash notices. However the following code does not run, the flash method does not exist in view specs (as opposed to controller sp
I am trying to mock a view helper with rspec2. The old way of doing this throws an error, complaining the template object is not defined: