To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratormock with rr
As an RSpec user who likes to mock
I want to be able to use rr
- Scenarios
-
- 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 examples should all pass
- And
- the exit status should be 0
Last published over 5 years ago by dchelimsky.