Sha256: 2a4b3562abcaf08f995ba2d981e12348c387502bd76ada2b917644f7a70c0dcd

Contents?: true

Size: 477 Bytes

Versions: 22

Compression:

Stored size: 477 Bytes

Contents

require 'spec_helper'

describe Kuhsaft::Cms::AssetsController do
  render_views
  
  before do
    Factory.create :asset
  end
  
  describe 'should render successfully' do
    it '#index' do
      get :index, :locale => :en
      response.should be_success
    end
    
    it '#new' do
      get :new, :locale => :en
      response.should be_success
    end
    
    it '#edit' do
      get :edit, :id => 1, :locale => :en
      response.should be_success
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
kuhsaft-0.2.legacy4 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.4.legacy3 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.legacy3 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.legacy2 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.legacy spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.4.legacy2 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.4.legacy spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.6 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.5 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.4 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.4.rc2 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.4.rc1 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.3 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.2 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.5 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.4 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.3 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.1 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.3.0 spec/controllers/cms_assets_controller_spec.rb
kuhsaft-0.2.2 spec/controllers/cms_assets_controller_spec.rb