Skip to content

Commit 3556365

Browse files
committed
Simplify fix for RSpec 2.x
1 parent e55fc5d commit 3556365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/spring/commands/rspec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def gem_name
1414
end
1515

1616
def call
17-
::RSpec.configuration.start_time = Time.now if defined?(::RSpec.configuration) && ::RSpec.configuration.respond_to?(:start_time=)
17+
::RSpec.configuration.start_time = Time.now if defined?(::RSpec.configuration.start_time)
1818
load Gem.bin_path(gem_name, exec_name)
1919
end
2020
end

0 commit comments

Comments
 (0)