File tree 3 files changed +20
-11
lines changed
3 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 13
13
exclude :
14
14
- ruby : ruby-head
15
15
rails : " 6.1"
16
+ - ruby : " 2.7"
17
+ rails : " 7.1"
18
+ - ruby : " 2.7"
19
+ rails : " 7.2"
20
+ - ruby : " 3.0"
21
+ rails : " 7.1"
22
+ - ruby : " 3.0"
23
+ rails : " 7.2"
24
+ - ruby : " 2.7"
25
+ rails : main
26
+ - ruby : " 3.0"
27
+ rails : main
28
+ - ruby : " 3.1"
29
+ rails : main
16
30
- ruby : ruby-head
17
31
orm : mongoid
18
32
- rails : main
Original file line number Diff line number Diff line change 1
1
ActiveRecord ::Migration . verbose = false
2
2
ActiveRecord ::Base . logger = Logger . new ( nil )
3
3
4
- if ActiveRecord ::VERSION ::MAJOR >= 6
5
- ActiveRecord ::MigrationContext . new (
6
- File . expand_path ( '../../rails_app/db/migrate/' , __FILE__ ) ,
7
- ActiveRecord ::Base . connection . schema_migration
8
- ) . migrate
9
- elsif defined? ActiveRecord ::MigrationContext # rails >= 5.2
10
- ActiveRecord ::MigrationContext . new ( File . expand_path ( '../../rails_app/db/migrate/' , __FILE__ ) ) . migrate
11
- else
12
- ActiveRecord ::Migrator . migrate ( File . expand_path ( '../../rails_app/db/migrate/' , __FILE__ ) )
13
- end
4
+ ActiveRecord ::MigrationContext . new (
5
+ File . expand_path ( '../../rails_app/db/migrate/' , __FILE__ )
6
+ ) . migrate
Original file line number Diff line number Diff line change 13
13
ActionMailer ::Base . perform_deliveries = true
14
14
ActionMailer ::Base . default_url_options [ :host ] = 'example.com'
15
15
16
- ActiveSupport ::Deprecation . silenced = true
16
+ if ActiveSupport ::Deprecation . respond_to? ( :silenced= )
17
+ ActiveSupport ::Deprecation . silenced = true
18
+ end
17
19
$VERBOSE = false
18
20
19
21
class ActionDispatch ::IntegrationTest
You can’t perform that action at this time.
0 commit comments