Skip to content

Commit

Permalink
Add rails 2.2.2 to test task and remove quite backtrace usage so 1.2.…
Browse files Browse the repository at this point in the history
…6 testing can run. [Ken Collins]
  • Loading branch information
metaskills committed Jan 7, 2009
1 parent 39c64bd commit 93b1d73
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

* master

* Add rails 2.2.2 to test task and remove quite backtrace usage so 1.2.6 testing can run. [Ken Collins]


*0.4* (October 3rd 2008)

* Use the #737f2bdabb of NamedScope plugin from http://github.com/metaskills/named_scope/tree/master
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
desc 'Test the GroupedScope plugin with Rails 2.1.1, 2.0.4 & 1.2.6 gems'
task :test_rails do
test = Rake::Task['test']
versions = ['2.1.1','2.0.4','1.2.6']
versions = ['2.2.2','2.1.1','2.0.4','1.2.6']
versions.each do |version|
ENV['RAILS_VERSION'] = "#{version}"
test.invoke
Expand Down
1 change: 0 additions & 1 deletion test/helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require File.join(File.dirname(__FILE__),'lib/boot') unless defined?(ActiveRecord)
require 'test/unit'
require 'shoulda'
require 'quietbacktrace'
require 'mocha'
require 'factory_girl'
require 'lib/test_case'
Expand Down
4 changes: 0 additions & 4 deletions test/lib/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ def execute_with_query_record(sql, name = nil, &block)
module GroupedScope
class TestCase < Test::Unit::TestCase

self.new_backtrace_silencer(:shoulda) { |line| line.include? 'lib/shoulda' }
self.new_backtrace_silencer(:mocha) { |line| line.include? 'lib/mocha' }
self.backtrace_silencers << :shoulda << :mocha

def test_truth ; end

protected
Expand Down

0 comments on commit 93b1d73

Please sign in to comment.