method
stub_found_files

RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Matchers::AutotestMappingMatcher
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
stub_found_files(autotest)
private
Hide source
# 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