Sha256: a90031f403b08a2742f8d41da8145610419ac1dd839cc1addb062a383b068319

Contents?: true

Size: 603 Bytes

Versions: 50

Compression:

Stored size: 603 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

50 entries across 45 versions & 8 rubygems

Version Path
jquery-rails-1.0.3 spec/spec_helper.rb
jquery-rails-1.0.2 spec/spec_helper.rb
jquery-rails-1.0.1 spec/spec_helper.rb
jquery-rails-1.0 spec/spec_helper.rb
jquery-rails-1.0.rc spec/spec_helper.rb
jquery-rails-0.2.7 spec/spec_helper.rb
jquery_underscore-rails-0.1.0 spec/spec_helper.rb
jquery-rails-0.2.6 spec/spec_helper.rb
jquery-rails-0.2.5 spec/spec_helper.rb
jquery-rails-0.2.4 spec/spec_helper.rb