Sha256: 694bff9d5d07acb2fecabba85826162252dea4b8a37eb21cc5396b54bd99db93
Contents?: true
Size: 413 Bytes
Versions: 9
Compression:
Stored size: 413 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' describe PublicationsController do before :all do Publication.destroy_all @publication = Publication.create(:name => 'FAQs', :desired_slug => 'faq') end it "show action should render show template" do get :show, :publication_slug => 'faq' response.should render_template(:show) assigns(:publication).should == @publication end end
Version data entries
9 entries across 9 versions & 1 rubygems