Skip to content

Commit

Permalink
add some clarity to lib/draper.rb regarding which requires are for …
Browse files Browse the repository at this point in the history
…supporting test libs
  • Loading branch information
cookrn committed May 18, 2012
1 parent f68a7da commit 78e782c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/draper.rb
Expand Up @@ -9,7 +9,8 @@
require 'draper/helper_support'
require 'draper/view_context'
require 'draper/decorated_enumerable_proxy'
require 'draper/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
require 'draper/minitest_integration'
require 'draper/railtie' if defined?(Rails)

# Test Support
require 'draper/test/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
require 'draper/test/minitest_integration' if defined?(MiniTest::Spec)

0 comments on commit 78e782c

Please sign in to comment.