Sha256: 8c32b67fad1546a0e6d2c86fcbf5c9d7f9c3479aba07318906c66cd2e2c9581a
Contents?: true
Size: 509 Bytes
Versions: 2
Compression:
Stored size: 509 Bytes
Contents
require 'spec_helper' describe NdlBooksController do fixtures :all it "should be a kind of enju_ndl" do assert_kind_of Module, EnjuNdl end describe "GET index" do login_fixture_admin use_vcr_cassette "enju_ndl/search", :record => :new_episodes it "should get index" do get :index, :query => 'library' assigns(:books).should_not be_empty end it "should be empty if a query is not set" do get :index assigns(:books).should be_empty end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_ndl-0.1.0.pre7 | spec/controllers/ndl_books_controller_spec.rb |
enju_ndl-0.1.0.pre6 | spec/controllers/ndl_books_controller_spec.rb |