Sha256: 45c15e8676ca6f0a0dc0f106424c5bb1b68946ff542e2f77af8073c5789bf78f

Contents?: true

Size: 579 Bytes

Versions: 33

Compression:

Stored size: 579 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 the output should contain "1 example, 0 failures" 
    And the exit status should be 0

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
gemrage-0.2.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.1.2 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.1.1 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.1.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.0.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.rc features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.22 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.20 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.19 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.18 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.17 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.0.beta.16 features/mock_framework_integration/use_rr.feature