Sha256: afb1f00e3db1c480c41e5025a51946604ec56559d2fcd482f3b307ae59c58749
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
# Set up RSpec require 'webmock/rspec' Spec::Runner.configure do |config| config.include WebMock::API end # Set up generator tests require 'rails/all' require 'rails/generators' require 'rails/generators/test_case' class TestApp < Rails::Application config.root = File.dirname(__FILE__) end Rails.application = TestApp module Rails def self.root @root ||= File.expand_path("../../tmp/rails", __FILE__) end end Rails.application.config.root = Rails.root # Call configure to load the settings from # Rails.application.config.generators to Rails::Generators Rails::Generators.configure!
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mootools-rails-1.0.1 | spec/spec_helper.rb |
mootools-rails-1.0.0 | spec/spec_helper.rb |
mootools-rails-0.2 | spec/spec_helper.rb |