Sha256: 0a0cd4652ff5b6bb36efcb398c578823044599e504e38b97dec8fca05f5265d9

Contents?: true

Size: 204 Bytes

Versions: 20

Compression:

Stored size: 204 Bytes

Contents

module SinatraMore
  module MochaMockGen
    def setup_mock
      require_dependencies 'mocha', :env => :testing
      insert_mocking_include "Mocha::API", :path => "test/test_config.rb"
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
sinatra_more-0.3.33 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.32 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.31 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.30 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.29 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.28 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.27 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.26 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.25 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.24 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.23 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.22 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.21 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.18 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.16 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.15 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.14 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.13 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.12 generators/components/mocks/mocha_mock_gen.rb
sinatra_more-0.3.11 generators/components/mocks/mocha_mock_gen.rb