Sha256: d04c0cf2d8576e992ccbf64be8040cf8b60992e218c0184531564c2f461400be

Contents?: true

Size: 456 Bytes

Versions: 13

Compression:

Stored size: 456 Bytes

Contents

Feature: controller spec

  Scenario: simple passing example
    Given a file named "spec/controllers/widgets_controller_spec.rb" with:
      """
      require "spec_helper"

      describe WidgetsController do
        describe "GET index" do
          it "has a 200 status code" do
            get :index
            response.code.should eq("200")
          end
        end
      end
      """
    When I run `rspec spec`
    Then the example should pass

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rspec-rails-2.9.0 features/controller_specs/controller_spec.feature
rspec-rails-2.9.0.rc2 features/controller_specs/controller_spec.feature
rspec-rails-2.8.1 features/controller_specs/controller_spec.feature
rspec-rails-2.8.0 features/controller_specs/controller_spec.feature
rspec-rails-2.8.0.rc2 features/controller_specs/controller_spec.feature
rspec-rails-2.8.0.rc1 features/controller_specs/controller_spec.feature
rspec-rails-2.7.0 features/controller_specs/controller_spec.feature
rspec-rails-2.7.0.rc1 features/controller_specs/controller_spec.feature
rspec-rails-2.6.1 features/controller_specs/controller_spec.feature
rspec-rails-2.6.1.beta1 features/controller_specs/controller_spec.feature
rspec-rails-2.6.0 features/controller_specs/controller_spec.feature
rspec-rails-2.6.0.rc6 features/controller_specs/controller_spec.feature
rspec-rails-2.6.0.rc4 features/controller_specs/controller_spec.feature