Sha256: 81a40157ac6f7ccb2b0dbf8e7868c81fe3caa57d1ba6651ada36d2e99cfb1348
Contents?: true
Size: 562 Bytes
Versions: 10
Compression:
Stored size: 562 Bytes
Contents
require "spec_helper.rb" describe "ndl_books/index" do describe "ndl search menu" do it "should reflect query params for views", vcr: true do params[:query] = "test" assign(:query, "test") books = NdlBook.search(params[:query]) assign(:books, Kaminari.paginate_array(books[:items], total_count: books[:total_entries], ).page(1).per(10)) render expect(rendered).to include "http://iss.ndl.go.jp/books?any=test" end end end
Version data entries
10 entries across 10 versions & 1 rubygems