Skip to content

Commit

Permalink
removing obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Dzvinkovsky committed Jul 17, 2012
1 parent 7a9a32e commit 97fe984
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 43 deletions.
4 changes: 0 additions & 4 deletions test/Gemfile

This file was deleted.

27 changes: 0 additions & 27 deletions test/Gemfile.lock

This file was deleted.

13 changes: 1 addition & 12 deletions test/Rakefile
@@ -1,18 +1,8 @@
require 'bundler'
require 'rake/testtask'
require 'tmpdir'
require 'rake/testtask'

Dir.chdir(File.dirname(__FILE__) + '/..')

tmpdir = Dir.mktmpdir
File.open(tmpdir + '/Gemfile', 'w') do |f|
f << File.read('Gemfile')
f << File.read('test/Gemfile')
end
Dir.chdir tmpdir do
Bundler.setup
end

Rake::TestTask.new do |t|
examples_tests_dir = Dir.mktmpdir('iw_examples')

Expand Down Expand Up @@ -49,7 +39,6 @@ Rake::TestTask.new do |t|
t.libs << "lib" << "test" << examples_tests_dir
files = FileList['test/**/test_**.rb',
examples_tests_dir + '/**/test_*.rb']
$:.each{ |path| t.ruby_opts << "-I#{path}" }
t.test_files = files.keep_if do |f|
f =~ Regexp.new(ENV['TESTP'] || '') and
not ( r = ENV['EXCLP'] and
Expand Down

0 comments on commit 97fe984

Please sign in to comment.