Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

sort option keys to ensure libs precedes requires

  • Loading branch information...
commit f988c5e82480057f3e50ac0a2979cc804453b237 1 parent fa42f5b
David Chelimsky dchelimsky authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rspec/core/configuration_options.rb
4 lib/rspec/core/configuration_options.rb
View
@@ -15,8 +15,8 @@ def initialize(args)
end
def configure(config)
- options.each do |key, value|
- config.send("#{key}=", value)
+ options.keys.sort{|a,b| a.to_s <=> b.to_s}.each do |key|
+ config.send("#{key}=", options[key])
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.