mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-11-02 03:11:24 -05:00
20 lines
440 B
Ruby
20 lines
440 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
describe 'devise/mailer/unlock_instructions.html.haml', type: "view" do
|
|
context "logged in" do
|
|
before do
|
|
@resource = create(:member)
|
|
render
|
|
end
|
|
|
|
it "explains what's happened" do
|
|
expect(rendered).to have_content "account has been locked"
|
|
end
|
|
|
|
it "has an unlock link" do
|
|
expect(rendered).to have_content "Unlock my account"
|
|
end
|
|
end
|
|
end
|