Sha256: c594ac643dcf044dd786239e8dee2c9e0375ece1c0782a6a92356654abd79e59

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require './app/getthumbinfo'


describe "getthumbinfo" do
  describe "get" do
    before do
      @instance = NicoAPI::GetThumbInfo.new
      @instance.set video_id: 'sm9'
    end

    subject { @instance.uri }
    specify {
      expect(subject).to match /http:\/\/ext\.nicovideo\.jp\/api\/getthumbinfo\/(sm|nm)\d/
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nicoapi-0.0.1 spec/getthumbinfo_spec.rb