Make rubocop happy
This commit is contained in:
parent
198f4b703d
commit
fb12b81b42
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue