Remove pinboard integration

This commit is contained in:
2023-11-28 19:24:33 +11:00
parent 402d3d3140
commit 97d7c547e8
6 changed files with 4 additions and 21 deletions

View File

@@ -7,7 +7,7 @@ RSpec.describe Micropub::Commands::Posts::Syndicate do
let(:settings) { double("settings", mastodon_server: "https://mastodon.example/@tester", blue_sky_url: "https://bluesky.app") }
let(:mastodon_client) { double("Adamantium::Client::Mastodon") }
let(:mastodon_syndicator) { Adamantium::Syndication::Mastodon.new(mastodon_client: mastodon_client) }
let(:post) { {url: "example.com", syndicate_to: ["https://mastodon.example", "https://pinboard.in"], category: []} }
let(:post) { {url: "example.com", syndicate_to: ["https://mastodon.example", "https://bsky.app"], category: []} }
let(:add_post_syndication_source) { spy(Micropub::Commands::Posts::AddSyndicationSource) }
subject {

View File

@@ -4,8 +4,8 @@ RSpec.describe Adamantium::LinkFinder do
subject { described_class.new }
it "finds allowed links in a string" do
text = "Check out some of these cool websites: https://google.com https://example.com or even http://twitter.com and https://pinboard.in!"
text = "Check out some of these cool websites: https://google.com https://example.com or even http://twitter.com and https://bsky.app"
expect(subject.call(text)).to eq ["https://example.com", "https://pinboard.in"]
expect(subject.call(text)).to eq ["https://example.com"]
end
end