Sha256: 56aba8fa27b2ea300807a1dad002979640e1a61e340c07001c6bdae8cd516e92
Contents?: true
Size: 445 Bytes
Versions: 10
Compression:
Stored size: 445 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe PagesController do before :all do Site.destroy_all @site = Site.make @page = @site.pages.create(:page_title => 'Vampire Bunnies', :desired_slug => '/bunnicula/', :content => 'Scary monsters.', :state => 'published') end it "show action should render show template" do get :show, :page_slug => '/bunnicula/' response.should render_template(:show) end end
Version data entries
10 entries across 10 versions & 1 rubygems