Skip to content

Commit

Permalink
MailSender: テストでロガーを指定し忘れている部分を修正する
Browse files Browse the repository at this point in the history
refs #71
  • Loading branch information
ochaochaocha3 committed Jan 8, 2018
1 parent 58c5435 commit 8f59949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/rgrb/plugin/server_connection_report/mail_sender_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
}

it 'キーを文字列からシンボルに変換する' do
mail_sender_2 = described_class.new(mail_config_hash_1)
mail_sender_2 = described_class.new(mail_config_hash_1, null_logger)
expect(mail_sender_2.instance_variable_get(:@mail_config)).
to eq(expected_1)
end

it 'nullの項目を除く' do
mail_sender_2 = described_class.new(mail_config_hash_2)
mail_sender_2 = described_class.new(mail_config_hash_2, null_logger)
expect(mail_sender_2.instance_variable_get(:@mail_config)).
to eq(expected_2)
end
Expand Down

0 comments on commit 8f59949

Please sign in to comment.