Sha256: 9d9fa4fe2ffeb6047378b95f2aa464bb1c1749a3cf138feb8662d629ff13faf8

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

require 'spec_helper'

describe Kuhsaft::PagesController do
  render_views

  describe 'should render successfully' do
    
    before :all do
      # create page with slug=deutscher-titel
      Factory.create :page
    end
    
    it '#show' do
      get :show, :translation_locale => 'de', :slug => 'deutscher-titel'
      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/pages_controller_spec.rb