spec/spec_helper.rb in pokepaste-0.0 vs spec/spec_helper.rb in pokepaste-0.1
- old
+ new
@@ -1,8 +1,14 @@
+require "pokepaste"
+
# Include all files in spec/support
Dir[File.expand_path("../support/**/*.rb", __FILE__)].each { |f| require f }
RSpec.configure do |config|
+ # Add `focus: true` hash parameter to a describe/context/it block
+ # to only run the specs in that block
+ config.filter_run_when_matching :focus
+
# Fuubar
config.add_formatter "Fuubar"
config.fuubar_progress_bar_options = { format: " %c/%C |%b>%i|%e " }
# More verbose output if only running one spec