Skip to content

Commit

Permalink
Add test which fails with current code
Browse files Browse the repository at this point in the history
  • Loading branch information
kangkyu committed Apr 18, 2017
1 parent c327660 commit 006f6d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/pages/page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
expect(videos.count).to be > 100
end

specify 'includes the first video of fullscreen page' do
expect(videos.map {|v| v.id}).to include '621484897895222'
end

context 'given a video instantiated by #videos' do
let(:video) { videos.first }

Expand Down

0 comments on commit 006f6d2

Please sign in to comment.