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