From 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Thu, 28 Feb 2019 19:57:34 +0100 Subject: Ran standardrb --fix on the whole codebase 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_. --- spec/factories/commit_statuses.rb | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'spec/factories/commit_statuses.rb') 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 -- cgit v1.2.1