Browse Source

Rubocop

pull/580/head
baarkerlounger 3 years ago
parent
commit
38e592a9ac
  1. 2
      spec/models/user_spec.rb

2
spec/models/user_spec.rb

@ -76,7 +76,7 @@ RSpec.describe User, type: :model do
it "is confirmable" do
allow(DeviseNotifyMailer).to receive(:confirmation_instructions).and_return(OpenStruct.new(deliver: true))
expect(DeviseNotifyMailer).to receive(:confirmation_instructions).once
User.create!(
described_class.create!(
name: "unconfirmed_user",
email: "unconfirmed_user@example.com",
password: "password123",

Loading…
Cancel
Save