Skip to content

Commit

Permalink
Rubocop: fix issues automatically with -a
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBAshton committed Mar 10, 2020
1 parent 408759a commit c8d6a95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Rakefile 100644 → 100755
Expand Up @@ -2,8 +2,8 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)
require File.expand_path("config/application", __dir__)

Rails.application.load_tasks

task default: [:test, 'jasmine:ci']
task default: [:test, "jasmine:ci"]
2 changes: 1 addition & 1 deletion db/seeds.rb
Expand Up @@ -2,6 +2,6 @@

unless User.where(permissions: "signin").exists?
@user = User.new(name: "Winston Smith-Churchill", email: "winston@alphagov.co.uk")
@user.permissions = ["signin"]
@user.permissions = %w[signin]
@user.save!
end

0 comments on commit c8d6a95

Please sign in to comment.