-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes to ensure answers shared to twitter post more reliably #227
Conversation
3663614
to
b0fce22
Compare
Codecov Report
@@ Coverage Diff @@
## master #227 +/- ##
==========================================
+ Coverage 59.91% 61.10% +1.18%
==========================================
Files 88 88
Lines 2068 2072 +4
==========================================
+ Hits 1239 1266 +27
+ Misses 829 806 -23
Continue to review full report at Codecov.
|
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
it "posts a shortened tweet" do | ||
service.post(answer) | ||
|
||
expect(twitter_client).to have_received(:update!).with("#{'q' * 123}… — #{'a' * 124}… https://example.com/#{user.screen_name}/a/#{answer.id}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also add another one for testing unshortened texts
|
Closes #99