Skip to content

Commit 27302ec

Browse files
committed
Merge pull request jonleighton#28 from monkbroc/master
Fix compatibility with RSpec 2.x
2 parents 599a645 + 3556365 commit 27302ec

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)
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)