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:
		
							parent
							
								
									8a222fb709
								
							
						
					
					
						commit
						fa958455ca
					
				
					 3 changed files with 90 additions and 85 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue