Skip to content

Commit

Permalink
[Finishes #187093434] deleted donate to fund view, original route, su…
Browse files Browse the repository at this point in the history
…pport path, rspec mock
  • Loading branch information
MayZamudio committed Mar 26, 2024
1 parent 0f77ae4 commit c553acb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
29 changes: 0 additions & 29 deletions app/views/store/donate_to_fund.html.haml

This file was deleted.

1 change: 0 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@

get '/store/(:customer_id)' => 'store#index', :defaults => {:customer_id => nil}, :as => 'store'
get '/subscribe/(:customer_id)' => 'store#subscribe', :defaults => {:customer_id => nil}, :as => 'store_subscribe'
# get '/donate_to_fund/:id/(:customer_id)' => 'store#donate_to_fund', :defaults => {:customer_id => nil}, :as => 'donate_to_fund'
get '/donate_to_fund/(:id)/(:customer_id)', :defaults => {:customer_id => nil}, to: 'store#donate_to_fund_redirect'
get '/store/cancel' => 'store#cancel', :as => 'store_cancel'

Expand Down
1 change: 0 additions & 1 deletion features/support/paths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def path_to(page_name)
edit_show_showdate_path(@showdate.show,@showdate)

when /the donation landing page coded for fund (.*)/i then quick_donate_path(AccountCode.find_by_code!($1))
when /the donation landing page coded for a nonexistent fund/i then donate_to_fund_path('999999')
when /the quick donation landing page for account code (.*)/i then '/donate/1?account_code_string=' + $1.to_s

when /the edit page for the "(.*)" vouchertype/ then edit_vouchertype_path(Vouchertype.find_by_name!($1))
Expand Down
4 changes: 0 additions & 4 deletions spec/controllers/store_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
before :each do ; @action = :subscribe ; end
it_should_behave_like 'initial visit'
end
describe 'to :donate_to_fund' do
before :each do ; @action = :donate_to_fund ; @extras = { id: '2' }; end
it_should_behave_like 'initial visit'
end
end

describe "on InvalidAuthenticityToken exception" do
Expand Down

0 comments on commit c553acb

Please sign in to comment.