Skip to content

Commit 46504b1

Browse files
committed
login_as -> sign_in
1 parent bd653c5 commit 46504b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/system/learning_hours/index_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
let!(:learning_hours) { create_list(:learning_hour, 2, user: volunteer) }
77

88
before do
9-
login_as user, scope: :user
9+
sign_in user
1010
end
1111

1212
context "when the user is a volunteer" do

spec/system/learning_hours/volunteers/show_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
let!(:learning_hours) { create_list(:learning_hour, 5, user: volunteer) }
77

88
before do
9-
login_as user, scope: :user
9+
sign_in user
1010
end
1111

1212
context "when the user is a volunteer" do

0 commit comments

Comments
 (0)