File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 7
7
::APP_NAME = 'rails_5.2.4.1' . freeze
8
8
::PROJECT_PATH = File . expand_path ( '../..' , __dir__ )
9
9
::APP_PATH = File . expand_path ( APP_NAME , __dir__ )
10
- ::MIGRATION_COMMAND = 'bin/rails db:migrate' . freeze
11
10
12
11
let! ( :git ) { Git . open ( PROJECT_PATH ) }
13
12
14
13
before ( :all ) do
15
14
Bundler . with_clean_env do
16
15
Dir . chdir APP_PATH do
17
16
puts `bundle install`
18
- puts `#{ MIGRATION_COMMAND } `
17
+ puts `bin/rails db:migrate `
19
18
end
20
19
end
21
20
end
Original file line number Diff line number Diff line change 7
7
::APP_NAME = 'rails_6.0.2.1' . freeze
8
8
::PROJECT_PATH = File . expand_path ( '../..' , __dir__ )
9
9
::APP_PATH = File . expand_path ( APP_NAME , __dir__ )
10
- ::MIGRATION_COMMAND = 'bin/rails db:migrate' . freeze
11
10
12
11
let! ( :git ) { Git . open ( PROJECT_PATH ) }
13
12
14
13
before ( :all ) do
15
14
Bundler . with_clean_env do
16
15
Dir . chdir APP_PATH do
17
16
puts `bundle install`
18
- puts `#{ MIGRATION_COMMAND } `
17
+ puts `bin/rails db:migrate `
19
18
end
20
19
end
21
20
end
You can’t perform that action at this time.
0 commit comments