Sha256: 6dab4b4680461653d9c261c129856a3cd9d19ccdc88084cd229a77993abe74a0

Contents?: true

Size: 321 Bytes

Versions: 6

Compression:

Stored size: 321 Bytes

Contents

require 'nicoapi/core/getthumbinfo'


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

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nicoapi-core-0.0.4.2 spec/getthumbinfo_spec.rb
nicoapi-core-0.0.3.2 spec/getthumbinfo_spec.rb
nicoapi-core-0.0.3.1 spec/getthumbinfo_spec.rb
nicoapi-core-0.0.3 spec/getthumbinfo_spec.rb
nicoapi-core-0.0.2 spec/getthumbinfo_spec.rb
nicoapi-core-0.0.1 spec/getthumbinfo_spec.rb