Sha256: 49313efa030d611811c9e97bb305a224774a78fd1d40f437915355605458a626

Contents?: true

Size: 641 Bytes

Versions: 7

Compression:

Stored size: 641 Bytes

Contents

module Applicaster
  module Test
    module Accounts
      class MockData
        def all_accounts_attributes
          @all_accounts_attributes ||= (1..2).map do |i|
            sequence = Test.inc_sequence
            id = Test.generate_object_id(sequence)
            {
              id: id,
              name: "Test Account #{sequence}",
              old_id: id,
            }
          end
        end

        def user_attributes
          id = Test.inc_sequence
          {
            id: id,
            name: "Test User #{id}",
            email: "test-user#{id}@example.com",
          }
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
omniauth-applicaster-2.0.0 lib/applicaster/test/accounts/mock_data.rb
omniauth-applicaster-1.9.0 lib/applicaster/test/accounts/mock_data.rb
omniauth-applicaster-1.8.0 lib/applicaster/test/accounts/mock_data.rb
omniauth-applicaster-1.7.1 lib/applicaster/test/accounts/mock_data.rb
omniauth-applicaster-1.7.0 lib/applicaster/test/accounts/mock_data.rb
omniauth-applicaster-1.6.1 lib/applicaster/test/accounts/mock_data.rb
omniauth-applicaster-1.6.0 lib/applicaster/test/accounts/mock_data.rb