File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 11
11
12
12
RSpec . configure do |config |
13
13
config . include CybeleTestHelpers
14
- config . include TestHelpers
14
+ config . include MailTestHelpers
15
15
16
16
config . before ( :all ) do
17
17
create_tmp_directory
Original file line number Diff line number Diff line change @@ -85,19 +85,3 @@ def root_path
85
85
File . expand_path ( '../../../' , __FILE__ )
86
86
end
87
87
end
88
-
89
- module TestHelpers
90
- def mail_test_helper ( path )
91
- file = content ( path )
92
- expect ( file ) . to match ( 'smtp' )
93
- expect ( file ) . to match ( 'address:' )
94
- expect ( file ) . to match ( 'port:' )
95
- expect ( file ) . to match ( 'enable_starttls_auto:' )
96
- expect ( file ) . to match ( 'user_name:' )
97
- expect ( file ) . to match ( 'password:' )
98
- expect ( file ) . to match ( 'authentication:' )
99
- unless content ( 'config/settings.yml' ) . present?
100
- expect ( file ) . to match ( 'host:' )
101
- end
102
- end
103
- end
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
3
+ module MailTestHelpers
4
+ def mail_test_helper ( path )
5
+ file = content ( path )
6
+ expect ( file ) . to match ( 'smtp' )
7
+ expect ( file ) . to match ( 'address:' )
8
+ expect ( file ) . to match ( 'port:' )
9
+ expect ( file ) . to match ( 'enable_starttls_auto:' )
10
+ expect ( file ) . to match ( 'user_name:' )
11
+ expect ( file ) . to match ( 'password:' )
12
+ expect ( file ) . to match ( 'authentication:' )
13
+ unless content ( 'config/settings.yml' ) . present?
14
+ expect ( file ) . to match ( 'host:' )
15
+ end
16
+ end
17
+ end
You can’t perform that action at this time.
0 commit comments