mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-29 04:02:17 -04:00
21 lines
441 B
Ruby
21 lines
441 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe 'devise/mailer/confirmation_instructions.html.haml', type: "view" do
|
|
context "logged in" do
|
|
before do
|
|
@resource = FactoryBot.create(:member)
|
|
render
|
|
end
|
|
|
|
it 'has a confirmation link' do
|
|
rendered.should have_content 'Confirm my account'
|
|
end
|
|
|
|
it 'has a link to the homepage' do
|
|
rendered.should have_content root_url
|
|
end
|
|
end
|
|
end
|