Sha256: b2c8228238228dbb3080790b3b42aebfd92d959461895c56a3f49f74ac1d0f6c
Contents?: true
Size: 785 Bytes
Versions: 7
Compression:
Stored size: 785 Bytes
Contents
require 'spec_helper' describe StaticController do routes { Sufia::Engine.routes } describe "#mendeley" do it "renders page" do get "mendeley" response.should be_success response.should render_template "layouts/homepage" end it "renders no layout with javascript" do xhr :get, :mendeley response.should be_success response.should_not render_template "layouts/homepage" end end describe "#zotero" do it "renders page" do get "zotero" response.should be_success response.should render_template "layouts/homepage" end it "renders no layout with javascript" do xhr :get, :zotero response.should be_success response.should_not render_template "layouts/homepage" end end end
Version data entries
7 entries across 7 versions & 1 rubygems