Sha256: 8418ccf36f4d5c7429d60568f15db8db106258156ea989654b74bc1547054d43

Contents?: true

Size: 335 Bytes

Versions: 11

Compression:

Stored size: 335 Bytes

Contents

module Padrino
  module Generators
    module Components
      module Mocks
        
        module MochaGen
          def setup_mock
            require_dependencies 'mocha', :env => :testing
            insert_mocking_include "Mocha::API", :path => "test/test_config.rb"
          end
        end
        
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
padrino-gen-0.2.6 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.2.5 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.2.2 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.2.1 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.2.0 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.1.5 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.1.4 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.1.3 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.1.2 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.1.1 lib/generators/components/mocks/mocha_gen.rb
padrino-gen-0.1.0 lib/generators/components/mocks/mocha_gen.rb