Sha256: af23067b4695283d301797926c7dfc76fbe27bffc14f67b34aa8498aadda2e81
Contents?: true
Size: 495 Bytes
Versions: 6
Compression:
Stored size: 495 Bytes
Contents
require File.dirname(__FILE__) + "/../../spec_helper" describe Admin::ExtensionController do scenario :users before :each do login_as :admin end it "should require login for all actions" do logout lambda { get :index }.should require_login end it "should list all extensions" do get :index response.should be_success response.should render_template("index") assigns[:extensions].should == Radiant::Extension.descendants.sort_by(&:name) end end
Version data entries
6 entries across 6 versions & 1 rubygems