mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-06-01 20:57:21 -04:00
21 lines
430 B
Ruby
21 lines
430 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 = 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
|