Hi there,
in my main view i have a link to the root_path, which converts to
{:controller => "home", :action => :index}
In every spec i run, i get the error:
No route matches {:controller=>"home"}
While if i run the application in development, everything renders
without any problem and
I posted an article on RSpec this morning, I thought it might be of
interest to this list:
http://avdi.org/devblog/2011/04/07/rspec-is-for-the-literate/
--
Avdi Grimm
http://avdi.org
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforg
On Apr 3, 2011, at 8:24 AM, andyl wrote:
> I am using rspec/aruba to do integration tests of a command-line program i'm
> writing.
>
> I'd like to use something like FakeWeb to stub the network calls in the
> command-line program.
>
> But with aruba, the program under test runs in a separate p
Hey,
I tried including ActionView::Helpers::UrlHelper, but it was complaining
about missing "controller" method.
Cheers,
Szymon
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Hi all.
Occasionally, I write specs that verify the order in which some ActiveRecord
objects are returned. For example, in a toy project I do:
Reply.stub :per_page => 2
topic.replies_on_page(1).should == [second, first]
The spec out quickly get unwieldy when it fails:
1) Topic paginates its r