Sha256: defb28d1a815255542e491db4d6dd21717e3b34065f98ea974abd2a449424ef0
Contents?: true
Size: 553 Bytes
Versions: 21
Compression:
Stored size: 553 Bytes
Contents
require 'spec_helper' module Alchemy describe Admin::LayoutpagesController do before(:each) do sign_in(admin_user) end describe "#index" do it "should assign @locked_pages" do get :index expect(assigns(:locked_pages)).to eq([]) end it "should assign @layout_root" do get :index expect(assigns(:layout_root)).to be_a(Page) end it "should assign @languages" do get :index expect(assigns(:languages).first).to be_a(Language) end end end end
Version data entries
21 entries across 21 versions & 1 rubygems