Skip to content

Commit

Permalink
remove useless debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed Aug 14, 2019
1 parent 23e4c59 commit 2a1f1e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/controllers/bundle_contexts_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@
expect { post :create, params: params }.to change(JobRun, :count).by(1)
expect { post :create, params: params }.not_to change(BundleContext, :count)
Dir.delete(output_dir) if Dir.exist?(output_dir) # even if the directory is missing, cannot reuse user & project_name
p "before failure"
expect { post :create, params: params }.to raise_error(ActiveRecord::RecordNotUnique)
p "after failure"
end
end

Expand Down

0 comments on commit 2a1f1e6

Please sign in to comment.