Thanks for these very useful informations.
I found the titinux' first post to solve my problems with request specs,
and martin_c94's post to solve my controller specs problems.
Still, in the console, the url helpers need the locale explicitly set,
it seems:
[1] pry(main)> app.user_path User.fi
hi.
the #create is related to Factory Girl.
Try to explicitly call FactoryGirl.create(:plan)
bye,
enricostn
On Monday, November 12, 2012, ishi soichi wrote:
>
> my environment:
>
> Rails 3.1.3
> rspec-rails (2.11.4)
> rspec 2.11.1
>
>
> I have generated a scaffold named Plan. And I have not d