module RSpecCandy::Helpers::NewWithStubs
Public Instance Methods
new_with_stubs(stubs)
click to toggle source
# File lib/rspec_candy/helpers/new_with_stubs.rb, line 5 def new_with_stubs(stubs) obj = new obj.stub_existing stubs obj end