Add reminder feature
This commit is contained in:
1 parent
9ec7b3ef50
commit
e4a317111c
26 files changed
+414
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe 'Reminders', type: :request do
|
||||
describe 'GET /reminders' do
|
||||
it 'checks redirection after login' do
|
||||
get reminders_path
|
||||
expect(response).to have_http_status(302)
|
||||
user = build(:user)
|
||||
sign_in user
|
||||
get reminders_path
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user