From e6b37b930c056a88d8ee1477246635caf579111d Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Tue, 7 Jan 2014 00:26:30 +0100 Subject: [PATCH] Add period to Twitter::Error::AlreadyPosted message See also #512. --- lib/twitter/error/already_posted.rb | 2 +- spec/fixtures/already_posted.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/twitter/error/already_posted.rb b/lib/twitter/error/already_posted.rb index cb7f54ec2..a3e9f12d2 100644 --- a/lib/twitter/error/already_posted.rb +++ b/lib/twitter/error/already_posted.rb @@ -4,7 +4,7 @@ module Twitter class Error # Raised when a Tweet has already been posted class AlreadyPosted < Twitter::Error::Forbidden - MESSAGE = 'Status is a duplicate' + MESSAGE = 'Status is a duplicate.' end end end diff --git a/spec/fixtures/already_posted.json b/spec/fixtures/already_posted.json index a29f6506e..3ece47eb0 100644 --- a/spec/fixtures/already_posted.json +++ b/spec/fixtures/already_posted.json @@ -1 +1 @@ -{"errors":"Status is a duplicate"} \ No newline at end of file +{"errors":"Status is a duplicate."} \ No newline at end of file