Sha256: c0e6c65d5b3ee44bd4a0ebcdc4ba389d370d89abbdde20f8cc7296bfdac64b9b
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 Bytes
Contents
require 'spec_helper' require 'hooloo/genre' describe Hooloo::Genre do describe 'List All' do let(:genres) { Hooloo::Genre.list } it 'should convert genre list to Genre objects' do genres.each { |x| x.must_be_instance_of Hooloo::Genre } end end describe 'Shows List' do let(:genre) { Hooloo::Genre.new 'anime' } it 'should return multiple shows' do genre.shows.count.must_be :>, 0 end it 'should convert shows to Show objects' do genre.shows.each { |x| x.must_be_instance_of Hooloo::Show } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hooloo-0.3.0 | spec/hooloo/genre_spec.rb |