Sha256: 7a8bc99f3da3ba5a19bd724ce6e8f9cbc6d9dddb03bcbed1fa975cce391bbd9d
Contents?: true
Size: 839 Bytes
Versions: 13
Compression:
Stored size: 839 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
13 entries across 13 versions & 1 rubygems