Sha256: d201ecc73234daef80d6fcd1f083f7ca2199bb0e1b038dd137377c8a95719857

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

require 'nicoquery/core/video_array'


describe "VideoArray" do
  before do
    @instance = NicoQuery::Core::VideoArray.new ['sm9', 'sm14']
  end

  describe "uri" do
    subject { @instance.uri }
    specify {
      expect(subject).to match /http:\/\/i\.nicovideo\.jp\/v3\/video\.array\?v=((sm\d|nm\d),{0,}){1,}/
    }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nicoquery-core-0.0.5.2 spec/video_array_spec.rb
nicoquery-core-0.0.5.1 spec/video_array_spec.rb
nicoquery-core-0.0.5 spec/video_array_spec.rb