diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-22 21:33:01 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-22 21:33:01 +0300 |
commit | 649c9969ba57bf578f43310ec34e3820876b5c4c (patch) | |
tree | 834e041430dc554c90ba11820ddc5a8173465488 /spec/lib | |
parent | 7b9b3c5aab4fd4de55a1ba77cf4c043a110ad9cc (diff) |
Fix Style/IndentationConsistency cop violations
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/satellite/action_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
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") |