1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Moved misc specs to spec/misc_specs.rb

This commit is contained in:
Mike Dvorkin 2012-09-03 13:57:10 -07:00
parent 8a222fb709
commit fa958455ca
3 changed files with 90 additions and 85 deletions

View file

@ -411,7 +411,7 @@ describe "Methods arrays" do
def self.m_two; end
end
out = Hello.methods.grep(/^m_(.+)$/) { $1.to_sym }
out = Hello.methods.sort.grep(/^m_(.+)$/) { $1.to_sym }
out.should == [:one, :two]
end