Sha256: 9f1213141566334b8f74ad53de1524fd88943c863f275c8b247abe5b17af9087

Contents?: true

Size: 251 Bytes

Versions: 26

Compression:

Stored size: 251 Bytes

Contents

require 'spec_helper'

describe <%= class_name %>Controller do

<% for action in actions -%>
  describe "GET '<%= action %>'" do
    it "returns http success" do
      get '<%= action %>'
      response.should be_success
    end
  end

<% end -%>
end

Version data entries

26 entries across 21 versions & 4 rubygems

Version Path
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-2.11.4 lib/generators/rspec/controller/templates/controller_spec.rb
gem_repackager-0.1.0 support/gems/rspec-rails-2.11.0/lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-2.11.0 lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
rails-uploader-0.0.1 vendor/bundle/ruby/1.9.1/gems/rspec-rails-2.10.1/lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-2.10.1 lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-2.10.0 lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-2.9.0 lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-2.9.0.rc2 lib/generators/rspec/controller/templates/controller_spec.rb