From c90c8eb37664421633ff8c607a31e201b5e222af Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Mon, 11 May 2015 13:34:37 +0200 Subject: [PATCH] Fix RuboCop offenses #128 --- spec/features/group_spec.rb | 2 -- spec/features/user_spec.rb | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/spec/features/group_spec.rb b/spec/features/group_spec.rb index ecedbeaf2..8d4859264 100644 --- a/spec/features/group_spec.rb +++ b/spec/features/group_spec.rb @@ -280,6 +280,4 @@ expect(page).to have_no_selector('sync-group-course-button') end end - - end diff --git a/spec/features/user_spec.rb b/spec/features/user_spec.rb index 652186b91..859d547bc 100644 --- a/spec/features/user_spec.rb +++ b/spec/features/user_spec.rb @@ -43,7 +43,7 @@ expect(page).to have_content I18n.t('users.settings.cancel_account') end - it 'get error when trying to delete account but still admin in group', js:true do + it 'get error when trying to delete account but still admin in group', js: true do click_link "#{user.first_name} #{user.last_name}" click_link I18n.t('navbar.settings') click_button 'load-account-settings-button' @@ -53,6 +53,5 @@ wait_for_ajax expect(page).to have_content I18n.t('users.settings.still_admin_in_group_error') end - end -end \ No newline at end of file +end