test/test_task.rb in bellows-1.0.11 vs test/test_task.rb in bellows-1.0.12
- old
+ new
@@ -22,9 +22,12 @@
end
def test_comment
+ sample_config = fixture('config.yaml')
+ Bellows::Util.stubs(:load_configs).returns(YAML::load(sample_config))
+
jobs_data = fixture('jobs.json')
Bellows::SmokeStack.stubs(:jobs).returns(JSON.parse(jobs_data))
gerrit_data = fixture('gerrit.json')
Bellows::Gerrit.stubs(:run_cmd).returns(gerrit_data)