Skip to content

Commit

Permalink
Merge c5e25b1 into 5092405
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiofullscreen committed Jun 6, 2016
2 parents 5092405 + c5e25b1 commit b3b82bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/videos/video_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@
it { expect {video}.to raise_error(Funky::ContentNotFound) }
end

context 'given a video ID with the cumulative views was passed' do
let(:video_id) { '203203106739575' }

it { expect(video.view_count).to be_an(Integer) }
end

context 'given a SocketError' do
let(:video_id) { existing_video_id }
let(:socket_error) { SocketError.new }
Expand Down

0 comments on commit b3b82bc

Please sign in to comment.