Retrospring/spec/controllers/settings/push_notifications_controll...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
422 B
Ruby
Raw Normal View History

2022-12-24 08:41:21 -08:00
# frozen_string_literal: true
require "rails_helper"
describe Settings::PushNotificationsController, type: :controller do
describe "#index" do
subject { get :index }
context "user signed in" do
let(:user) { FactoryBot.create(:user) }
before { sign_in user }
it "renders the index template" do
subject
expect(response).to render_template(:index)
end
end
end
end