lib/emerson.rb in emerson-0.1.0.pre.3 vs lib/emerson.rb in emerson-0.1.0.pre.4
- old
+ new
@@ -37,13 +37,14 @@
# @example in 'config/initializers/emerson.rb'
# Emerson.setup do |config|
# config.fixture_path = Rails.root.join('custom/path')
# end
def self.setup
- # environmental defaults:
- if defined?(RSpec)
- self.fixture_path ||= RSpec.configuration.fixture_path
- end
+ # # environmental defaults:
+ # # TODO: rethink this to remove implicit ActiveRecord dependency.
+ # if defined?(RSpec)
+ # self.fixture_path ||= RSpec.configuration.fixture_path
+ # end
yield self
end
# Helper to determine whether `Emerson::Responder` is enabled.