Sha256: 27cf3493081ba18b9b51cf3b54bc5f756b8ee8a594d9db0c5cb38e62c9123204

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

Feature: described class

  Scenario: access the described class from the example
    Given a file named "spec/example_spec.rb" with:
      """
      describe Fixnum do
        it "is available as described_class" do
          described_class.should == Fixnum
        end
      end
      """
    When I run "rspec ./spec/example_spec.rb"
    Then I should see "1 example, 0 failures"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rspec-core-2.0.0.beta.15 features/hooks/described_class.feature
rspec-core-2.0.0.beta.14 features/hooks/described_class.feature
rspec-core-2.0.0.beta.13 features/hooks/described_class.feature
rspec-core-2.0.0.beta.12 features/hooks/described_class.feature
rspec-core-2.0.0.beta.11 features/hooks/described_class.feature
rspec-core-2.0.0.beta.10 features/hooks/described_class.feature
rspec-core-2.0.0.beta.9 features/hooks/described_class.feature