Sha256: 7f79cb27fad5070a2890a9a0d6527ecb26cbe6e761f9289ff11dbf16541e451b

Contents?: true

Size: 228 Bytes

Versions: 7

Compression:

Stored size: 228 Bytes

Contents

class User
  include GDS::SSO::User

  def self.find_by_uid(something)
    stub_user
  end

  def self.first
    # stub_user
    false
  end

  def self.stub_user
    OpenStruct.new({ :uid => '1', :name => "User" })
  end


end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gds-sso-0.6.1 spec/internal/app/models/user.rb
gds-sso-0.6.0 spec/internal/app/models/user.rb
gds-sso-0.5.4 spec/internal/app/models/user.rb
gds-sso-0.5.3 spec/internal/app/models/user.rb
gds-sso-0.5.2 spec/internal/app/models/user.rb
gds-sso-0.5.1 spec/internal/app/models/user.rb
gds-sso-0.5.0 spec/internal/app/models/user.rb