Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
luccastera committed Feb 8, 2024
1 parent c5c2692 commit 3b92ed1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec/requests/dashboard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
let(:valid_jwt_token) { JWT.encode(valid_jwt_payload, Rails.application.credentials.jwt.secret, 'HS256') }

describe "GET /dashboard/:quicknode_id" do
it "should 400 if missing jwt token in params" do
get "/dashboard"
expect(response).to have_http_status(400)
end

it "should 401 if the jwt token is invalid" do
get "/dashboard?jwt=invalid_token"
expect(response).to have_http_status(401)
Expand Down

0 comments on commit 3b92ed1

Please sign in to comment.