lib/lopata/config.rb in lopata-0.0.6 vs lib/lopata/config.rb in lopata-0.0.7
- old
+ new
@@ -31,11 +31,11 @@
c.include Lopata::RSpec::Role
end
end
def init_lopata_logging(build)
- Lopata::Config.build_number = build
- RSpec.configure do |c|
+ self.build_number = build
+ ::RSpec.configure do |c|
require 'lopata/rspec/formatter' # class cross-loading, avoid auto-loading
c.add_formatter Lopata::RSpec::Formatter
end
end
\ No newline at end of file