Permalink
Browse files

remove the defined order restriction

  • Loading branch information...
1 parent dbf4afb commit 07f8702d41bdfa8c9eb8e29aa616bd4dab858bce @JonRowe JonRowe committed with myronmarston Mar 3, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/rspec/mocks/stub_spec.rb
@@ -74,7 +74,7 @@ def existing_private_instance_method
expect(@instance.msg2).to eq(2)
end
- context "stubbing with prepend", :if => RubyFeatures.module_prepends_supported?, :order => :defined do
+ context "stubbing with prepend", :if => RubyFeatures.module_prepends_supported? do
module ToBePrepended
def value
"#{super}_prepended".to_sym

0 comments on commit 07f8702

Please sign in to comment.