Sha256: bff8a999c8632fcec100dde28a679852bbfe28e915c2b875c3dec021385b6308

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

require './app/video_array'

describe "VideoArray" do
  before do
    @instance = NicoAPI::VideoArray.new
    @instance.set ['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

1 entries across 1 versions & 1 rubygems

Version Path
nicoapi-0.0.1 spec/video_array_spec.rb