about summary refs log tree commit diff
path: root/spec/models/status_pin_spec.rb
diff options
context:
space:
mode:
authorMIYAGI Hikaru <hcmiya@users.noreply.github.com>2018-04-25 21:12:28 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-04-25 14:12:28 +0200
commiteb593a5a0c9ee9749115f867a5675ceb1f231379 (patch)
tree1ee3d2b3d9da81b9feb052ab7b6bec81600e3374 /spec/models/status_pin_spec.rb
parentf58dcbc9814b5ba2fd4f7d7af643aa25dcf40594 (diff)
Append '.test' to hostname in stub data (#7260)
Diffstat (limited to 'spec/models/status_pin_spec.rb')
-rw-r--r--spec/models/status_pin_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/status_pin_spec.rb b/spec/models/status_pin_spec.rb
index 944baf639..6f0b2feb8 100644
--- a/spec/models/status_pin_spec.rb
+++ b/spec/models/status_pin_spec.rb
@@ -55,7 +55,7 @@ RSpec.describe StatusPin, type: :model do
     end
 
     it 'allows pins above the max for remote accounts' do
-      account = Fabricate(:account, domain: 'remote', username: 'bob', url: 'https://remote/')
+      account = Fabricate(:account, domain: 'remote.test', username: 'bob', url: 'https://remote.test/')
       status = []
 
       (max_pins + 1).times do |i|