Skip to content

Commit

Permalink
Ensure project is tested using Crystal 1.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Jan 15, 2025
1 parent f7fc7e3 commit b77e48b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
qa:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.14.0
image: crystallang/crystal:1.15.0
steps:
- uses: actions/checkout@v1
- name: Install shards
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
fail-fast: false
matrix:
crystal: [
'1.12.2',
'1.13.0',
'1.14.0',
'1.15.0',
'nightly',
]
container:
Expand Down Expand Up @@ -64,9 +64,9 @@ jobs:
matrix:
db_version: ['11', '12', '13', '14', '15', 'latest']
crystal: [
'1.12.2',
'1.13.0',
'1.14.0',
'1.15.0',
'nightly',
]
container:
Expand All @@ -92,9 +92,9 @@ jobs:
fail-fast: false
matrix:
crystal: [
'1.12.2',
'1.13.0',
'1.14.0',
'1.15.0',
'nightly',
]
container:
Expand Down
4 changes: 2 additions & 2 deletions spec/marten_auth/middleware_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe MartenAuth::Middleware do
middleware = MartenAuth::Middleware.new
middleware.call(
request,
->{ Marten::HTTP::Response.new("It works!", content_type: "text/plain", status: 200) }
-> { Marten::HTTP::Response.new("It works!", content_type: "text/plain", status: 200) }
)

request.user_id.should eq user.pk.to_s
Expand Down Expand Up @@ -50,7 +50,7 @@ describe MartenAuth::Middleware do
middleware = MartenAuth::Middleware.new
middleware.call(
request,
->{ Marten::HTTP::Response.new("It works!", content_type: "text/plain", status: 200) }
-> { Marten::HTTP::Response.new("It works!", content_type: "text/plain", status: 200) }
)

request.user.should be_nil
Expand Down

0 comments on commit b77e48b

Please sign in to comment.