Sha256: c1a15e8ca715cf1197fc0dc9dca9b06108e5f36ddc94024216a304fc16e8fb78

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

require 'spec_helper'

describe LoginEvent do
  it { should validate_presence_of(:ip_address) }
  it { should validate_presence_of(:latitude) }
  it { should validate_presence_of(:longitude) }
  it { should validate_presence_of(:city) }
  it { should validate_presence_of(:country_code) }
  it { should validate_presence_of(:region_name) }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise_password_sharing_extension-0.0.4 spec/models/login_event_spec.rb
devise_password_sharing_extension-0.0.2 spec/models/login_event_spec.rb
devise_password_sharing_extension-0.0.1 spec/models/login_event_spec.rb