Sha256: 87f8b1754f6a12c8471043ddf6ec47de059000c0fb843c638d6e20ee19c4cdc3
Contents?: true
Size: 800 Bytes
Versions: 15
Compression:
Stored size: 800 Bytes
Contents
require "nicoquery/object/tag_search" describe "NicoQuery::Object::TagSearch" do before do @tag_search_result = NicoQuery::Object::TagSearch.new( tag: "ゆっくり実況プレイ", sort: :published_at, order: :asc, page: 1 ) end subject { @tag_search_result } describe "title" do it "returns string of title" do expect(subject.title).to eq "ゆっくり実況プレイ" end end describe "movies" do it "returns movie instances" do expect(subject.movies).to be_an_instance_of Array expect(subject.movies[0]).to be_an_instance_of NicoQuery::Object::Movie end end end
Version data entries
15 entries across 15 versions & 1 rubygems