Skip to content

Commit

Permalink
Merge pull request #4248 from DavidKang/feature/rubocop/style_cop
Browse files Browse the repository at this point in the history
Rubocop is your friend part 8
  • Loading branch information
Moisés Déniz Alemán committed Dec 20, 2017
2 parents 2f66b8a + 1bd3cf0 commit 10800d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Expand Up @@ -382,12 +382,6 @@ Style/DateTime:
- 'src/api/spec/features/webui/requests_spec.rb'
- 'src/api/test/functional/maintenance_test.rb'

# Offense count: 1
# Cop supports --auto-correct.
Style/Dir:
Exclude:
- 'src/api/script/start_test_backend'

# Offense count: 631
Style/Documentation:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion src/api/script/start_test_backend
Expand Up @@ -21,7 +21,7 @@ end
backendtempdir = ENV['OBS_BACKEND_TEMP'] || "#{Rails.root}/tmp"
backend_config = "#{backendtempdir}/config#{backend_dir_suffix}"
backend_data = "#{backendtempdir}/data#{backend_dir_suffix}"
require File.expand_path(File.dirname(__FILE__)) + '/../test/test_helper'
require __dir__ + '/../test/test_helper'

Backend::Test.do_not_start_test_backend

Expand Down

0 comments on commit 10800d8

Please sign in to comment.