diff options
Diffstat (limited to 'spec/lib/backup/file_backup_error_spec.rb')
-rw-r--r-- | spec/lib/backup/file_backup_error_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/backup/file_backup_error_spec.rb b/spec/lib/backup/file_backup_error_spec.rb index bb174bbe4a0..948e15b7e5c 100644 --- a/spec/lib/backup/file_backup_error_spec.rb +++ b/spec/lib/backup/file_backup_error_spec.rb @@ -13,11 +13,11 @@ RSpec.describe Backup::FileBackupError do it { is_expected.to respond_to :backup_tarball } it 'expects exception message to include file backup path location' do - expect(subject.message).to include("#{subject.backup_tarball}") + expect(subject.message).to include(subject.backup_tarball.to_s) end it 'expects exception message to include file being back-up' do - expect(subject.message).to include("#{subject.app_files_dir}") + expect(subject.message).to include(subject.app_files_dir.to_s) end end |