File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
21
21
it 'can view attending workshops' do
22
22
workshop = Fabricate ( :workshop , chapter : Fabricate ( :chapter_with_groups ) )
23
- subscription = Fabricate ( :subscription , member : member , group : workshop . chapter . groups . first )
24
- invitation = Fabricate ( :attending_workshop_invitation , member : member ,
23
+ Fabricate ( :subscription , member : member , group : workshop . chapter . groups . first )
24
+ Fabricate ( :attending_workshop_invitation , member : member ,
25
25
workshop : workshop )
26
26
presenter = WorkshopPresenter . new ( workshop )
27
27
visit dashboard_path
92
92
end
93
93
94
94
it 'is redirected to sign_in page when they attempt not access the profile page' do
95
+ mock_github_auth
95
96
visit profile_path
96
97
97
98
expect ( page ) . to_not have_selector ( '#member_profile' )
You can’t perform that action at this time.
0 commit comments