Sha256: cb977417b2a55c5010a5091788fefe237692ae582073502cc4e3862d0101839d
Contents?: true
Size: 380 Bytes
Versions: 9
Compression:
Stored size: 380 Bytes
Contents
require 'spec_helper' describe PagesController do before :all do Site.destroy_all @site = Site.make @page = @site.pages.create :page_title => 'Vampire Bunnies', :content => 'Scary monsters.', :state => 'published' end it 'show action should render show template' do get :show, :path => 'vampire-bunnies' response.should render_template(:show) end end
Version data entries
9 entries across 9 versions & 1 rubygems