Skip to content

Commit

Permalink
[webui][api] add comments about not using VCR for backend request in …
Browse files Browse the repository at this point in the history
…controller specs
  • Loading branch information
evanrolfe committed Jan 18, 2017
1 parent 9642814 commit 2254bce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Expand Up @@ -14,6 +14,7 @@

before do
Rails.cache.clear
# NOTE: we're not using VCR here because the backend does not have the obs signer setup by default
stub_request(:get, backend_url).and_return(body: keyinfo_response)
login(user)

Expand Down
Expand Up @@ -8,6 +8,7 @@

before do
Rails.cache.clear
# NOTE: we're not using VCR here because the backend does not have the obs signer setup by default
stub_request(:get, backend_url).and_return(body: keyinfo_response)

get :show, params: { project_name: project.name }
Expand Down
Expand Up @@ -9,6 +9,7 @@

before do
Rails.cache.clear
# NOTE: we're not using VCR here because the backend does not have the obs signer setup by default
stub_request(:get, backend_url).and_return(body: keyinfo_response)

get :show, params: { project_name: project.name }
Expand Down

0 comments on commit 2254bce

Please sign in to comment.