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
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
rspec-core-2.4.0 features/mock_framework_integration/use_rr.feature
vim-jar-0.1.2 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
vim-jar-0.1.1 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
vim-jar-0.1.0 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
rspec-core-2.3.1 features/mock_framework_integration/use_rr.feature
rspec-core-2.3.0 features/mock_framework_integration/use_rr.feature
vim-jar-0.0.3 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
rspec-core-2.2.1 features/mock_framework_integration/use_rr.feature
vim-jar-0.0.2 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
vim-jar-0.0.1 bundler/ruby/1.8/gems/rspec-core-2.1.0/features/mock_framework_integration/use_rr.feature
rspec-core-2.2.0 features/mock_framework_integration/use_rr.feature
rspec-core-2.1.0 features/mock_framework_integration/use_rr.feature
rspec-core-2.0.1 features/mock_framework_integration/use_rr.feature
gemrage-1.0.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.4.1 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.4.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.3.2 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.3.1 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature
gemrage-0.3.0 vendor/ruby/1.8/gems/rspec-core-2.0.0/features/mock_framework_integration/use_rr.feature