Add reminder feature

This commit is contained in:
crstin committed 2020-02-12 13:57:03 +01:00
1 parent 9ec7b3ef50
commit e4a317111c
26 files changed
+414 -3

No files matched your search

+14
View File
@@ -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