Skip to content

Commit

Permalink
rubocop適用、テストケース調整
Browse files Browse the repository at this point in the history
  • Loading branch information
KOH6 committed Oct 10, 2023
1 parent cc8e525 commit df1e492
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ RSpec/ContextWording:
- カラム$
RSpec/ExampleLength:
Exclude:
- spec/systems/users_spec.rb
- spec/systems/*
RSpec/MultipleExpectations:
Exclude:
- spec/systems/users_spec.rb
- spec/systems/*
RSpec/Capybara/FeatureMethods:
Exclude:
- spec/systems/users_spec.rb
- spec/systems/*
5 changes: 0 additions & 5 deletions spec/requests/users_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
expect(response).to have_http_status(:see_other)
end

it '認証メールが送信されること' do
post user_registration_path, params: { user: user_params }
expect(ActionMailer::Base.deliveries.size).to eq 1
end

it 'ユーザcreateに失敗すること' do
expect do
post user_registration_path, params: { user: invalid_user_params }
Expand Down
1 change: 0 additions & 1 deletion spec/systems/posts_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@
end
end
end

end

0 comments on commit df1e492

Please sign in to comment.