Skip to content

Commit

Permalink
Simplify fix for RSpec 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
monkbroc committed Dec 13, 2014
1 parent e55fc5d commit 3556365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spring/commands/rspec.rb
Expand Up @@ -14,7 +14,7 @@ def gem_name
end

def call
::RSpec.configuration.start_time = Time.now if defined?(::RSpec.configuration) && ::RSpec.configuration.respond_to?(:start_time=)
::RSpec.configuration.start_time = Time.now if defined?(::RSpec.configuration.start_time)
load Gem.bin_path(gem_name, exec_name)
end
end
Expand Down

0 comments on commit 3556365

Please sign in to comment.