Sha256: 3cff08fcb0342a0168af9b466ce5fc4674a4c0ae331af615a0455c90efb72bec

Contents?: true

Size: 674 Bytes

Versions: 5

Compression:

Stored size: 674 Bytes

Contents

shared_context "tv shows" do
  let(:input) do
    [
      {
        title: "The Walking Dead",
        channel: "AMC",
        watchers: 1337,
        status: "running",
        cast: ["Lincoln, Andrew", "McBride, Melissa"],
        ratings: {
          imdb: 8.7,
          trakt: 89,
          rotten_tomatoes: 93,
        },
      },
      {
        title: "Breaking Bad",
        channel: "AMC",
        watchers: 72891,
        status: "ended",
        cast: ["Cranston, Bryan", "Gunn, Anna"],
        ratings: {
          imdb: 9.5,
          trakt: 95,
          rotten_tomatoes: 100,
        },
      }
    ]
  end

  let(:single_input) do
    input.first
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
morfo-0.7.0 spec/support/shared_context.rb
morfo-0.6.0 spec/support/shared_context.rb
morfo-0.5.1 spec/support/shared_context.rb
morfo-0.5.0 spec/support/shared_context.rb
morfo-0.4.0 spec/support/shared_context.rb