Skip to content

Commit 70e269a

Browse files
committed
Remove test from other branch
1 parent e8614bd commit 70e269a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spec/services/base_spec.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ class EmptyTranslator < DiscourseTranslator::Base
8282
post.cooked = text
8383
expect(DiscourseTranslator::Base.text_for_detection(post)).to eq(text)
8484
end
85-
86-
it "strips text before truncation" do
87-
post.cooked = "<img src='http://example.com/image.png' />" + "a" * 1000
88-
expect(DiscourseTranslator::Base.text_for_detection(post)).to eq("a" * 1000)
89-
end
9085
end
9186

9287
describe ".text_for_translation" do

0 commit comments

Comments
 (0)