Sha256: c2545e5e41fb657c78c1008ea0e75814d5fd113fc5917b209e9841542c2419ce

Contents?: true

Size: 756 Bytes

Versions: 16

Compression:

Stored size: 756 Bytes

Contents

window.FIXTURES = {} if window.FIXTURES is undefined

FIXTURES.user = (id = 1)->
  user:
    id: id
    bio: null
    created_at: "2014-07-04T12:42:41+00:00"
    email: "foo@bar.name"
    facebook_url: null
    linkedin_url: null
    other_url: null
    profile_type: "personal"
    twitter_url: null
    name: "Foo Bar"
    image_url: "http://www.dune-investissement/uploads/user/uploaded_image/18/thumb_avatar_image.jpg"
    total_contributed: "70.0"
    admin: true
    url: "http://www.dune-investissement/api/contributions/18"
    html_url: "http://www.dune-investissement/neighbors/18-mrs-abigayle-gaylord"

FIXTURES.users = (page = 3)->
  users: [FIXTURES.user(1).user, FIXTURES.user(2).user]
  meta:
    page: page
    total: 2
    total_pages: 10

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dune-dashboard-1.1.5 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.1.4 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.1.3 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.1.2 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.1.1 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.1.0 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.9 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.8 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.7 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.6 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.5 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.4 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.3 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.2 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.1 spec/javascripts/fixtures/users.coffee
dune-dashboard-1.0.0 spec/javascripts/fixtures/users.coffee