Skip to content

Commit

Permalink
テストがなかったものを追加したらSLACK_TOKEN環境変数がなくてコケたのでCIに追加
Browse files Browse the repository at this point in the history
  • Loading branch information
j-o-lantern0422 committed Dec 19, 2024
1 parent 19fd471 commit 899210e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
rspec:
runs-on: ubuntu-latest
env:
SLACK_TOKEN: "DUMMY"
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
Expand Down
8 changes: 4 additions & 4 deletions spec/app/models/chat_message_sender_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@

let(:upload_url_external_response) do
Hashie::Mash.new({
file_id: "F1234567890",
title: "qrcode.pdf",
url: "https://example.com/file_path",
file_path: "./tmp/qrcode.pdf"
file_id: "F1234567890",
title: "qrcode.pdf",
url: "https://example.com/file_path",
file_path: "./tmp/qrcode.pdf"
})
end

Expand Down

0 comments on commit 899210e

Please sign in to comment.