Sha256: e48e401b81d2230b28ddb7ac39210c2af9fd4e45e9c564f6a835966771208ba6

Contents?: true

Size: 295 Bytes

Versions: 2

Compression:

Stored size: 295 Bytes

Contents

require 'spec_helper'

<% module_namespacing do -%>
describe <%= class_name %>Controller do

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

<% end -%>
end
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-rails-3.0.0.beta2 lib/generators/rspec/controller/templates/controller_spec.rb
rspec-rails-3.0.0.beta1 lib/generators/rspec/controller/templates/controller_spec.rb