質問編集履歴

3

修正

2019/09/23 06:09

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -70,7 +70,7 @@
70
70
 
71
71
  the extra elements were: [#<Administrator id: 1, name: "admin3", email: "admin3@gmail.com", hashed_password: "$2a$10$RayRw4NMn...AV2sJZ...", created_at: "2019-09-23 05:29:17", updated_at: "2019-09-23 05:29:17", suspended: false>]
72
72
 
73
- # ./spec/controllers/admin_backend/administrators_controller_spec.rb:23:in `block (3 levels) in <top (required)>'
73
+ # ./spec/controllers/admin/administrators_controller_spec.rb:23:in `block (3 levels) in <top (required)>'
74
74
 
75
75
 
76
76
 

2

修正

2019/09/23 06:09

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  # indexアクションのコード
20
20
 
21
- # AdminBackend::AdministratorsController
21
+ # Admin::AdministratorsController
22
22
 
23
23
  @administrators = Administrator.paginate(page: params[:page], per_page: 10)
24
24
 
@@ -58,7 +58,7 @@
58
58
 
59
59
 
60
60
 
61
- 1) AdminBackend::AdministratorsController GET #index @administratorsに全ての管理者を割り当てること
61
+ 1) Admin::AdministratorsController GET #index @administratorsに全ての管理者を割り当てること
62
62
 
63
63
  Failure/Error: expect(assigns(:administrators)).to match_array administrators
64
64
 

1

修正

2019/09/23 05:41

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -17,6 +17,8 @@
17
17
  ```ここに言語を入力
18
18
 
19
19
  # indexアクションのコード
20
+
21
+ # AdminBackend::AdministratorsController
20
22
 
21
23
  @administrators = Administrator.paginate(page: params[:page], per_page: 10)
22
24