Project

General

Profile

Revision 8e5eda06

Added by Thomas McKay almost 9 years ago

clean-test - updates

View differences:

test/setup_test.rb
105 105
        hammer.run(%W{-v subscription upload --organization-id megacorp --file test/data/megacorp.zip})
106 106
      }
107 107
      stderr.must_equal ''
108
      stdout.must_equal '.*Manifest is being uploaded.*'
108
      stdout.must_match '.*Manifest is being uploaded.*'
109 109
    end
110 110
  end
111 111

  
......
115 115
        hammer.run(%W{-v csv:products --csv-file test/data/products.csv})
116 116
      }
117 117
      stderr.must_equal ''
118
      stdout.must_match /.*xxx.*/
118
      stdout.must_match /.*product 'Point of Sale'.*/
119 119
    end
120 120
  end
121 121

  
......
145 145
        hammer.run(%W{-v csv:systems --csv-file test/data/systems.csv})
146 146
      }
147 147
      stderr.must_equal ''
148
      stdout.must_match /.*xxx.*/
148
      stdout.must_match /.*system 'host0'.*/
149 149
    end
150 150
  end
151 151

  
......
155 155
        hammer.run(%W{-v csv:activationkeys --csv-file test/data/activationkeys.csv})
156 156
      }
157 157
      stderr.must_equal ''
158
      stdout.must_match /.*xxx.*/
158
      stdout.must_match /.*activation key 'damon\.dials@megacorp\.com'.*/
159 159
    end
160 160
  end
161 161

  

Also available in: Unified diff