On Wed, Nov 11, 2009 at 11:19 PM, Amit Kulkarni <li...@ruby-forum.com>wrote:

> David Chelimsky wrote:
> > On Nov 11, 2009, at 5:58 AM, Amit Kulkarni <li...@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.
>

Then how do you know it gets executed?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to