diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 14:39:56 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 14:39:56 +0200 |
commit | fb12b81b422e0d17751f4b63462baa503996cd37 (patch) | |
tree | 746130cf222529ec706ba2db0ed502112e8ebe67 | |
parent | 198f4b703d98892e062525a37e2420429d83369d (diff) | |
download | gitlab-ce-fb12b81b422e0d17751f4b63462baa503996cd37.tar.gz |
Make rubocop happy
-rw-r--r-- | spec/factories/ci/commits.rb | 4 | ||||
-rw-r--r-- | spec/services/ci/create_commit_service_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/ci/commits.rb b/spec/factories/ci/commits.rb index 0c67e579a79..79e000b7ccb 100644 --- a/spec/factories/ci/commits.rb +++ b/spec/factories/ci/commits.rb @@ -30,13 +30,13 @@ FactoryGirl.define do factory :ci_commit_with_one_job do after(:build) do |commit| - allow(commit).to receive(:ci_yaml_file) { YAML.dump({rspec: {script: "ls"}}) } + allow(commit).to receive(:ci_yaml_file) { YAML.dump({ rspec: { script: "ls" } }) } end end factory :ci_commit_with_two_jobs do after(:build) do |commit| - allow(commit).to receive(:ci_yaml_file) { YAML.dump({rspec: {script: "ls"}, spinach: {script: "ls"}}) } + allow(commit).to receive(:ci_yaml_file) { YAML.dump({ rspec: { script: "ls" }, spinach: { script: "ls" } }) } end end diff --git a/spec/services/ci/create_commit_service_spec.rb b/spec/services/ci/create_commit_service_spec.rb index a797f73565e..707fe779dcc 100644 --- a/spec/services/ci/create_commit_service_spec.rb +++ b/spec/services/ci/create_commit_service_spec.rb @@ -71,7 +71,7 @@ module Ci end describe :ci_skip? do - let (:message) { "some message[ci skip]" } + let(:message) { "some message[ci skip]" } before do allow_any_instance_of(Ci::Commit).to receive(:git_commit_message) { message } |