Sha256: 15c982b768a7ad4c2daac61bb655916a7ebe15d8edc58cc28bd5ccb60c7f3c45
Contents?: true
Size: 836 Bytes
Versions: 6
Compression:
Stored size: 836 Bytes
Contents
require 'spec_helper' 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
6 entries across 6 versions & 1 rubygems