about summary refs log tree commit diff
path: root/spec/models/account_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-28 08:58:32 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-01-28 08:58:32 +0100
commitb2915613fb247597d3de2f80c2c007b3369ac5bb (patch)
tree745c245cb4c2d16dcada37d1fb1cf5b13f4e2493 /spec/models/account_spec.rb
parentad6ddb9bdd3ceae3f9d5dde7b351081f0dfa2a9a (diff)
parente38fc319dc6897ca867a509b0c7a5878d34d0f00 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `Gemfile.lock`:
  Upstream-updated lib textually too close to glitch-soc-only dep.
  Updated like upstream.
Diffstat (limited to 'spec/models/account_spec.rb')
-rw-r--r--spec/models/account_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb
index 65e6714c0..681134d49 100644
--- a/spec/models/account_spec.rb
+++ b/spec/models/account_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe Account, type: :model do
       end
 
       context 'when the account is of a local user' do
-        let!(:subject) { Fabricate(:account, user: Fabricate(:user, email: 'foo+bar@domain.org')) }
+        let!(:subject) { Fabricate(:user, email: 'foo+bar@domain.org').account }
 
         it 'creates a canonical domain block' do
           subject.suspend!