Skip to content

Commit 61a3cbd

Browse files
committed
minor change to spec file to accommodate mongoid
1 parent 5c34954 commit 61a3cbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/controllers/users_controller_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
describe "GET 'show'" do
1111

1212
it "should be successful" do
13-
get :show, :id => @user
13+
get :show, :id => @user.id
1414
response.should be_success
1515
end
1616

1717
it "should find the right user" do
18-
get :show, :id => @user
18+
get :show, :id => @user.id
1919
assigns(:user).should == @user
2020
end
2121

0 commit comments

Comments
 (0)