Sha256: ff8273cd37bb8e8fba09f0637790b6864de19d6dcee2b4eac00e39d3c7dcf035

Contents?: true

Size: 247 Bytes

Versions: 11

Compression:

Stored size: 247 Bytes

Contents

module SinatraMore
  module MochaMockGen
    def setup_mock
      insert_require 'mocha', :path => "test/test_config.rb", :after => "require 'rack/test'\n"
      insert_mocking_include "Mocha::API", :path => "test/test_config.rb"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sinatra_more-0.3.10 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.9 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.8 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.7 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.6 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.5 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.4 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.3 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.2 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.1 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.0 generators/components/mocks/mocha_mock_gen.rb