Sha256: 57776f77b3401090929ca857a67a0f91c20be0b85a561595a2fa16c536600041

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require 'spec_helper'

RSpec.describe "Creators" do

  let(:uatu) { Uatu::Base.new }

  it 'retrieves creators' do
    creators = uatu.creators

    expect(creators.size).to eq 3
    expect(creators.last.full_name).to eq "Abel"
  end

  it 'retrieves a single creator' do
    creator = uatu.creator(2)
    expect(creator.full_name).to eq "Garth Ennis"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
uatu-marvel-0.1.0 spec/integration/creators_spec.rb