質問編集履歴

1

エラー文

2016/11/02 06:03

投稿

qaz3330
qaz3330

スコア113

test CHANGED
File without changes
test CHANGED
@@ -34,6 +34,18 @@
34
34
 
35
35
  allow_any_instance_of(Comment).to receive(:count).and_return(40)
36
36
 
37
+
38
+
39
+ これに対してのエラー
40
+
41
+
42
+
43
+
44
+
45
+ Failure/Error: allow_any_instance_of(Comment).to receive(:count).and_return(40)
46
+
47
+ Comment does not implement #count
48
+
37
49
  ```
38
50
 
39
51