File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 <%= edit_button_to edit_donation_site_path ( donation_site_row ) %>
1010 <% if donation_site_row . active? %>
1111 <%= deactivate_button_to deactivate_donation_site_path ( donation_site_row ) ,
12- text : ' Deactivate' ,
12+ text : " Deactivate" ,
1313 confirm : confirm_deactivate_msg ( donation_site_row . name ) %>
1414 <% else %>
1515 <%= reactivate_button_to reactivate_donation_site_path ( donation_site_row ) ,
16- text : 'Reactivate' ,
16+ text : "Restore" ,
1717 confirm : confirm_reactivate_msg ( donation_site_row . name ) %>
1818 <% end %>
1919 </ td >
Original file line number Diff line number Diff line change 4545
4646 # Inactive donation site should have reactivate button
4747 button2 = page . css ( ".btn[href='/donation_sites/#{ inactive_donation_site . id } /reactivate']" )
48- expect ( button2 . text . strip ) . to eq ( "Reactivate " )
48+ expect ( button2 . text . strip ) . to eq ( "Restore " )
4949 expect ( button2 . attr ( 'class' ) ) . not_to match ( /disabled/ )
5050 end
5151 end
You can’t perform that action at this time.
0 commit comments