Sha256: dc2b4714da952ba9905ee91daab30f912d8a0b58ee618df6c39ed2caa3be02ba

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

require 'spec_helper'

RSpec.describe "Events" do

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

  it 'retrieves events' do
    events = uatu.events

    expect(events.size).to eq 5
    expect(events.first.title).to eq "Annihilation"
  end

  it 'retrieves a single event' do
    event = uatu.event(233)
    expect(event.title).to eq "Atlantis Attacks"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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