lib/telegram/bot/rspec/message_helpers.rb in telegram-bot-0.16.1 vs lib/telegram/bot/rspec/message_helpers.rb in telegram-bot-0.16.3
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
# Shared helpers for testing message updates.
RSpec.shared_context 'telegram/bot/message_helpers' do
let(:default_message_options) { {from: from, chat: chat} }
let(:from) { {id: from_id} }
let(:from_id) { 123 }