Class: Spring::Commands::ParallelRSpec
- Inherits:
-
Object
- Object
- Spring::Commands::ParallelRSpec
- Defined in:
- lib/spring/commands/parallel_rspec.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
42 43 44 45 |
# File 'lib/spring/commands/parallel_rspec.rb', line 42 def call ::RSpec.configuration.start_time = Time.now if defined?(::RSpec.configuration.start_time) load Gem.bin_path(gem_name, exec_name) end |
#env ⇒ Object
30 31 32 |
# File 'lib/spring/commands/parallel_rspec.rb', line 30 def env(*) "test" end |
#exec_name ⇒ Object
34 35 36 |
# File 'lib/spring/commands/parallel_rspec.rb', line 34 def exec_name "parallel_rspec" end |
#gem_name ⇒ Object
38 39 40 |
# File 'lib/spring/commands/parallel_rspec.rb', line 38 def gem_name "parallel_tests" end |