Sha256: 73e358db5d700239f242513556e26738852ec74becce1b341a08c1cb17b56339
Contents?: true
Size: 823 Bytes
Versions: 8
Compression:
Stored size: 823 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 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
8 entries across 8 versions & 1 rubygems