diff options
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/fetch_link_card_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/fetch_link_card_service_spec.rb b/spec/services/fetch_link_card_service_spec.rb index 5d72d40b6..46fec295d 100644 --- a/spec/services/fetch_link_card_service_spec.rb +++ b/spec/services/fetch_link_card_service_spec.rb @@ -9,6 +9,6 @@ RSpec.describe FetchLinkCardService do status = Fabricate(:status, text: 'Check out http://example.中国') FetchLinkCardService.new.call(status) - expect(a_request(:get, 'http://example.xn--fiqs8s/')).to have_been_made + expect(a_request(:get, 'http://example.xn--fiqs8s/')).to have_been_made.at_least_once end end |