Sha256: 70b188ad3479981e2e538f6943fdd5f33c782da59e74b5682d67f06ba1175d5a
Contents?: true
Size: 813 Bytes
Versions: 8
Compression:
Stored size: 813 Bytes
Contents
describe StaticController, type: :controller do routes { Sufia::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 xhr :get, :mendeley 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 xhr :get, :zotero expect(response).to be_success expect(response).not_to render_template "layouts/homepage" end end end
Version data entries
8 entries across 8 versions & 1 rubygems