summaryrefslogtreecommitdiff
path: root/spec/models/ci/build_spec.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-06-05 11:09:51 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-06-05 11:09:51 +0000
commite58e24b4d4256a42c0c7e764227f3c3c53fdb1bd (patch)
treefda5238ab4372c55f442730231af772f767cf1a2 /spec/models/ci/build_spec.rb
parentd9a761ed14ab5025626dee17faf1528c1264a1b0 (diff)
downloadgitlab-ce-e58e24b4d4256a42c0c7e764227f3c3c53fdb1bd.tar.gz
Revert "Merge branch..."revert-86900f00
This reverts merge request !27503
Diffstat (limited to 'spec/models/ci/build_spec.rb')
-rw-r--r--spec/models/ci/build_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb
index 89d18abee27..d98db024f73 100644
--- a/spec/models/ci/build_spec.rb
+++ b/spec/models/ci/build_spec.rb
@@ -1294,7 +1294,7 @@ describe Ci::Build do
build.cancel!
end
- it { is_expected.not_to be_retryable }
+ it { is_expected.to be_retryable }
end
end
@@ -1824,7 +1824,7 @@ describe Ci::Build do
context 'when build has been canceled' do
subject { build_stubbed(:ci_build, :manual, status: :canceled) }
- it { is_expected.not_to be_playable }
+ it { is_expected.to be_playable }
end
context 'when build is successful' do