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:
Rafael Fernández López
2012-04-16 00:28:15 +02:00
parent 7839114c49
commit d66fbc5ac3
3 changed files with 0 additions and 40 deletions

View File

@@ -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

View File

@@ -1,3 +0,0 @@
require 'spec_helper'
it "should probably test something, but I'm damned if I know what"

View File

@@ -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!