File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change 82
82
end
83
83
84
84
it 'annotate models' do
85
- puts "project_path: #{ project_path } "
86
- puts "app_path: #{ project_path } "
87
-
88
- puts "Dir.pwd: #{ Dir . pwd } "
89
- puts "__dir__: #{ __dir__ } "
90
- puts "__FILE__: #{ __FILE__ } "
91
-
92
- pp ENV
93
-
94
85
Bundler . with_clean_env do
95
- puts "app_path: #{ app_path } "
96
86
Dir . chdir app_path do
97
- puts 'inside Dir.chdir'
98
- puts "Dir.pwd: #{ Dir . pwd } "
99
- puts "__dir__: #{ __dir__ } "
100
- puts "__FILE__: #{ __FILE__ } "
101
-
102
87
expect ( git . diff . any? ) . to be_falsy
103
88
104
- puts 'trying ** '
105
- puts `pwd`
106
- puts `ls -lah`
107
- puts `ls -lah db`
108
- puts `bin/rails db:migrate`
109
- puts 'trying ** '
110
-
111
- pp ENV
112
-
113
89
puts `#{ command } `
114
90
115
- puts 'trying ** '
116
- puts `ls -lah`
117
- puts 'trying ** '
118
- puts `ls -lah db`
119
-
120
91
expect ( git . diff . entries ) . to contain_exactly (
121
92
an_object_having_attributes ( task_model ) ,
122
93
an_object_having_attributes ( task_test ) ,
You can’t perform that action at this time.
0 commit comments