spec_help/spec_helper.rb in logical-construct-0.0.5 vs spec_help/spec_helper.rb in logical-construct-0.1.0
- old
+ new
@@ -1,13 +1,11 @@
require 'rspec'
require 'file-sandbox'
require 'mock-resolve'
-require 'timeout'
+require 'cadre/rspec'
-RSpec.configure do |rspec|
- rspec.around :each do |example|
- Timeout::timeout(3) do
- example.run
- end
- end
+RSpec.configure do |config|
+ config.run_all_when_everything_filtered = true
+ config.add_formatter(Cadre::RSpec::NotifyOnCompleteFormatter)
+ config.add_formatter(Cadre::RSpec::QuickfixFormatter)
end