Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427)
* Count all URLs in text as 23 characters flat, do not count domain part of usernames * Add new status text counting logic to web UI
This commit is contained in:
		@@ -3,7 +3,7 @@ require 'rails_helper'
 | 
			
		||||
RSpec.describe Status, type: :model do
 | 
			
		||||
  let(:alice) { Fabricate(:account, username: 'alice') }
 | 
			
		||||
  let(:bob)   { Fabricate(:account, username: 'bob') }
 | 
			
		||||
  let(:other) { Fabricate(:status, account: bob, text: 'Skulls for the skull god! The enemy\'s gates are sideways!')}
 | 
			
		||||
  let(:other) { Fabricate(:status, account: bob, text: 'Skulls for the skull god! The enemy\'s gates are sideways!') }
 | 
			
		||||
 | 
			
		||||
  subject { Fabricate(:status, account: alice) }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user