Re: [rspec-users] Rails 3 route path helpers no longer accessible from /specs/requests/

2011-04-15 Thread Rodrigo Rosenfeld Rosas
Em 14-04-2011 02:51, JDeville escreveu: I just did a bundle update, and my integration specs stopped working. I was on Rails 3.0.5, and am now on 3.0.6. Any suggestions on how to get access to those routes back? In case the subject wasn't clear, this is what is no longer working: get sessio

Re: [rspec-users] warning: toplevel constant XYZ referenced Admin:XYZ

2011-04-15 Thread Mike Mazur
Hi, On Sat, Apr 16, 2011 at 00:02, dblock wrote: > I have an odd problem. I got controllers in a namespace and > controllers outside of the namespace. For example, I have a > PagesController and a Admin::PagesController. > > When I run rspec from the top, tests pass and I get the following > warn

Re: [rspec-users] warning: toplevel constant XYZ referenced Admin:XYZ

2011-04-15 Thread David Chelimsky
On Apr 15, 2011, at 11:02 AM, dblock wrote: > I have an odd problem. I got controllers in a namespace and > controllers outside of the namespace. For example, I have a > PagesController and a Admin::PagesController. > > When I run rspec from the top, tests pass and I get the following > warning:

Re: [rspec-users] rspec _and_ Rails test::unit tests

2011-04-15 Thread David Chelimsky
On Apr 10, 2011, at 6:45 PM, ybakos wrote: > There's so much different chatter about this issue and I was wondering > if any of you could spare the time to assist. > > Start a new Rails3 project. Initialize rspec for the project. Now run > autotest. Ok, great, "loading autotest/rails_rspec2" > >

[rspec-users] Rails 3 route path helpers no longer accessible from /specs/requests/

2011-04-15 Thread JDeville
I just did a bundle update, and my integration specs stopped working. I was on Rails 3.0.5, and am now on 3.0.6. Any suggestions on how to get access to those routes back? In case the subject wasn't clear, this is what is no longer working: get sessions_path sessions_path (and every other pa

Re: [rspec-users] TypeError: can't convert RSpec::Mocks::Mock to Hash

2011-04-15 Thread Lucas Renan
What's orm you are using? activerecord? On 15 fev, 14:25, Karl wrote: > In MoneyOrdersController controller: > > def create >   @money_order = current_user.money_orders.build(params[:money_order]) >   if @money_order.save >     flash.now[:msg_ok] = "Added money order for: > #{number_to_currency(@

[rspec-users] warning: toplevel constant XYZ referenced Admin:XYZ

2011-04-15 Thread dblock
I have an odd problem. I got controllers in a namespace and controllers outside of the namespace. For example, I have a PagesController and a Admin::PagesController. When I run rspec from the top, tests pass and I get the following warning: spec/controllers/admin/pages_controller_spec.rb:4: warni

[rspec-users] rspec _and_ Rails test::unit tests

2011-04-15 Thread ybakos
There's so much different chatter about this issue and I was wondering if any of you could spare the time to assist. Start a new Rails3 project. Initialize rspec for the project. Now run autotest. Ok, great, "loading autotest/rails_rspec2" Now run autotest -s rails. Ok, great, the Rails test suit