Sha256: c7de4ea20a6c12bfff2115cf56e43272adc091ba231b26460a4213c6810e17f4

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

# Set RAILS_ROOT and load the environment if it's not already loaded.
unless defined?(Rails)
  ENV["RAILS_ROOT"] = File.expand_path("../../", __FILE__)
  require File.expand_path("../../config/environment", __FILE__)
end

Teaspoon.configure do |config|
  config.suite do |suite|
    suite.use_framework :mocha
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teaspoon-0.9.1 lib/generators/teaspoon/install/templates/mocha/env.rb
teaspoon-0.9.0 lib/generators/teaspoon/install/templates/mocha/env.rb
teaspoon-0.8.0 lib/generators/teaspoon/install/templates/mocha/env.rb