mirror of
https://github.com/rails/jquery-rails.git
synced 2026-01-10 15:17:54 -05:00
Remove RSpec tests. They got outdated, not adapted to RSpec2 and are not passing. They also weren't testing anything, so we can get rid of them.
This commit is contained in:
8
Rakefile
8
Rakefile
@@ -1,10 +1,2 @@
|
||||
require 'bundler'
|
||||
Bundler::GemHelper.install_tasks
|
||||
|
||||
# require "spec/rake/spectask"
|
||||
# desc "Run all examples"
|
||||
# Spec::Rake::SpecTask.new(:spec) do |t|
|
||||
# t.ruby_opts = ['-r test/unit']
|
||||
# t.spec_opts = %w[--color]
|
||||
# end
|
||||
task :default => :spec
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
require 'spec_helper'
|
||||
|
||||
it "should probably test something, but I'm damned if I know what"
|
||||
@@ -1,29 +0,0 @@
|
||||
# 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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user