Sha256: 3a595f6f6a3f92995f6a29e8edc7c53ac22aa9f72f52d43414b216ff0eb3ed91

Contents?: true

Size: 271 Bytes

Versions: 7

Compression:

Stored size: 271 Bytes

Contents

class User < OpenStruct
  include GDS::SSO::User

  def self.find_by_uid(something)
    stub_user
  end

  def self.first
    # stub_user
    false
  end

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

  def update_attributes(*args)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gds-sso-0.7.6 spec/internal/app/models/user.rb
gds-sso-0.7.5 spec/internal/app/models/user.rb
gds-sso-0.7.4 spec/internal/app/models/user.rb
gds-sso-0.7.3 spec/internal/app/models/user.rb
gds-sso-0.7.2 spec/internal/app/models/user.rb
gds-sso-0.7.1 spec/internal/app/models/user.rb
gds-sso-0.7.0 spec/internal/app/models/user.rb