Sha256: 798180045b33f9978b4fa2bd9b3340a4f5a3983004202bcd8cb8e175d65de9c9
Contents?: true
Size: 427 Bytes
Versions: 11
Compression:
Stored size: 427 Bytes
Contents
require 'spec_helper' describe Kuhsaft::PagesController do render_views before do set_lang :en # create page with slug=english-title @page = Factory.create :page end after do Kuhsaft::Page.all.each { |p| p.destroy } reset_lang end describe 'should render successfully' do it '#show' do get :show, :url => '/en/english-title' response.should be_success end end end
Version data entries
11 entries across 11 versions & 1 rubygems