Sha256: 18bc8ab15fab6a77b8682d4606d2a0b7f8394f2363feaea331b9d1f9b45ef3fd

Contents?: true

Size: 430 Bytes

Versions: 8

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe Kuhsaft::Admin::AssetsController do
  render_views
  
  before do
    Factory.create :asset
  end
  
  describe 'should render successfully' do
    it '#index' do
      get :index
      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

8 entries across 8 versions & 1 rubygems

Version Path
kuhsaft-0.1.1 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.1.0 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.0.8 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.0.7 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.0.6 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.0.5 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.0.4 spec/controllers/admin_assets_controller_spec.rb
kuhsaft-0.0.3 spec/controllers/admin_assets_controller_spec.rb