Sha256: bb5fb1f6ec30d070049d0197564e8ad3ae9585a74c1fe79de3bff9f23ffcc74d
Contents?: true
Size: 506 Bytes
Versions: 2
Compression:
Stored size: 506 Bytes
Contents
module Padrino module Generators module Components module Mocks module RrGen def setup_mock require_dependencies 'rr', :group => 'test' if options[:test] == 'riot' inject_into_file "test/test_config.rb"," Riot.rr\n", :after => "class Riot::Situation\n" else insert_mocking_include "RR::Adapters::RRMethods", :path => "test/test_config.rb" end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.8.1 | lib/padrino-gen/generators/components/mocks/rr_gen.rb |
padrino-gen-0.8.0 | lib/padrino-gen/generators/components/mocks/rr_gen.rb |