Skip to content

Commit

Permalink
Fix an issue whereby loading rspec-rails did not properly require RSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
jfelchner committed Dec 16, 2013
1 parent a07abc3 commit be05ff8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/fuubar.rb
Original file line number Diff line number Diff line change
@@ -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 ' }
Expand Down

0 comments on commit be05ff8

Please sign in to comment.