質問編集履歴

1

テスト結果の追記

2020/04/27 03:00

投稿

jasonwick
jasonwick

スコア12

test CHANGED
File without changes
test CHANGED
@@ -222,4 +222,46 @@
222
222
 
223
223
 
224
224
 
225
+ ### テストの実行結果
226
+
227
+ ```ここに言語を入力
228
+
229
+ ERROR["test_account_activation", UserMailerTest, 1.4476014219999342]
230
+
231
+ test_account_activation#UserMailerTest (1.45s)
232
+
233
+ ArgumentError: ArgumentError: wrong number of arguments (given 0, expected 1)
234
+
235
+ app/mailers/user_mailer.rb:8:in `account_activation'
236
+
237
+ test/mailers/user_mailer_test.rb:6:in `block in <class:UserMailerTest>'
238
+
239
+
240
+
241
+ FAIL["test_password_reset", UserMailerTest, 1.459731961999978]
242
+
243
+ test_password_reset#UserMailerTest (1.46s)
244
+
245
+ Expected: ["from@example.com"]
246
+
247
+ Actual: ["noreply@example.com"]
248
+
249
+ test/mailers/user_mailer_test.rb:16:in `block in <class:UserMailerTest>'
250
+
251
+
252
+
253
+ 43/43: [===============================] 100% Time: 00:00:01, Time: 00:00:01
254
+
255
+
256
+
257
+ Finished in 1.46772s
258
+
259
+ 43 tests, 167 assertions, 1 failures, 1 errors, 0 skips
260
+
261
+
262
+
263
+ ```
264
+
265
+
266
+
225
267
  解決法分かる方ご享受願います。