We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cli/emoji
1 parent 96a96a7 commit 1103ebdCopy full SHA for 1103ebd
spec/lib/mastodon/cli/emoji_spec.rb
@@ -46,7 +46,8 @@
46
47
it 'reports a successful purge' do
48
expect { subject }
49
- .to change { CustomEmoji.by_domain_and_subdomains(blocked_domain).count }.to(0)
+ .to output_results('OK')
50
+ .and change { CustomEmoji.by_domain_and_subdomains(blocked_domain).count }.to(0)
51
.and change { CustomEmoji.by_domain_and_subdomains('evil.org').count }.to(0)
52
.and not_change { CustomEmoji.by_domain_and_subdomains(silenced_domain).count }
53
.and(not_change { CustomEmoji.local.count })
0 commit comments