Sha256: b41bc5983fa4a759f4d64377684c94484282e529a001175f115fdbc1530482b0
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
require './app/tag_search' describe "tag_search" do before do @instance = NicoAPI::TagSearch.new @instance.set tag: 'ゆっくり実況プレイ', sort: 'published_at', order: 'asc' end describe "uri" do subject { @instance.uri } specify { # host and path expect(subject).to match /http:\/\/www\.nicovideo\.jp\/tag/ # uri parameter expect(subject).to match /\?(sort=(v|r|m|f|l)){0,}/ expect(subject).to match /\?(order=(a|d)){0,}/ } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nicoapi-0.0.1 | spec/tag_search_spec.rb |