diff --git a/app/logical/sources/strategies/tumblr.rb b/app/logical/sources/strategies/tumblr.rb index 426772474..d8a769567 100644 --- a/app/logical/sources/strategies/tumblr.rb +++ b/app/logical/sources/strategies/tumblr.rb @@ -36,7 +36,7 @@ module Sources::Strategies when "text", "link" post[:title] when "answer" - post[:question] + "#{post[:asking_name]} asked: #{post[:question]}" else nil end diff --git a/test/unit/sources/tumblr_test.rb b/test/unit/sources/tumblr_test.rb index b17b91abc..9a2533988 100644 --- a/test/unit/sources/tumblr_test.rb +++ b/test/unit/sources/tumblr_test.rb @@ -172,7 +172,7 @@ module Sources end should "get the commentary" do - assert_equal("test ask", @site.artist_commentary_title) + assert_equal("Anonymous asked: test ask", @site.artist_commentary_title) assert_match("test answer", @site.artist_commentary_desc) end end