Skip to content

Commit 85167a6

Browse files
committed
removing leftright, simplify test task
1 parent 96bb1b2 commit 85167a6

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ group :test do
66
gem "rake"
77
gem "rack-test", "~> 0.5"
88
gem "mocha", "~> 0.9.7"
9-
gem "leftright", :platforms => :mri_18
109
gem "yajl-ruby", "~>0.8.2", :platforms => :mri
1110
gem "json", "~>1.5.3", :platforms => [:jruby, :rbx]
1211
gem "hoptoad_notifier"

Rakefile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,11 @@ require 'rake/testtask'
2020

2121
task :default => :test
2222

23-
if command?(:rg)
24-
desc "Run the test suite with rg"
25-
task :test do
26-
Dir['test/**/*_test.rb'].each do |f|
27-
sh("rg #{f}")
28-
end
29-
end
30-
else
31-
Rake::TestTask.new do |test|
32-
test.libs << "test"
33-
test.test_files = FileList['test/**/*_test.rb']
34-
end
23+
Rake::TestTask.new do |test|
24+
test.verbose = true
25+
test.libs << "test"
26+
test.libs << "lib"
27+
test.test_files = FileList['test/**/*_test.rb']
3528
end
3629

3730
if command? :kicker

0 commit comments

Comments
 (0)