Sha256: cbf254ec5764fd32de73194a72ca0e784cae8d542c73448e1902e2c450ea18f0
Contents?: true
Size: 830 Bytes
Versions: 10
Compression:
Stored size: 830 Bytes
Contents
describe Hyrax::StaticController, type: :controller do routes { Hyrax::Engine.routes } describe "#mendeley" do it "renders page" do get "mendeley" expect(response).to be_success expect(response).to render_template "layouts/homepage" end it "renders no layout with javascript" do get :mendeley, xhr: true expect(response).to be_success expect(response).not_to render_template "layouts/homepage" end end describe "#zotero" do it "renders page" do get "zotero" expect(response).to be_success expect(response).to render_template "layouts/homepage" end it "renders no layout with javascript" do get :zotero, xhr: true expect(response).to be_success expect(response).not_to render_template "layouts/homepage" end end end
Version data entries
10 entries across 10 versions & 2 rubygems