質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
**coupon_controller.rb**
|
13
|
+
**app/controllers/api/vi/coupons_controller.rb**
|
14
14
|
|
15
15
|
```
|
16
16
|
|
@@ -46,11 +46,21 @@
|
|
46
46
|
|
47
47
|
###rspec
|
48
48
|
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
49
59
|
以下が自分で書いてみたコードです。
|
50
60
|
|
51
61
|
|
52
62
|
|
53
|
-
**coupon_controller_spec.rb**
|
63
|
+
**app/controllers/api/vi/coupons_controller_spec.rb**
|
54
64
|
|
55
65
|
```
|
56
66
|
|