File tree 3 files changed +14
-15
lines changed
3 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 1
1
require 'bundler/gem_tasks'
2
2
3
- # The benchmarking tasks have been merged together and now live at
4
- # github.com/chanks/queue-shootout.
5
-
6
- require 'rspec/core/rake_task'
7
-
8
- RSpec ::Core ::RakeTask . new :default do |spec |
9
- spec . pattern = './spec/**/*_spec.rb'
10
- end
11
-
12
- # Shortcut to skip the adapter specs, and run only with the basic PG
13
- # connection. I use this occasionally to make sure ActiveRecord isn't loaded,
14
- # so any accidental Rails-isms are caught.
15
- RSpec ::Core ::RakeTask . new :pg do |spec |
16
- spec . pattern = './spec/unit/*_spec.rb'
17
- end
3
+ Dir [ "./tasks/*.rb" ] . sort . each &method ( :require )
Original file line number Diff line number Diff line change
1
+ # The benchmarking tasks have been merged together and now live at github.com/chanks/queue-shootout.
Original file line number Diff line number Diff line change
1
+ require 'rspec/core/rake_task'
2
+
3
+ RSpec ::Core ::RakeTask . new :default do |spec |
4
+ spec . pattern = './spec/**/*_spec.rb'
5
+ end
6
+
7
+ # Shortcut to skip the adapter specs, and run only with the basic PG
8
+ # connection. I use this occasionally to make sure ActiveRecord isn't loaded,
9
+ # so any accidental Rails-isms are caught.
10
+ RSpec ::Core ::RakeTask . new :pg do |spec |
11
+ spec . pattern = './spec/unit/*_spec.rb'
12
+ end
You can’t perform that action at this time.
0 commit comments