method
    
    assert_contains_make_command
 
  
      v2_4_6 - 
      Show latest stable
 - 
    0 notes - 
    Class: TestCase
    
  
  
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
assert_contains_make_command(target, output, msg = nil)
  public
  
    Hide source    
    
      
  
# File lib/rubygems/test_case.rb, line 168 def assert_contains_make_command(target, output, msg = nil) if output.match(/\n/) msg = message(msg) { 'Expected output containing make command "%s": %s' % [ ('%s %s' % [make_command, target]).rstrip, output.inspect ] } else msg = message(msg) { 'Expected make command "%s": %s' % [ ('%s %s' % [make_command, target]).rstrip, output.inspect ] } end assert scan_make_command_lines(output).any? { |line| make = parse_make_command_line(line) if make[:targets].include?(target) yield make, line if block_given? true else false end }, msg end

 RSpec
RSpec Ruby on Rails
Ruby on Rails Ruby
Ruby 
   
    
     
   
   = protected
 = protected
  