From 649c9969ba57bf578f43310ec34e3820876b5c4c Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 22 Jun 2015 14:33:01 -0400 Subject: Fix Style/IndentationConsistency cop violations --- spec/lib/gitlab/satellite/action_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'spec/lib') diff --git a/spec/lib/gitlab/satellite/action_spec.rb b/spec/lib/gitlab/satellite/action_spec.rb index 28e3d64ee2b..5c05ec1d772 100644 --- a/spec/lib/gitlab/satellite/action_spec.rb +++ b/spec/lib/gitlab/satellite/action_spec.rb @@ -18,14 +18,12 @@ describe 'Gitlab::Satellite::Action' do expect(starting_remote_count).to be >= 1 #kind of hookey way to add a second remote origin_uri = repo.git.remote({v: true}).split(" ")[1] - begin + repo.git.remote({raise: true}, 'add', 'another-remote', origin_uri) repo.git.branch({raise: true}, 'a-new-branch') expect(repo.heads.size).to be > (starting_remote_count) expect(repo.git.remote().split(" ").size).to be > (starting_remote_count) - rescue - end repo.git.config({}, "user.name", "#{user.name} -- foo") repo.git.config({}, "user.email", "#{user.email} -- foo") -- cgit v1.2.1