repair tests and move method belonging to controller

This commit is contained in:
Rishabh Saxena 2016-07-06 23:50:04 +05:30
parent 38ae24c6b3
commit c57a8a1d00
6 changed files with 26 additions and 49 deletions

View file

@ -42,7 +42,6 @@ describe ConferenceRegistrationsController, type: :controller do
it 'does not assign price of purchased tickets to total_price and purchased tickets to tickets without payment' do
expect(assigns(:total_price)).to eq Money.new(0, 'USD')
expect(assigns(:tickets)).not_to exist
end
end