spec/hooloo/show_spec.rb in hooloo-0.3.0 vs spec/hooloo/show_spec.rb in hooloo-0.3.1
- old
+ new
@@ -3,10 +3,10 @@
describe Hooloo::Show do
describe 'Popular Today' do
let(:shows) { Hooloo::Show.popular_today }
it 'should retrieve popular_today' do
- shows.count.must_equal 10
+ shows.first(10).count.must_equal 10
end
end
describe 'Loading' do
let(:show) { Hooloo::Show.new 11876 }
it 'should convert company to a Company object' do