Permalink
Browse files

Require spec_helper before first spec

  • Loading branch information...
1 parent a4fcc74 commit 14cfa3a549745a303177a6b33b3e9c92804d6a5f @mirasrael committed Apr 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 support/buffet-worker
View
@@ -48,6 +48,8 @@ else
config.formatter = RSpec::Core::Formatters::AugmentedTextFormatter
end
+ require RSpec::Core::RubyProject.root.join("spec", "spec_helper").to_s if RSpec::Core::RubyProject.root.join("spec", "spec_helper.rb").exist?
+
RSpec.configuration.reporter.report(-1) do |reporter|
RSpec.configuration.run_hook(:before, :suite)
begin

0 comments on commit 14cfa3a

Please sign in to comment.