Project

General

Profile

« Previous | Next » 

Revision 8e5eda06

Added by Thomas McKay about 10 years ago

clean-test - updates

View differences:

test/setup_test.rb
hammer.run(%W{-v subscription upload --organization-id megacorp --file test/data/megacorp.zip})
}
stderr.must_equal ''
stdout.must_equal '.*Manifest is being uploaded.*'
stdout.must_match '.*Manifest is being uploaded.*'
end
end
......
hammer.run(%W{-v csv:products --csv-file test/data/products.csv})
}
stderr.must_equal ''
stdout.must_match /.*xxx.*/
stdout.must_match /.*product 'Point of Sale'.*/
end
end
......
hammer.run(%W{-v csv:systems --csv-file test/data/systems.csv})
}
stderr.must_equal ''
stdout.must_match /.*xxx.*/
stdout.must_match /.*system 'host0'.*/
end
end
......
hammer.run(%W{-v csv:activationkeys --csv-file test/data/activationkeys.csv})
}
stderr.must_equal ''
stdout.must_match /.*xxx.*/
stdout.must_match /.*activation key 'damon\.dials@megacorp\.com'.*/
end
end

Also available in: Unified diff