Sha256: 10a5b034f391572052b68b44c774a6c1a079112a6f01485156f068b65e0a38a3

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 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.rb"

      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

3 entries across 3 versions & 1 rubygems

Version Path
rspec-rails-2.0.0.beta.19 features/controller_specs/readers.feature
rspec-rails-2.0.0.beta.18 features/controller_specs/readers.feature
rspec-rails-2.0.0.beta.17 features/controller_specs/readers.feature