Sha256: ac26a2a3cd90e408401d95c738a5b9acd082216c37329cc6b6e0f4c4ee4ec193
Contents?: true
Size: 445 Bytes
Versions: 4
Compression:
Stored size: 445 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' module Enki describe "/pages/show.html" do include UrlHelper before(:each) do view.stub!(:enki_config).and_return(Enki::Config.default) assign :page, create(:page) end after(:each) do rendered.should be_valid_html5_fragment end it "should render a page" do render :template => "/enki/pages/show", :formats => [:html] end end end
Version data entries
4 entries across 4 versions & 1 rubygems