diff --git a/.rubocop.yml b/.rubocop.yml index 722e353..2191e77 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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 \ No newline at end of file + - spec/systems/* \ No newline at end of file diff --git a/spec/requests/users_spec.rb b/spec/requests/users_spec.rb index e50f995..9d0b96e 100644 --- a/spec/requests/users_spec.rb +++ b/spec/requests/users_spec.rb @@ -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 } diff --git a/spec/systems/posts_spec.rb b/spec/systems/posts_spec.rb index 43458b1..33a8eb5 100644 --- a/spec/systems/posts_spec.rb +++ b/spec/systems/posts_spec.rb @@ -38,5 +38,4 @@ end end end - end