Skip to content

Commit

Permalink
verify RSpec and its configuration object are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Erhard committed Aug 21, 2014
1 parent 9f889c2 commit f17a93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spring/commands/rspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def gem_name
end

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

0 comments on commit f17a93f

Please sign in to comment.