Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move order option to .rspec file so it can be overridden on the CLI

  • Loading branch information...
commit 024638f04905c2ff4aea316c22718354f33fe004 1 parent 24a3ada
@dchelimsky dchelimsky authored
View
1  .rspec
@@ -1,2 +1,3 @@
--default_path spec
+--order rand
--tag ~ui
View
2  spec/rspec/core/formatters/html_formatter_spec.rb
@@ -16,7 +16,7 @@ module Formatters
let(:generated_html) do
options = RSpec::Core::ConfigurationOptions.new(
- %w[spec/rspec/core/resources/formatter_specs.rb --format html]
+ %w[spec/rspec/core/resources/formatter_specs.rb --format html --order default]
)
options.parse_options
err, out = StringIO.new, StringIO.new
View
2  spec/rspec/core/formatters/text_mate_formatter_spec.rb
@@ -16,7 +16,7 @@ module Formatters
let(:generated_html) do
options = RSpec::Core::ConfigurationOptions.new(
- %w[spec/rspec/core/resources/formatter_specs.rb --format textmate]
+ %w[spec/rspec/core/resources/formatter_specs.rb --format textmate --order default]
)
options.parse_options
err, out = StringIO.new, StringIO.new
View
1  spec/spec_helper.rb
@@ -88,7 +88,6 @@ def in_editor?
!(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
end
}
- c.order = :random
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.