Sha256: a95176f0e7c0ee432a37d4a5313c3c1491a974c61ab28b0b350fdd6f54a2abaa

Contents?: true

Size: 516 Bytes

Versions: 8

Compression:

Stored size: 516 Bytes

Contents

Feature: controller spec readers

  Controller specs expose a number of different
  attribute readers.

  Scenario: access controller
    Given a file named "spec/controllers/widgets_controller_spec.rb" with:
      """
      require "spec_helper"

      describe WidgetsController do
        it "is available before an action" do
          controller.should be_an_instance_of(WidgetsController)
        end
      end
      """
    When I run "rspec ./spec"
    Then the output should contain "1 example, 0 failures"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rspec-rails-2.2.1 features/controller_specs/readers.feature
rspec-rails-2.2.0 features/controller_specs/readers.feature
rspec-rails-2.1.0 features/controller_specs/readers.feature
rspec-rails-2.0.1 features/controller_specs/readers.feature
rspec-rails-2.0.0 features/controller_specs/readers.feature
rspec-rails-2.0.0.rc features/controller_specs/readers.feature
rspec-rails-2.0.0.beta.22 features/controller_specs/readers.feature
rspec-rails-2.0.0.beta.20 features/controller_specs/readers.feature