Permalink
Browse files

Fixing rspec test on methods.

We don't care about the order of the array.
  • Loading branch information...
ryansch committed Dec 29, 2011
1 parent 75c2ce9 commit 532717b2c3850cad93e0b5a8189b82a41e908856
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/methods_spec.rb
View
@@ -411,7 +411,7 @@ def self.m_two; end
end
out = Hello.methods.grep(/^m_(.+)$/) { $1.to_sym }
- out.should == [:one, :two]
+ out.should =~ [:one, :two]
end
it "obj1.methods.grep(pattern, &block) should be awesome printed" do

0 comments on commit 532717b

Please sign in to comment.