spec/standalone_helper.rb in berkeley_library-logging-0.2.5 vs spec/standalone_helper.rb in berkeley_library-logging-0.2.6
- old
+ new
@@ -5,10 +5,10 @@
# ------------------------------------------------------------
# RSpec
RSpec.configure do |config|
- config.around(:example) do |example|
+ config.around do |example|
next example.run unless defined?(Rails)
rails_orig = Object.send(:remove_const, :Rails)
begin
example.run