We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b1206e commit 02f8cc6Copy full SHA for 02f8cc6
test/lib/action_push_native/service/apns_test.rb
@@ -171,6 +171,12 @@ class ApnsTest < ActiveSupport::TestCase
171
end
172
173
174
+ test "connect to APNs development server" do
175
+ apns = Apns.new(@config.merge(connect_to_development_server: true))
176
+ stub_request(:post, "https://api.sandbox.push.apple.com/3/device/123").to_return(status: 200)
177
+ assert_nothing_raised { apns.push(@notification) }
178
+ end
179
+
180
private
181
def build_notification
182
ActionPushNative::Notification
0 commit comments