lib/padrino-gen/generators/components/mocks/rr_gen.rb in padrino-gen-0.2.6 vs lib/padrino-gen/generators/components/mocks/rr_gen.rb in padrino-gen-0.2.9
- old
+ new
@@ -3,10 +3,10 @@
module Components
module Mocks
module RrGen
def setup_mock
- require_dependencies 'rr', :env => :testing
+ require_dependencies 'rr', :only => :testing
insert_mocking_include "RR::Adapters::RRMethods", :path => "test/test_config.rb"
end
end
end
\ No newline at end of file