Class: Spring::Commands::ParallelTests
- Inherits:
-
Object
- Object
- Spring::Commands::ParallelTests
show all
- Defined in:
- lib/spring/commands/parallel_tests.rb
Instance Method Summary
collapse
Instance Method Details
#call ⇒ Object
42
43
44
45
|
# File 'lib/spring/commands/parallel_tests.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_tests.rb', line 30
def env(*)
"test"
end
|
#exec_name ⇒ Object
34
35
36
|
# File 'lib/spring/commands/parallel_tests.rb', line 34
def exec_name
"parallel_rspec"
end
|
#gem_name ⇒ Object
38
39
40
|
# File 'lib/spring/commands/parallel_tests.rb', line 38
def gem_name
"parallel_tests"
end
|