Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-01 07:57:11 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2018-10-02 18:08:14 +0300
commit384da9279eefd7ebcdfd684ff234540d935ededd (patch)
tree6e29376bb9f440095effec76c69f383d574c24a3 /spec/services/ci/run_scheduled_build_service_spec.rb
parentefaa3669c182e68d43b68a1f4257b483aad55f01 (diff)
Fix spec
Diffstat (limited to 'spec/services/ci/run_scheduled_build_service_spec.rb')
-rw-r--r--spec/services/ci/run_scheduled_build_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/run_scheduled_build_service_spec.rb b/spec/services/ci/run_scheduled_build_service_spec.rb
index 145905db0cf..be2aad33ef4 100644
--- a/spec/services/ci/run_scheduled_build_service_spec.rb
+++ b/spec/services/ci/run_scheduled_build_service_spec.rb
@@ -29,7 +29,7 @@ describe Ci::RunScheduledBuildService do
context 'when scheduled_at is not expired' do
let(:build) { create(:ci_build, :scheduled, user: user, project: project, pipeline: pipeline) }
- it 'can run the build' do
+ it 'can not run the build' do
expect { subject }.to raise_error(StateMachines::InvalidTransition)
expect(build).to be_scheduled