summary refs log tree commit diff
path: root/lib/autotest/discover.rb
blob: 8012c679ccb728b354c298e2e00dde38057a54b9 (plain) (blame)
1
2
3
4
5
6
7
8
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