spec/grocer/push_connection_spec.rb in grocer-0.0.6 vs spec/grocer/push_connection_spec.rb in grocer-0.0.7

- old
+ new

@@ -33,12 +33,12 @@ it 'defaults to the sandboxed Apple push gateway in development environment' do Grocer.stubs(:env).returns('development') subject.gateway.should == 'gateway.sandbox.push.apple.com' end - it 'defaults to the sandboxed Apple push gateway in test environment' do + it 'defaults to the localhost Apple push gateway in test environment' do Grocer.stubs(:env).returns('test') - subject.gateway.should == 'gateway.sandbox.push.apple.com' + subject.gateway.should == '127.0.0.1' end it 'defaults to the sandboxed Apple push gateway for other random values' do Grocer.stubs(:env).returns('random') subject.gateway.should == 'gateway.sandbox.push.apple.com'