Issue 101 #106

Merged
merged 2 commits into from Feb 8, 2012

Projects

None yet

2 participants

@preethiramdev
Contributor

Solution for #101: making the ordering common to all objects in the spec instead of specific to each object.

@dchelimsky dchelimsky commented on the diff Feb 8, 2012
spec/spec_helper.rb
@@ -36,7 +36,7 @@ def treats_method_missing_as_private(options = {:noop => true, :subject => nil})
RSpec.configure do |config|
config.mock_with :rspec
config.color_enabled = true
- config.order = :random
+ # config.order = :random
@dchelimsky
dchelimsky Feb 8, 2012 Member

Why is this commented out? Was it causing you a problem?

@preethiramdev
preethiramdev Feb 8, 2012 Contributor

Only when I tried to run individual specs. eg rspec spec/mock_ordering_spec.rb

@dchelimsky dchelimsky merged commit b4e6746 into rspec:master Feb 8, 2012
@dchelimsky dchelimsky added a commit that referenced this pull request Feb 8, 2012
@dchelimsky dchelimsky Changelog for #101, #106 35f67e6
@dchelimsky dchelimsky added a commit that referenced this pull request Feb 9, 2012
@dchelimsky dchelimsky clean up order constraint spec 3f94b50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment