spec/spec_helper.rb in jquery-rails-0.2.3 vs spec/spec_helper.rb in jquery-rails-0.2.4

- old
+ new

@@ -1,6 +1,13 @@ -# Setup for generator tests +# 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 @@ -16,5 +23,7 @@ Rails.application.config.root = Rails.root # Call configure to load the settings from # Rails.application.config.generators to Rails::Generators Rails::Generators.configure! + +