Skip to content
Snippets Groups Projects
Commit a5b10196 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki
Browse files

Fix tests

parent fd6b5894
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -64,7 +64,7 @@ module Ci
expect(result).to be_persisted
expect(result.builds.any?).to be_falsey
expect(result.status).to eq('skipped')
expect(commit.yaml_errors).to_not be_nil
expect(result.yaml_errors).to be_nil
end
 
it 'skips commits if yaml is invalid' do
Loading
Loading
@@ -79,7 +79,7 @@ module Ci
commits: commits
)
expect(commit.builds.any?).to be false
expect(commit.status).to eq('skipped')
expect(commit.status).to eq('failed')
expect(commit.yaml_errors).to_not be_nil
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment