Permalink
Browse files

Fix an issue whereby loading rspec-rails did not properly require RSpec

  • Loading branch information...
1 parent a07abc3 commit be05ff8b67324be6ae86279084111732340b948e @jfelchner jfelchner committed Dec 16, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/fuubar.rb
View
@@ -1,9 +1,8 @@
+require 'rspec'
require 'rspec/core/formatters/base_text_formatter'
require 'ruby-progressbar'
-if RSpec.configuration
- RSpec.configuration.add_setting :fuubar_progress_bar_options, :default => {}
-end
+RSpec.configuration.add_setting :fuubar_progress_bar_options, :default => {}
class Fuubar < RSpec::Core::Formatters::BaseTextFormatter
DEFAULT_PROGRESS_BAR_OPTIONS = { :format => ' %c/%C |%w>%i| %e ' }

0 comments on commit be05ff8

Please sign in to comment.