Sha256: 2c6ae98a677b329db6a9f37ce6adf07b5356357d18cd31d52ab92dc01b91e899

Contents?: true

Size: 383 Bytes

Versions: 8

Compression:

Stored size: 383 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

8 entries across 8 versions & 1 rubygems

Version Path
rspec-core-2.0.0.beta.8 features/hooks/described_class.feature
rspec-core-2.0.0.beta.7 features/hooks/described_class.feature
rspec-core-2.0.0.beta.6 features/hooks/described_class.feature
rspec-core-2.0.0.beta.5 features/hooks/described_class.feature
rspec-core-2.0.0.beta.4 features/hooks/described_class.feature
rspec-core-2.0.0.beta.3 features/hooks/described_class.feature
rspec-core-2.0.0.beta.2 features/hooks/described_class.feature
rspec-core-2.0.0.beta.1 features/hooks/described_class.feature