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