Sha256: 4ec623eec45ab2d6e937be68f67a56022dbb707fce0ff546bfc2200500fe8718

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 Bytes

Contents

require "spec_helper"

describe Namely::Profile do
  it_behaves_like "a model with an index action", [:first_name, :last_name]

  it_behaves_like(
    "a model with a show action",
    id: "20332458-c1fe-412f-bcb8-01622f04a35d",
    first_name: "Leighton",
    last_name: "Meester"
  )

  it_behaves_like(
    "a model with a create action",
    first_name: "Beardsly",
    last_name: "McDog",
    email: "beardsly-#{Time.now.utc.to_f}@namely.com"
  )

  it_behaves_like(
    "a model with an update action",
    "20332458-c1fe-412f-bcb8-01622f04a35d",
    middle_name: "Beardsly"
  )
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
namely-0.0.1 spec/namely/profile_spec.rb