We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831bfa2 commit 1bafe05Copy full SHA for 1bafe05
spec/request/request_for_comments_spec.rb
@@ -4,6 +4,7 @@
4
5
RSpec.describe 'POST /request_for_comments/:rfc_id/report', type: :request do
6
before do
7
+ user = create(:learner)
8
allow_any_instance_of(ApplicationController).to receive(:current_user).and_return(user)
9
codeocean_config = instance_double(CodeOcean::Config)
10
allow(CodeOcean::Config).to receive(:new).with(:code_ocean).and_return(codeocean_config)
0 commit comments