Skip to content

Commit

Permalink
Test support for the auto keyword in the start_offset parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Tocker committed Dec 6, 2018
1 parent 7ac1bad commit 7fad453
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/video_url_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@
.to produce_url("#{upload_path}/#{short}_35p/video_id")
.and empty_options
end
it 'should support the "auto" keyword' do
expect(["video_id", { :resource_type => 'video', long => 'auto' }])
.to produce_url("#{upload_path}/#{short}_auto/video_id")
.and empty_options
end
end
end

Expand Down

0 comments on commit 7fad453

Please sign in to comment.