lib/keynote/railtie.rb in keynote-0.2.0 vs lib/keynote/railtie.rb in keynote-0.2.1
- old
+ new
@@ -35,10 +35,10 @@
app.config.paths.add 'app/presenters', :eager_load => true
end
end
def self.load_test_integration
- if defined?(RSpec::Rails) && RSpec.respond_to?(:configure)
+ if defined?(RSpec::Rails)
require 'keynote/testing/rspec'
end
if defined?(MiniTest::Rails)
require 'keynote/testing/minitest_rails'