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/services/projects | |
parent | 7b9b3c5aab4fd4de55a1ba77cf4c043a110ad9cc (diff) |
Fix Style/IndentationConsistency cop violations
Diffstat (limited to 'spec/services/projects')
-rw-r--r-- | spec/services/projects/update_service_spec.rb | 4 | ||||
-rw-r--r-- | spec/services/projects/upload_service_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/projects/update_service_spec.rb b/spec/services/projects/update_service_spec.rb index ea5b8813105..5b9b5de8c81 100644 --- a/spec/services/projects/update_service_spec.rb +++ b/spec/services/projects/update_service_spec.rb @@ -13,8 +13,8 @@ describe Projects::UpdateService do before do @created_private = @project.private? - @opts.merge!(visibility_level: Gitlab::VisibilityLevel::PRIVATE) - update_project(@project, @user, @opts) + @opts.merge!(visibility_level: Gitlab::VisibilityLevel::PRIVATE) + update_project(@project, @user, @opts) end it { expect(@created_private).to be_truthy } diff --git a/spec/services/projects/upload_service_spec.rb b/spec/services/projects/upload_service_spec.rb index e5c47015a03..7aa26857649 100644 --- a/spec/services/projects/upload_service_spec.rb +++ b/spec/services/projects/upload_service_spec.rb @@ -22,7 +22,7 @@ describe Projects::UploadService do it { expect(@link_to_file['url']).to match('banana_sample.gif') } end - context 'for valid png file' do + context 'for valid png file' do before do png = fixture_file_upload(Rails.root + 'spec/fixtures/dk.png', 'image/png') @@ -38,7 +38,7 @@ describe Projects::UploadService do it { expect(@link_to_file['url']).to match('dk.png') } end - context 'for valid jpg file' do + context 'for valid jpg file' do before do jpg = fixture_file_upload(Rails.root + 'spec/fixtures/rails_sample.jpg', 'image/jpg') @link_to_file = upload_file(@project.repository, jpg) |