Sha256: e857c3be8ed7218ee0086f7ff50e9911541b0bb8d56384cbbac9266d8f0a373f

Contents?: true

Size: 753 Bytes

Versions: 7

Compression:

Stored size: 753 Bytes

Contents

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
TEST_ORM = (ENV["TEST_ORM"] || :active_record).to_sym

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
require "shoulda"
require "mocha"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

# For generators
require "rails/generators/test_case"
require "generators/maestrano/install_generator"
require "generators/maestrano/user_generator"
require "generators/maestrano/group_generator"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
maestrano-rails-0.7.0 test/test_helper.rb
maestrano-rails-0.6.0 test/test_helper.rb
maestrano-rails-0.5.0 test/test_helper.rb
maestrano-rails-0.4.0 test/test_helper.rb
maestrano-rails-0.3.0 test/test_helper.rb
maestrano-rails-0.2.0 test/test_helper.rb
maestrano-rails-0.1.0 test/test_helper.rb