method
stub_found_files
rspec latest stable - Class:
Spec::Matchers::AutotestMappingMatcher
stub_found_files(autotest)private
No documentation available.
# File spec/autotest/autotest_matchers.rb, line 30
def stub_found_files autotest
found_files = @specs.inject({}){|h,f| h[f] = Time.at(0)}
autotest.stub!(:find_files).and_return(found_files)
end