Sha256: 7cc71a90c987dbff6ec6bdaeb8cfeec530443b74159a27341e64ccccaf02be8e
Contents?: true
Size: 593 Bytes
Versions: 2
Compression:
Stored size: 593 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'helper' class TaskTest < Test::Unit::TestCase def test_fire jobs_data = fixture('jobs.json') Bellows::SmokeStack.stubs(:jobs).returns(JSON.parse(jobs_data)) smoke_tests_data = fixture('nova_smoke_tests.json') Bellows::HTTP.stubs(:get).returns(smoke_tests_data) gerrit_data = fixture('gerrit.json') Bellows::Gerrit.stubs(:run_cmd).returns(gerrit_data) response = mock() Bellows::HTTP.stubs(:post).returns(response) tasks = Bellows::Tasks.new tasks.fire('nova', options={:quiet => true}) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bellows-1.0.6 | test/test_task.rb |
bellows-1.0.5 | test/test_task.rb |