require 'rails_helper' # Specs in this file have access to a helper object that includes # the PatronsHelper. For example: # # describe PatronsHelper do # describe "string concat" do # it "concats two strings with spaces" do # helper.concat_strings("this","that").should == "this that" # end # end # end describe EnjuManifestationViewer::ApplicationHelper do fixtures :all it "should render google_books preview template" do helper.google_book_search_preview(manifestations(:manifestation_00001).identifier_contents(:isbn).first).should =~ /