質問編集履歴

1

更なるエラー発生

2021/03/30 04:35

投稿

Kokjfnvena
Kokjfnvena

スコア1

test CHANGED
File without changes
test CHANGED
@@ -211,3 +211,81 @@
211
211
  end
212
212
 
213
213
  ```
214
+
215
+ def createのend位置を修正後さらに下記のエラーが発生致しました。
216
+
217
+ ```
218
+
219
+ ubuntu:~/environment/sample_app (main) $ rails test
220
+
221
+ Running via Spring preloader in process 5733
222
+
223
+ Run options: --seed 14035
224
+
225
+
226
+
227
+ # Running:
228
+
229
+
230
+
231
+ .E
232
+
233
+
234
+
235
+ Error:
236
+
237
+ UsersSignupTest#test_invalid_signup_information:
238
+
239
+ Nokogiri::CSS::SyntaxError: unexpected '#' after '[#<Nokogiri::CSS::Node:0x0000556852973a50 @type=:ELEMENT_NAME, @value=["div"]>]'
240
+
241
+ (eval):3:in `_racc_do_parse_c'
242
+
243
+ (eval):3:in `do_parse'
244
+
245
+ test/integration/users_signup_test.rb:14:in `block in <class:UsersSignupTest>'
246
+
247
+
248
+
249
+
250
+
251
+ rails test test/integration/users_signup_test.rb:5
252
+
253
+
254
+
255
+ E
256
+
257
+
258
+
259
+ Error:
260
+
261
+ UsersSignupTest#test_valid_signup_information:
262
+
263
+ ActionView::Template::Error: undefined local variable or method `options' for #<ActionView::Base:0x007ff1f85073b8>
264
+
265
+ Did you mean? url_options
266
+
267
+ app/helpers/users_helper.rb:3:in `gravatar_for'
268
+
269
+ app/views/users/show.html.erb:6
270
+
271
+ test/integration/users_signup_test.rb:28:in `block in <class:UsersSignupTest>'
272
+
273
+
274
+
275
+
276
+
277
+ rails test test/integration/users_signup_test.rb:20
278
+
279
+
280
+
281
+ ..........
282
+
283
+
284
+
285
+ Finished in 1.221876s, 10.6394 runs/s, 22.0972 assertions/s.
286
+
287
+ 13 runs, 27 assertions, 0 failures, 2 errors, 0 skips
288
+
289
+ ```
290
+
291
+ こちらに関しまして、問題点を分かりやすくご教示頂けますと幸いです。また解決策もございましたら宜しくお願い致します。