Commit 3b943fbb authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix the test due to the format changed

parent 7209ea4f
......@@ -5,15 +5,17 @@ describe SlackService::PipelineMessage do
let(:args) do
{
sha: '97de212e80737a608d939f648d959671fb0a0142',
tag: false,
ref: 'develop',
status: status,
object_attributes: {
id: 123,
sha: '97de212e80737a608d939f648d959671fb0a0142',
tag: false,
ref: 'develop',
status: status,
duration: duration
},
project: { path_with_namespace: 'project_name',
web_url: 'somewhere.com' },
commit: { author_name: 'hacker' },
object_attributes: { duration: duration,
id: 123 }
commit: { author_name: 'hacker' }
}
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment