diff options
Diffstat (limited to 'lib/autotest/discover.rb')
-rw-r--r-- | lib/autotest/discover.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/autotest/discover.rb b/lib/autotest/discover.rb new file mode 100644 index 0000000..8012c67 --- /dev/null +++ b/lib/autotest/discover.rb @@ -0,0 +1,9 @@ +Autotest.add_discovery do + if File.exist?('spec/.bacon') || File.exist?('test/.bacon') + class Autotest + @@discoveries.delete_if { |d| d.inspect =~ /rspec/ } + warn 'Removing rspec from autotest!' + end + 'bacon' + end +end \ No newline at end of file |