Permalink
Browse files

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.
  • Loading branch information...
1 parent 7839114 commit d66fbc5ac35133422441f3b15b28b484cbe85c91 @ereslibre ereslibre committed Apr 15, 2012
Showing with 0 additions and 40 deletions.
  1. +0 −8 Rakefile
  2. +0 −3 spec/lib/jquery-rails_spec.rb
  3. +0 −29 spec/spec_helper.rb
View
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
View
3 spec/lib/jquery-rails_spec.rb
@@ -1,3 +0,0 @@
-require 'spec_helper'
-
-it "should probably test something, but I'm damned if I know what"
View
29 spec/spec_helper.rb
@@ -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!
-
-

0 comments on commit d66fbc5

Please sign in to comment.