File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 - if @how_you_found_us.data_present?
4343 .card.border-info.my-4.my-md-0.my-lg-4.ms-md-4.ms-lg-0
4444 .card-body
45- %h3 How members find this chapter
45+ %h3 How members found this chapter
4646 - @how_you_found_us.by_percentage.each do |(how, percent)|
4747 - label = t(" member.details.edit.how_you_found_us_options.#{ how } " )
4848 .mb-3
Original file line number Diff line number Diff line change 134134
135135 visit admin_chapter_path ( chapter )
136136
137- expect ( page ) . to have_content ( 'How members find this chapter' )
137+ expect ( page ) . to have_content ( 'How members found this chapter' )
138138 expect ( page ) . to have_content ( 'Based on 1 response' )
139139 end
140140
141141 scenario 'does not show the card when there are no responses' do
142142 visit admin_chapter_path ( chapter )
143143
144- expect ( page ) . not_to have_content ( 'How members find this chapter' )
144+ expect ( page ) . not_to have_content ( 'How members found this chapter' )
145145 end
146146 end
147147end
You can’t perform that action at this time.
0 commit comments