diff --git a/app/views/users/_publishing_from_rss.html.erb b/app/views/users/_publishing_from_rss.html.erb index 0d8df5c79..bc9146373 100644 --- a/app/views/users/_publishing_from_rss.html.erb +++ b/app/views/users/_publishing_from_rss.html.erb @@ -1,4 +1,4 @@ -

Publishing to dev.to from RSS

+

Publishing to <%= community_name %> from RSS

<% if @user.feed_url.present? %> <%= form_for(@user) do |f| %>
@@ -15,7 +15,7 @@ <% end %>

Posts will land in your dashboard - as drafts, and then you can publish from there (or give dev.to admins permission to do so). + as drafts, and then you can publish from there (or give <%= community_name %> admins permission to do so).

Formatting will typically look good, but you may have to make manual fixes. In the case of Medium, you may have to manually fix embeds. @@ -50,7 +50,7 @@

<%= f.check_box :feed_referential_link %> - <%= f.label :feed_referential_link, "Replace self-referential links with #{community_name} %>-specific links" %> + <%= f.label :feed_referential_link, "Replace self-referential links with #{community_name}-specific links" %>
If you check this box, the post will automatically change any URLs included in the post to refer to the version of that article on <%= community_name %> if available. This is primarily meant for folks migrating their entire blog onto <%= community_name %>.
diff --git a/spec/requests/user/user_settings_spec.rb b/spec/requests/user/user_settings_spec.rb index 3fd2325ab..1372b0656 100644 --- a/spec/requests/user/user_settings_spec.rb +++ b/spec/requests/user/user_settings_spec.rb @@ -36,6 +36,12 @@ RSpec.describe "UserSettings", type: :request do expect(response.body).to include("Style Customization") end + it "displays content on RSS tab properly" do + get "/settings/publishing-from-rss" + title = "Publishing to #{ApplicationConfig['COMMUNITY_NAME']} from RSS" + expect(response.body).to include(title) + end + it "renders heads up dupe account message with proper param" do get "/settings?state=previous-registration" error_message = "There is an existing account authorized with that social account"