Sha256: b7eac543405a3344928fd6294c8890428e7383a745c10537b5cc35440a63fbbc

Contents?: true

Size: 336 Bytes

Versions: 12

Compression:

Stored size: 336 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
padrino-gen-0.7.3 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.7.2 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.7.1 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.7.0 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.6.7 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.6.3 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.6.2 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.6.1 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.5.0 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.4.6 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.4.5 lib/padrino-gen/generators/components/mocks/mocha_gen.rb
padrino-gen-0.2.9 lib/padrino-gen/generators/components/mocks/mocha_gen.rb