Skip to content

Commit

Permalink
Merge branch 'sign-in-out'
Browse files Browse the repository at this point in the history
Conflicts:
	spec/requests/users_spec.rb
  • Loading branch information
mhartl committed Oct 1, 2010
2 parents cd648f9 + 027bfdb commit 3da621f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/sessions_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def signed_in?

def sign_out
cookies.delete(:remember_token)
self.current_user = nil
current_user = nil
end

def current_user?(user)
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/users_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
end

describe "signin" do

describe "failure" do
it "should not sign a user in" do
visit signin_path
Expand Down

0 comments on commit 3da621f

Please sign in to comment.