[rspec-users] undefined method `route_for
Amit Kulkarni
lists at ruby-forum.com
Thu Nov 12 02:19:46 EST 2009
David Chelimsky wrote:
> On Nov 11, 2009, at 5:58 AM, Amit Kulkarni <lists at ruby-forum.com> wrote:
>
>>
>> it "should map { :controller => 'home' } RESTfully" do
>> params_from( :get, '/home' ).should == { :controller => 'home',
>> :action => 'index' }
>> end
>> end
>> end
>>
>> I am using "spec home_controller_spec.rb" by going under
>> spec/controllers/ directory.
>
> Don't do that :)
>
> Go to the project root directory and say "spec spec/controllers/
> home_controller_spec.rb"
Hi David,
I tried to run from the above command.
It gets executed but i am not able to see any results as in 2 examples 2
passed something like that as it comes normally.
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list