diff options
Diffstat (limited to 'spec/registration_spec.rb')
-rw-r--r-- | spec/registration_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/registration_spec.rb b/spec/registration_spec.rb index d76d59e..6532f3e 100644 --- a/spec/registration_spec.rb +++ b/spec/registration_spec.rb @@ -39,10 +39,6 @@ describe RegistrationApp do context 'with a valid registration' do before :each do - @doc_spy = spy("Prawn::Document") - allow(Prawn::Document).to receive('new') { @doc_spy } - allow(@doc_spy).to receive('render_file') - post '/submit', 'band' => create_band_params end @@ -88,10 +84,6 @@ describe RegistrationApp do context 'with no songs' do before :each do - @doc_spy = spy("Prawn::Document") - allow(Prawn::Document).to receive('new') { @doc_spy } - allow(@doc_spy).to receive('render_file') - post '/submit', 'band' => create_band_params(:songs => 0) end |