Sha256: 127ec92df73b2c6bab8ed08de8f0ff4bf0e3f04003b79d15a8bfc5ae1357e2bc
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true module MovieOrganizer RSpec.describe TvdbInstance, type: :lib, vcr: true do context '#tv_show?' do it 'returns false if the title is not found' do instance = TvdbInstance.new('unknown tv show') expect(instance.tv_show?).to eq(false) end it 'returns self if the title is found' do instance = TvdbInstance.new('the walking dead') expect(instance.tv_show?).to eq(instance) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
movie_organizer-1.0.2 | spec/lib/movie_organizer/tvdb_instance_spec.rb |
movie_organizer-1.0.1 | spec/lib/movie_organizer/tvdb_instance_spec.rb |