Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lotteryのrequest specを追加 #240

Merged
merged 10 commits into from
Aug 18, 2024
Merged

Conversation

OdenTakashi
Copy link
Owner

やったこと

  • lotteryのrequest specを追加した

let!(:lottery) { create(:lottery, name: 'テストの抽選会', user:) }

it 'return 200 status' do
sign_in user
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auth関連は共通コンテキストだから切り出してもいいかも

@OdenTakashi OdenTakashi force-pushed the feature/lotteries/add_request_spec branch from fb7429a to 8745d4a Compare August 14, 2024 14:46
@OdenTakashi OdenTakashi force-pushed the feature/lotteries/add_request_spec branch from 6dcbb9a to 210421e Compare August 18, 2024 13:03
@OdenTakashi OdenTakashi merged commit 09100c6 into main Aug 18, 2024
2 checks passed
@OdenTakashi OdenTakashi deleted the feature/lotteries/add_request_spec branch August 18, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant