Skip to content

Commit

Permalink
👮 Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudomuto committed Apr 10, 2018
1 parent 9f9b904 commit 6ece13b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
AllCops:
TargetRubyVersion: 2.3
Exclude:
- "bin/**/*"
- "spec/dummy/bin/**/*"
- "tmp/**/*"
- "vendor/**/*"
Expand Down
2 changes: 1 addition & 1 deletion letter_opener_web.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'letter_opener_web/version'

Expand Down
2 changes: 1 addition & 1 deletion spec/models/letter_opener_web/letter_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

describe LetterOpenerWeb::Letter do
let(:location) { File.expand_path('../../../tmp', __FILE__) }
let(:location) { File.expand_path('../../tmp', __dir__) }

def rich_text(mail_id)
<<-MAIL
Expand Down
2 changes: 1 addition & 1 deletion spec/rails_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../dummy/config/environment', __FILE__)
require File.expand_path('dummy/config/environment', __dir__)
require 'spec_helper'
require 'rspec/rails'

Expand Down

0 comments on commit 6ece13b

Please sign in to comment.