Sha256: d90c7db703ef1cc20d279c4b2074d4eb33a243fece61996239e7fe71a22d4a89
Contents?: true
Size: 566 Bytes
Versions: 7
Compression:
Stored size: 566 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
7 entries across 7 versions & 1 rubygems