Sha256: 68c8349788387fec1c0ebc7118efdd3a9e638dbf63093ea8b4fd7a640ae71ed2

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

require 'spec_helper'

RSpec.describe "Stories" do

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

  it 'retrieves stories' do
    stories = uatu.stories

    expect(stories.size).to eq 7
    expect(stories.first.title).to eq "Interior #1208"
  end

  it 'retrieves a single story' do
    story = uatu.story(13245)
    expect(story.title).to eq "Fantastic Forum"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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