Sha256: 2e7efeb2ed85ba9e294f7518e67335abedfbf3f3aa22652b86d6b54922163ed5
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
require 'spec_helper' describe Kuhsaft::Admin::PagesController do render_views describe 'should render successfully' do before :all do # create page with ID=1 if none exists Factory.create :page end it '#index' do get :index response.should be_success end it '#show' do get :show, :id => 1 response.should be_success end it '#new' do get :new response.should be_success end it '#edit' do get :edit, :id => 1 response.should be_success end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kuhsaft-0.0.3 | spec/controllers/admin_pages_controller_spec.rb |