diff options
author | Toon Claes <toon@gitlab.com> | 2019-02-28 19:57:34 +0100 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2019-02-28 19:57:34 +0100 |
commit | 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 (patch) | |
tree | c3e1b69c58a412ba1c6f50a0337a23d9f9d6e1a4 /spec/factories/commit_statuses.rb | |
parent | f6453eca992a9c142268e78ac782cef98110d183 (diff) | |
download | gitlab-ce-tc-standard-gem.tar.gz |
Ran standardrb --fix on the whole codebasetc-standard-gem
Inspired by https://twitter.com/searls/status/1101137953743613952 I
decided to try https://github.com/testdouble/standard on our codebase.
It's opinionated, but at least it's a _standard_.
Diffstat (limited to 'spec/factories/commit_statuses.rb')
-rw-r--r-- | spec/factories/commit_statuses.rb | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/spec/factories/commit_statuses.rb b/spec/factories/commit_statuses.rb index 381bf07f6a0..96cba785931 100644 --- a/spec/factories/commit_statuses.rb +++ b/spec/factories/commit_statuses.rb @@ -1,48 +1,48 @@ FactoryBot.define do factory :commit_status, class: CommitStatus do - name 'default' - stage 'test' + name "default" + stage "test" stage_idx 0 - status 'success' - description 'commit status' + status "success" + description "commit status" pipeline factory: :ci_pipeline_with_one_job - started_at 'Tue, 26 Jan 2016 08:21:42 +0100' - finished_at 'Tue, 26 Jan 2016 08:23:42 +0100' + started_at "Tue, 26 Jan 2016 08:21:42 +0100" + finished_at "Tue, 26 Jan 2016 08:23:42 +0100" trait :success do - status 'success' + status "success" end trait :failed do - status 'failed' + status "failed" end trait :canceled do - status 'canceled' + status "canceled" end trait :skipped do - status 'skipped' + status "skipped" end trait :running do - status 'running' + status "running" end trait :pending do - status 'pending' + status "pending" end trait :created do - status 'created' + status "created" end trait :manual do - status 'manual' + status "manual" end trait :scheduled do - status 'scheduled' + status "scheduled" end after(:build) do |build, evaluator| @@ -50,8 +50,8 @@ FactoryBot.define do end factory :generic_commit_status, class: GenericCommitStatus do - name 'generic' - description 'external commit status' + name "generic" + description "external commit status" end end end |