Commit b0195d5c authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix specs for available statuses

parent f7ae37c1
......@@ -26,7 +26,7 @@ describe Gitlab::Auth, lib: true do
end
end
(HasStatus::AVAILABLE_STATUSES - [:running]).each do |build_status|
(HasStatus::AVAILABLE_STATUSES - ['running']).each do |build_status|
context "for #{build_status} build" do
let!(:build) { create(:ci_build, status: build_status) }
let(:project) { build.project }
......@@ -36,7 +36,7 @@ describe Gitlab::Auth, lib: true do
end
it 'denies authentication' do
expect(subject).not_to eq(Gitlab::Auth::Result.new)
expect(subject).to eq(Gitlab::Auth::Result.new)
end
end
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