Sha256: fe3cbce8c5bb6a6a3a27114e20bf147247d92a1a915068587e512cb0636092d3

Contents?: true

Size: 564 Bytes

Versions: 9

Compression:

Stored size: 564 Bytes

Contents

Feature: mock with rr

  As an RSpec user who likes to mock
  I want to be able to use rr

  Scenario: Mock with rr
    Given a file named "rr_example_spec.rb" with:
      """
      Rspec.configure do |config|
        config.mock_framework = :rr
      end

      describe "plugging in rr" do
        it "allows rr to be used" do
          target = Object.new
          mock(target).foo
          target.foo
        end
      end
      """
    When I run "rspec rr_example_spec.rb"
    Then I should see "1 example, 0 failures" 
    And the exit status should be 0

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rspec-core-2.0.0.beta.8 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.7 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.6 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.5 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.4 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.3 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.2 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.1 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.a10 features/mock_framework_integration/use_rr.feature