Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Merge pull request #13 from calavera/patch-1
Browse files Browse the repository at this point in the history
Fix test_helper to work properly with warden-github 1.3.0.
  • Loading branch information
atmos committed Feb 12, 2013
2 parents 447433d + 7983398 commit 90edcda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sinatra/auth/github/test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require 'warden/test/helpers'
require 'warden-github/user'
require 'warden/github/user'

module Sinatra
module Auth
Expand All @@ -11,7 +11,7 @@ def make_user(attrs = {})
User.make(attrs)
end

class User < Warden::Github::Oauth::User
class User < Warden::GitHub::User
def self.make(attrs = {})
default_attrs = {
'login' => "test_user",
Expand Down

0 comments on commit 90edcda

Please sign in to comment.