We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05f0314 commit 430f231Copy full SHA for 430f231
spec/requests/api/v1/procedures_request_spec.rb
@@ -11,20 +11,6 @@
11
let(:http_method) { :get }
12
let(:params) { {} }
13
14
- # context "when user is not authenticated test" do
15
- # let(:request_path) { "/api/v1/procedures" }
16
-
17
- # include_context "when user is not authenticated"
18
19
- # it "returns unauthorized" do
20
- # expect(response).to have_http_status(:unauthorized)
21
- # end
22
23
- # it "returns error message" do
24
- # expect(response.parsed_body["error_description"]).to eq(["Invalid token"])
25
26
27
28
context "when user is authenticated" do
29
before do
30
create_list(:procedure, 5)
0 commit comments