Exemplo n.º 1
0
        public void CanTriggerPush()
        {
            SetupDefaultProvider();
            var request = new TestPusherRequest("test_channel", "my_event", @"{""some"":""data""}");

            _defaultProvider.Trigger(request);
        }
        public void CanTriggerPush()
        {
            SetupDefaultProvider();
            var request = new TestPusherRequest("test_channel", "my_event", @"{""some"":""data""}");

            _defaultProvider.Trigger(request);
        }
Exemplo n.º 3
0
        public void BlowsUpOnTriggerPushWithBadCredentials()
        {
            var request = new TestPusherRequest("test_channel", "my_event", @"{""some"":""data""}");

            var provider = new PusherProvider("meh", "foo", "bar");
            provider.Trigger(request);
        }
        public void BlowsUpOnTriggerPushWithBadCredentials()
        {
            var request = new TestPusherRequest("test_channel", "my_event", @"{""some"":""data""}");

            var provider = new PusherProvider("meh", "foo", "bar");

            provider.Trigger(request);
        }