From e2bbbb1a9aea72e4313cdc257460eb416fe8dc0b Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 22 Feb 2017 12:03:32 -0600 Subject: Fix new offenses --- spec/support/repo_helpers.rb | 13 +++++++------ spec/support/stub_gitlab_calls.rb | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'spec/support') diff --git a/spec/support/repo_helpers.rb b/spec/support/repo_helpers.rb index aab5d32ff36..e9d5c7b12ae 100644 --- a/spec/support/repo_helpers.rb +++ b/spec/support/repo_helpers.rb @@ -42,7 +42,7 @@ Signed-off-by: Dmitriy Zaporozhets eos ) end - + def another_sample_commit OpenStruct.new( id: "e56497bb5f03a90a51293fc6d516788730953899", @@ -101,11 +101,12 @@ eos ] commits = %w( -5937ac0a7beb003549fc5fd26fc247adbce4a52e -570e7b2abdd848b95f2f578043fc23bd6f6fd24d -6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9 -d14d6c0abdd253381df51a723d58691b2ee1ab08 -c1acaa58bbcbc3eafe538cb8274ba387047b69f8).reverse # last commit is recent one + 5937ac0a7beb003549fc5fd26fc247adbce4a52e + 570e7b2abdd848b95f2f578043fc23bd6f6fd24d + 6f6d7e7ed97bb5f0054f2b1df789b39ca89b6ff9 + d14d6c0abdd253381df51a723d58691b2ee1ab08 + c1acaa58bbcbc3eafe538cb8274ba387047b69f8 + ).reverse # last commit is recent one OpenStruct.new( source_branch: 'master', diff --git a/spec/support/stub_gitlab_calls.rb b/spec/support/stub_gitlab_calls.rb index 641b11d51bf..69e1ad18b15 100644 --- a/spec/support/stub_gitlab_calls.rb +++ b/spec/support/stub_gitlab_calls.rb @@ -53,7 +53,7 @@ module StubGitlabCalls stub_request(:post, "#{gitlab_url}api/v3/session.json") .with(body: "{\"email\":\"test@test.com\",\"password\":\"123456\"}", - headers: { 'Content-Type' => 'application/json' }) + headers: { 'Content-Type' => 'application/json' }) .to_return(status: 201, body: f, headers: { 'Content-Type' => 'application/json' }) end -- cgit v1.2.1