aboutsummaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-28 17:30:12 +0200
committerGitHub <noreply@github.com>2019-07-28 17:30:12 +0200
commit75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449 (patch)
tree446b7fa050fa9e4c624a46eef874c5bd4441137e /spec/models
parentcfb2ed78231758a79af038a964ab7f7b7b35274e (diff)
downloadmastodon-75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449.tar
mastodon-75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449.tar.gz
mastodon-75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449.tar.bz2
mastodon-75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449.zip
Remove conversation URI (#11423)
It is not part of ActivityPub and will free up a lot of space
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/conversation_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/conversation_spec.rb b/spec/models/conversation_spec.rb
index 8b5e4fdaf..b91d36169 100644
--- a/spec/models/conversation_spec.rb
+++ b/spec/models/conversation_spec.rb
@@ -1,13 +1,5 @@
require 'rails_helper'
RSpec.describe Conversation, type: :model do
- describe '#local?' do
- it 'returns true when URI is nil' do
- expect(Fabricate(:conversation).local?).to be true
- end
- it 'returns false when URI is not nil' do
- expect(Fabricate(:conversation, uri: 'abc').local?).to be false
- end
- end
end