On 3 July 2012 12:21, venkata reddy wrote:
> I have a simple rspec test which is failing in after i upgrade to
> 3.2.6.
>
> here is the spec in users_controller_spec.rb
>
> describe "show action" do
> before(:each) do
> User.stub!(:find).with(@user.id).and_return(@user)
> end
>
> def do_
it looks like parameters are now passed as strings.
--
Oscar Del Ben
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, July 3, 2012 at 4:21 AM, venkata reddy wrote:
> I have a simple rspec test which is failing in after i upgrade to
> 3.2.6.
>
> here is the spec in users_cont
I have a simple rspec test which is failing in after i upgrade to
3.2.6.
here is the spec in users_controller_spec.rb
describe "show action" do
before(:each) do
User.stub!(:find).with(@user.id).and_return(@user)
end
def do_get
get :show, :id => @user.id
end
it "should be succe
3 matches
Mail list logo