smster 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +3 -3
- data/app/controllers/smster/smsru_controller.rb +26 -0
- data/lib/generators/smster/install/templates/smster.rb +3 -0
- data/lib/smster.rb +1 -0
- data/lib/smster/configuration.rb +2 -1
- data/lib/smster/sms/nexmo.rb +3 -5
- data/lib/smster/sms/smsru.rb +40 -0
- data/lib/smster/version.rb +1 -1
- data/test/controller/smster/smsru_controller_test.rb +23 -0
- data/test/dummy/config/initializers/smster.rb +3 -0
- data/test/dummy/config/routes.rb +1 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +130 -0
- data/test/dummy/log/test.log +1692 -0
- data/test/smster/sms/smsru_test.rb +22 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b8fdbd8765029fc596f9e57a805d1a0aa447700
|
4
|
+
data.tar.gz: 05d2aa2be015b4f8c2f3da8a380c78c756ba552f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e9d1c06b35deddab86e0bd9af9f943312507b0470ffb3596685e9ab69427539b65540461eac5c4a7193d9fbf9cc5100878353ea7a94a1df6cbf4966408f34b6
|
7
|
+
data.tar.gz: 6d225c10f117735b82a6a4565117a5b4f89806c24194109aaf3e576e2b1204c495382d92aacc6f3c2d30bcae42e175bc43d484dea09cb5af39ee9ccbec058c6a
|
data/README.rdoc
CHANGED
@@ -4,6 +4,7 @@ SMS sending service through different providers with maximum convenience.
|
|
4
4
|
===== Supported
|
5
5
|
* {Nexmo}[https://www.nexmo.com/]
|
6
6
|
* {Clickatell}[https://www.clickatell.com/]
|
7
|
+
* {Smsru}[http://sms.ru/]
|
7
8
|
|
8
9
|
== Setup
|
9
10
|
Add gem:
|
@@ -17,8 +18,7 @@ Install:
|
|
17
18
|
Add config of your provider into config/initializers/smster.rb.
|
18
19
|
|
19
20
|
And let's start!
|
20
|
-
Sms
|
21
|
-
Sms::Clickatell.create(text: 'sms text', to: phone_number)
|
21
|
+
Sms::$Provider.create(text: 'sms text', to: phone_number) # Replace "$Provider" to "Nexmo", "Clickatell", etc..
|
22
22
|
|
23
23
|
== Callbacks
|
24
24
|
Add to routes, setup provider callbacks and get sms statuses:
|
@@ -28,6 +28,6 @@ Add to routes, setup provider callbacks and get sms statuses:
|
|
28
28
|
Please use the {issue tracker}[https://github.com/IlyaDonskikh/smster/issues].
|
29
29
|
|
30
30
|
== Thanks
|
31
|
-
1. Mickhail Zelenin for the idea for this gem.
|
31
|
+
1. {Mickhail Zelenin}[https://github.com/MioGreen] for the idea for this gem.
|
32
32
|
2. Egor Kiselev for help in creation of this manual.
|
33
33
|
3. Alexey Bandar for the recommendation of the first provider.
|
@@ -0,0 +1,26 @@
|
|
1
|
+
class Smster::SmsruController < ApplicationController
|
2
|
+
skip_before_filter :verify_authenticity_token
|
3
|
+
|
4
|
+
def callback
|
5
|
+
smsru_params.each do |data|
|
6
|
+
data = data.split(/\n/)
|
7
|
+
if data[0] == 'sms_status'
|
8
|
+
code = data[1]
|
9
|
+
status = data[2]
|
10
|
+
@sms = Sms::Smsru.find_by!(code: code)
|
11
|
+
|
12
|
+
@sms.status_message = status
|
13
|
+
@sms.save
|
14
|
+
|
15
|
+
@sms.accept! if status.to_s == '100'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
render nothing: true, status: 100
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
def smsru_params
|
24
|
+
params.require(:data)
|
25
|
+
end
|
26
|
+
end
|
data/lib/smster.rb
CHANGED
data/lib/smster/configuration.rb
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
module Smster
|
2
2
|
class Configuration
|
3
|
-
attr_accessor :nexmo_key, :nexmo_sekret, :clickatell_authorization_code
|
3
|
+
attr_accessor :nexmo_key, :nexmo_sekret, :clickatell_authorization_code, :smsru_api_id
|
4
4
|
|
5
5
|
def initialize
|
6
6
|
@nexmo_key = ""
|
7
7
|
@nexmo_sekret = ""
|
8
8
|
@clickatell_authorization_code = ""
|
9
|
+
@smsru_api_id = ""
|
9
10
|
end
|
10
11
|
end
|
11
12
|
end
|
data/lib/smster/sms/nexmo.rb
CHANGED
@@ -21,7 +21,10 @@ class Sms::Nexmo < Sms
|
|
21
21
|
:api_secret => api_secret)
|
22
22
|
|
23
23
|
json_response = JSON.parse(response)
|
24
|
+
|
24
25
|
error_text = json_response['messages'][0]['error-text']
|
26
|
+
raise error_text if error_text
|
27
|
+
|
25
28
|
json_response['messages'][0]['message-id']
|
26
29
|
end
|
27
30
|
|
@@ -30,11 +33,6 @@ class Sms::Nexmo < Sms
|
|
30
33
|
self.status = STATUS_CODES[:sent]
|
31
34
|
end
|
32
35
|
|
33
|
-
if error_text.present?
|
34
|
-
self.status = STATUS_CODES[:failed]
|
35
|
-
self.status_message = error_text
|
36
|
-
end
|
37
|
-
|
38
36
|
self.save
|
39
37
|
rescue => e
|
40
38
|
logger.debug("Error #{e}")
|
@@ -0,0 +1,40 @@
|
|
1
|
+
class Sms::Smsru < Sms
|
2
|
+
def send_sms
|
3
|
+
config = Smster.configuration
|
4
|
+
api_id = config.smsru_api_id
|
5
|
+
|
6
|
+
text = self.text.tr(" ", "+")
|
7
|
+
phone = to.gsub(/\D/, '')
|
8
|
+
|
9
|
+
api_message_id = if self.mode == 'test'
|
10
|
+
logger.debug("Mode: #{mode}. To: #{phone}, text: #{text}")
|
11
|
+
self.id
|
12
|
+
else
|
13
|
+
response = RestClient.post('http://sms.ru/sms/send',
|
14
|
+
"api_id" => api_id,
|
15
|
+
"text" => text,
|
16
|
+
"to" => phone.to_s,
|
17
|
+
"from" => name
|
18
|
+
)
|
19
|
+
|
20
|
+
case response.include?('100')
|
21
|
+
when true then result = (/\n(.*)\n/).match(response)[1]
|
22
|
+
else raise response
|
23
|
+
end
|
24
|
+
|
25
|
+
result
|
26
|
+
end
|
27
|
+
|
28
|
+
if api_message_id.present?
|
29
|
+
self.code = api_message_id
|
30
|
+
self.status = STATUS_CODES[:sent]
|
31
|
+
end
|
32
|
+
|
33
|
+
self.save
|
34
|
+
rescue => e
|
35
|
+
logger.debug("Error #{e}")
|
36
|
+
self.status = STATUS_CODES[:failed]
|
37
|
+
self.status_message = e.to_s
|
38
|
+
self.save
|
39
|
+
end
|
40
|
+
end
|
data/lib/smster/version.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Smster::SmsruControllerTest < ActionController::TestCase
|
4
|
+
def setup
|
5
|
+
@text = "simple text"
|
6
|
+
@number = (0...7).map { (1..9).to_a.sample }.join
|
7
|
+
@provider = Sms::Smsru
|
8
|
+
end
|
9
|
+
|
10
|
+
test 'callback' do
|
11
|
+
delivered_code = Sms::STATUS_CODES[:delivered]
|
12
|
+
sms = @provider.create(text: @text, to: @number)
|
13
|
+
|
14
|
+
post :callback, {
|
15
|
+
"data" => ["sms_status\n#{sms.code}\n100"]
|
16
|
+
}
|
17
|
+
|
18
|
+
response = @response.status
|
19
|
+
sms = assigns(:sms)
|
20
|
+
assert_equal 100, @response.status
|
21
|
+
assert_equal delivered_code, sms.status
|
22
|
+
end
|
23
|
+
end
|
data/test/dummy/config/routes.rb
CHANGED
Binary file
|
@@ -139,3 +139,133 @@ Error 401 Unauthorized: {"error":{"code":"001","description":"Authentication fai
|
|
139
139
|
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["to", "79676031236"], ["text", "12321"], ["created_at", "2015-03-31 05:12:12.339970"], ["updated_at", "2015-03-31 05:12:12.339970"]]
|
140
140
|
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["to", "79676031236"], ["text", "12321"], ["created_at", "2015-03-31 05:12:12.339970"], ["updated_at", "2015-03-31 05:12:12.339970"], ["id", 23], ["code", "461fc14daf302da9bf07329c7c8eab7e"], ["id", 23]]
|
141
141
|
[1m[35m (1.1ms)[0m commit transaction
|
142
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
143
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:31:43.306497"], ["updated_at", "2015-04-01 04:31:43.306497"]]
|
144
|
+
Error 757: unexpected token at '301'
|
145
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:31:43.306497"], ["updated_at", "2015-04-01 04:31:43.306497"], ["id", 24], ["status_message", "757: unexpected token at '301'"], ["id", 24]]
|
146
|
+
[1m[35m (1.1ms)[0m commit transaction
|
147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
148
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:32:53.853036"], ["updated_at", "2015-04-01 04:32:53.853036"]]
|
149
|
+
Error 757: unexpected token at '301'
|
150
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:32:53.853036"], ["updated_at", "2015-04-01 04:32:53.853036"], ["id", 25], ["status_message", "757: unexpected token at '301'"], ["id", 25]]
|
151
|
+
[1m[35m (2.5ms)[0m commit transaction
|
152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
153
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:33:50.489694"], ["updated_at", "2015-04-01 04:33:50.489694"]]
|
154
|
+
Error 757: unexpected token at '301'
|
155
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:33:50.489694"], ["updated_at", "2015-04-01 04:33:50.489694"], ["id", 26], ["status_message", "757: unexpected token at '301'"], ["id", 26]]
|
156
|
+
[1m[35m (2.7ms)[0m commit transaction
|
157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
158
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:34:05.226604"], ["updated_at", "2015-04-01 04:34:05.226604"]]
|
159
|
+
Error 757: unexpected token at '301'
|
160
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:34:05.226604"], ["updated_at", "2015-04-01 04:34:05.226604"], ["id", 27], ["status_message", "757: unexpected token at '301'"], ["id", 27]]
|
161
|
+
[1m[35m (2.7ms)[0m commit transaction
|
162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
163
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:35:14.430301"], ["updated_at", "2015-04-01 04:35:14.430301"]]
|
164
|
+
Error 757: unexpected token at '100
|
165
|
+
201514-287346
|
166
|
+
balance=0'
|
167
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:35:14.430301"], ["updated_at", "2015-04-01 04:35:14.430301"], ["id", 28], ["status_message", "757: unexpected token at '100\n201514-287346\nbalance=0'"], ["id", 28]]
|
168
|
+
[1m[35m (2.8ms)[0m commit transaction
|
169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
170
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:36:30.361178"], ["updated_at", "2015-04-01 04:36:30.361178"]]
|
171
|
+
Error undefined method `[]' for nil:NilClass
|
172
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:36:30.361178"], ["updated_at", "2015-04-01 04:36:30.361178"], ["id", 29], ["status_message", "undefined method `[]' for nil:NilClass"], ["id", 29]]
|
173
|
+
[1m[35m (3.3ms)[0m commit transaction
|
174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
175
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:36:53.887144"], ["updated_at", "2015-04-01 04:36:53.887144"]]
|
176
|
+
Error undefined method `[]' for nil:NilClass
|
177
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:36:53.887144"], ["updated_at", "2015-04-01 04:36:53.887144"], ["id", 30], ["status_message", "undefined method `[]' for nil:NilClass"], ["id", 30]]
|
178
|
+
[1m[35m (3.3ms)[0m commit transaction
|
179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
180
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:38:09.094419"], ["updated_at", "2015-04-01 04:38:09.094419"]]
|
181
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:38:09.094419"], ["updated_at", "2015-04-01 04:38:09.094419"], ["id", 31], ["code", "200"], ["id", 31]]
|
182
|
+
[1m[35m (2.8ms)[0m commit transaction
|
183
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
184
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:38:34.700797"], ["updated_at", "2015-04-01 04:38:34.700797"]]
|
185
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:38:34.700797"], ["updated_at", "2015-04-01 04:38:34.700797"], ["id", 32], ["code", "200"], ["id", 32]]
|
186
|
+
[1m[35m (2.8ms)[0m commit transaction
|
187
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
188
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:39:07.700835"], ["updated_at", "2015-04-01 04:39:07.700835"]]
|
189
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:39:07.700835"], ["updated_at", "2015-04-01 04:39:07.700835"], ["id", 33], ["code", "100\n201514-287538\nbalance=0"], ["id", 33]]
|
190
|
+
[1m[35m (1.0ms)[0m commit transaction
|
191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
192
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:53:10.296523"], ["updated_at", "2015-04-01 04:53:10.296523"]]
|
193
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:53:10.296523"], ["updated_at", "2015-04-01 04:53:10.296523"], ["id", 34], ["code", "\n201514-288400\n"], ["id", 34]]
|
194
|
+
[1m[35m (1.1ms)[0m commit transaction
|
195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
196
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:53:53.095804"], ["updated_at", "2015-04-01 04:53:53.095804"]]
|
197
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet"], ["created_at", "2015-04-01 04:53:53.095804"], ["updated_at", "2015-04-01 04:53:53.095804"], ["id", 35], ["code", "\n201514-288428\n"], ["id", 35]]
|
198
|
+
[1m[35m (2.5ms)[0m commit transaction
|
199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
200
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:54:12.125947"], ["updated_at", "2015-04-01 04:54:12.125947"]]
|
201
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
203
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:54:29.355542"], ["updated_at", "2015-04-01 04:54:29.355542"]]
|
204
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
206
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:55:58.580527"], ["updated_at", "2015-04-01 04:55:58.580527"]]
|
207
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
208
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
209
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:56:33.436192"], ["updated_at", "2015-04-01 04:56:33.436192"]]
|
210
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:57:02.626507"], ["updated_at", "2015-04-01 04:57:02.626507"]]
|
213
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
215
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:59:40.358290"], ["updated_at", "2015-04-01 04:59:40.358290"]]
|
216
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 04:59:40.358290"], ["updated_at", "2015-04-01 04:59:40.358290"], ["id", 41], ["code", "\n201514-288785\n"], ["id", 41]]
|
217
|
+
[1m[35m (1.1ms)[0m commit transaction
|
218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
219
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:00:13.070934"], ["updated_at", "2015-04-01 05:00:13.070934"]]
|
220
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:00:13.070934"], ["updated_at", "2015-04-01 05:00:13.070934"], ["id", 42], ["code", "\n201514-289116\n"], ["id", 42]]
|
221
|
+
[1m[35m (3.3ms)[0m commit transaction
|
222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
223
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:00:26.951108"], ["updated_at", "2015-04-01 05:00:26.951108"]]
|
224
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:00:26.951108"], ["updated_at", "2015-04-01 05:00:26.951108"], ["id", 43], ["code", "201514-289206"], ["id", 43]]
|
225
|
+
[1m[35m (2.8ms)[0m commit transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:01:04.451832"], ["updated_at", "2015-04-01 05:01:04.451832"]]
|
228
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
230
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:03:32.198773"], ["updated_at", "2015-04-01 05:03:32.198773"]]
|
231
|
+
Error 200
|
232
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:03:32.198773"], ["updated_at", "2015-04-01 05:03:32.198773"], ["id", 45], ["status_message", "200"], ["id", 45]]
|
233
|
+
[1m[35m (1.0ms)[0m commit transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
235
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:05:56.161547"], ["updated_at", "2015-04-01 05:05:56.161547"]]
|
236
|
+
Error 200
|
237
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:05:56.161547"], ["updated_at", "2015-04-01 05:05:56.161547"], ["id", 46], ["status_message", "200"], ["id", 46]]
|
238
|
+
[1m[35m (2.6ms)[0m commit transaction
|
239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
240
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:06:02.789233"], ["updated_at", "2015-04-01 05:06:02.789233"]]
|
241
|
+
Error 200
|
242
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 3], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:06:02.789233"], ["updated_at", "2015-04-01 05:06:02.789233"], ["id", 47], ["status_message", "200"], ["id", 47]]
|
243
|
+
[1m[35m (1.1ms)[0m commit transaction
|
244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
245
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:06:21.721321"], ["updated_at", "2015-04-01 05:06:21.721321"]]
|
246
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:06:21.721321"], ["updated_at", "2015-04-01 05:06:21.721321"], ["id", 48], ["code", "201514-290067"], ["id", 48]]
|
247
|
+
[1m[35m (2.6ms)[0m commit transaction
|
248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
249
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:09:38.606545"], ["updated_at", "2015-04-01 05:09:38.606545"]]
|
250
|
+
Error Unroutable message - rejected
|
251
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 3], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:09:38.606545"], ["updated_at", "2015-04-01 05:09:38.606545"], ["id", 49], ["status_message", "Unroutable message - rejected"], ["id", 49]]
|
252
|
+
[1m[35m (2.5ms)[0m commit transaction
|
253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
254
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["to", "2481234567"], ["text", "privet1"], ["created_at", "2015-04-01 05:11:44.330672"], ["updated_at", "2015-04-01 05:11:44.330672"]]
|
255
|
+
Error Unroutable message - rejected
|
256
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 3], ["to", "2481234567"], ["text", "privet1"], ["created_at", "2015-04-01 05:11:44.330672"], ["updated_at", "2015-04-01 05:11:44.330672"], ["id", 50], ["status_message", "Unroutable message - rejected"], ["id", 50]]
|
257
|
+
[1m[35m (2.9ms)[0m commit transaction
|
258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
259
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["to", "3579645690"], ["text", "privet1"], ["created_at", "2015-04-01 05:12:14.975186"], ["updated_at", "2015-04-01 05:12:14.975186"]]
|
260
|
+
Error Unroutable message - rejected
|
261
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 3], ["to", "3579645690"], ["text", "privet1"], ["created_at", "2015-04-01 05:12:14.975186"], ["updated_at", "2015-04-01 05:12:14.975186"], ["id", 51], ["status_message", "Unroutable message - rejected"], ["id", 51]]
|
262
|
+
[1m[35m (3.2ms)[0m commit transaction
|
263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
264
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["to", "66950721544"], ["text", "privet1"], ["created_at", "2015-04-01 05:12:37.591421"], ["updated_at", "2015-04-01 05:12:37.591421"]]
|
265
|
+
Error Unroutable message - rejected
|
266
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "status_message" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 3], ["to", "66950721544"], ["text", "privet1"], ["created_at", "2015-04-01 05:12:37.591421"], ["updated_at", "2015-04-01 05:12:37.591421"], ["id", 52], ["status_message", "Unroutable message - rejected"], ["id", 52]]
|
267
|
+
[1m[35m (2.8ms)[0m commit transaction
|
268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
269
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "to", "text", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:17:32.611427"], ["updated_at", "2015-04-01 05:17:32.611427"]]
|
270
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "to" = ?, "text" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["to", "79050958806"], ["text", "privet1"], ["created_at", "2015-04-01 05:17:32.611427"], ["updated_at", "2015-04-01 05:17:32.611427"], ["id", 53], ["code", "0200000059FADD5B"], ["id", 53]]
|
271
|
+
[1m[35m (2.6ms)[0m commit transaction
|
data/test/dummy/log/test.log
CHANGED
@@ -2088,3 +2088,1695 @@ Mode: test. To: 1439722, text: simple+text
|
|
2088
2088
|
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+1439722"], ["created_at", "2015-03-31 06:12:21.601045"], ["updated_at", "2015-03-31 06:12:21.601045"], ["id", 1], ["code", "1"], ["id", 1]]
|
2089
2089
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2090
2090
|
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2091
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2092
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2093
|
+
---------------------------
|
2094
|
+
Sms::NexmoTest: test_create
|
2095
|
+
---------------------------
|
2096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2097
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "4726712"], ["created_at", "2015-04-01 05:34:34.156235"], ["updated_at", "2015-04-01 05:34:34.156235"]]
|
2098
|
+
Mode: test. To: 4726712, text: simple+text
|
2099
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "4726712"], ["created_at", "2015-04-01 05:34:34.156235"], ["updated_at", "2015-04-01 05:34:34.156235"], ["id", 1], ["code", "1"], ["id", 1]]
|
2100
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2101
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
2102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2103
|
+
------------------------------
|
2104
|
+
Sms::NexmoTest: test_format_to
|
2105
|
+
------------------------------
|
2106
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2107
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+3494168"], ["created_at", "2015-04-01 05:34:34.173227"], ["updated_at", "2015-04-01 05:34:34.173227"]]
|
2108
|
+
Mode: test. To: 3494168, text: simple+text
|
2109
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+3494168"], ["created_at", "2015-04-01 05:34:34.173227"], ["updated_at", "2015-04-01 05:34:34.173227"], ["id", 1], ["code", "1"], ["id", 1]]
|
2110
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2111
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2113
|
+
------------------------------------------
|
2114
|
+
Smster::NexmoControllerTest: test_callback
|
2115
|
+
------------------------------------------
|
2116
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2117
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "9218517"], ["created_at", "2015-04-01 05:34:34.231837"], ["updated_at", "2015-04-01 05:34:34.231837"]]
|
2118
|
+
Mode: test. To: 9218517, text: simple+text
|
2119
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "9218517"], ["created_at", "2015-04-01 05:34:34.231837"], ["updated_at", "2015-04-01 05:34:34.231837"], ["id", 1], ["code", "1"], ["id", 1]]
|
2120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2121
|
+
Processing by Smster::NexmoController#callback as HTML
|
2122
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2123
|
+
[1m[36mSms::Nexmo Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2125
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:34:34.241623"], ["id", 1]]
|
2126
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2128
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:34:34.243540"], ["id", 1]]
|
2129
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2130
|
+
Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
2131
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2133
|
+
------------------------------
|
2134
|
+
Sms::SmsRuTest: test_format_to
|
2135
|
+
------------------------------
|
2136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2137
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+6221219"], ["created_at", "2015-04-01 05:34:34.254063"], ["updated_at", "2015-04-01 05:34:34.254063"]]
|
2138
|
+
Mode: test. To: 6221219, text: simple+text
|
2139
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+6221219"], ["created_at", "2015-04-01 05:34:34.254063"], ["updated_at", "2015-04-01 05:34:34.254063"], ["id", 1], ["code", "1"], ["id", 1]]
|
2140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2141
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2142
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2143
|
+
---------------------------
|
2144
|
+
Sms::SmsRuTest: test_create
|
2145
|
+
---------------------------
|
2146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2147
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "7248544"], ["created_at", "2015-04-01 05:34:34.258732"], ["updated_at", "2015-04-01 05:34:34.258732"]]
|
2148
|
+
Mode: test. To: 7248544, text: simple+text
|
2149
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "7248544"], ["created_at", "2015-04-01 05:34:34.258732"], ["updated_at", "2015-04-01 05:34:34.258732"], ["id", 1], ["code", "1"], ["id", 1]]
|
2150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2151
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2153
|
+
-------------------------------
|
2154
|
+
SmsterTest: test_confirguration
|
2155
|
+
-------------------------------
|
2156
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2158
|
+
--------------------------------
|
2159
|
+
Sms::ClickatellTest: test_create
|
2160
|
+
--------------------------------
|
2161
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "9664657"], ["created_at", "2015-04-01 05:34:34.270136"], ["updated_at", "2015-04-01 05:34:34.270136"]]
|
2163
|
+
Mode: test. To: 9664657, text: simple+text
|
2164
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "9664657"], ["created_at", "2015-04-01 05:34:34.270136"], ["updated_at", "2015-04-01 05:34:34.270136"], ["id", 1], ["code", "1"], ["id", 1]]
|
2165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2166
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2168
|
+
-----------------------------------
|
2169
|
+
Sms::ClickatellTest: test_format_to
|
2170
|
+
-----------------------------------
|
2171
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2172
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+4259627"], ["created_at", "2015-04-01 05:34:34.274204"], ["updated_at", "2015-04-01 05:34:34.274204"]]
|
2173
|
+
Mode: test. To: 4259627, text: simple+text
|
2174
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+4259627"], ["created_at", "2015-04-01 05:34:34.274204"], ["updated_at", "2015-04-01 05:34:34.274204"], ["id", 1], ["code", "1"], ["id", 1]]
|
2175
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2176
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2178
|
+
------------------------------------------
|
2179
|
+
Smster::SmsruControllerTest: test_callback
|
2180
|
+
------------------------------------------
|
2181
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2182
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "8319686"], ["created_at", "2015-04-01 05:34:34.280783"], ["updated_at", "2015-04-01 05:34:34.280783"]]
|
2183
|
+
Mode: test. To: 8319686, text: simple+text
|
2184
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "8319686"], ["created_at", "2015-04-01 05:34:34.280783"], ["updated_at", "2015-04-01 05:34:34.280783"], ["id", 1], ["code", "1"], ["id", 1]]
|
2185
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2186
|
+
Processing by Smster::SmsruController#callback as HTML
|
2187
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2188
|
+
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
|
2189
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2191
|
+
-----------------------------------------------
|
2192
|
+
Smster::ClickatellControllerTest: test_callback
|
2193
|
+
-----------------------------------------------
|
2194
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2195
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "2966237"], ["created_at", "2015-04-01 05:34:34.300332"], ["updated_at", "2015-04-01 05:34:34.300332"]]
|
2196
|
+
Mode: test. To: 2966237, text: simple+text
|
2197
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "2966237"], ["created_at", "2015-04-01 05:34:34.300332"], ["updated_at", "2015-04-01 05:34:34.300332"], ["id", 1], ["code", "1"], ["id", 1]]
|
2198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2199
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2200
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2201
|
+
[1m[35mSms::Clickatell Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2202
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2203
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:34:34.305506"], ["id", 1]]
|
2204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2206
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:34:34.306644"], ["id", 1]]
|
2207
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2208
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
2209
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2210
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2211
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2212
|
+
------------------------------------------
|
2213
|
+
Smster::NexmoControllerTest: test_callback
|
2214
|
+
------------------------------------------
|
2215
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2216
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "1756731"], ["created_at", "2015-04-01 05:35:28.575029"], ["updated_at", "2015-04-01 05:35:28.575029"]]
|
2217
|
+
Mode: test. To: 1756731, text: simple+text
|
2218
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "1756731"], ["created_at", "2015-04-01 05:35:28.575029"], ["updated_at", "2015-04-01 05:35:28.575029"], ["id", 1], ["code", "1"], ["id", 1]]
|
2219
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2220
|
+
Processing by Smster::NexmoController#callback as HTML
|
2221
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2222
|
+
[1m[36mSms::Nexmo Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2224
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:35:28.589803"], ["id", 1]]
|
2225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2226
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2227
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:35:28.591889"], ["id", 1]]
|
2228
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2229
|
+
Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.8ms)
|
2230
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
2231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2232
|
+
-----------------------------------------------
|
2233
|
+
Smster::ClickatellControllerTest: test_callback
|
2234
|
+
-----------------------------------------------
|
2235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2236
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "5199111"], ["created_at", "2015-04-01 05:35:28.607960"], ["updated_at", "2015-04-01 05:35:28.607960"]]
|
2237
|
+
Mode: test. To: 5199111, text: simple+text
|
2238
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "5199111"], ["created_at", "2015-04-01 05:35:28.607960"], ["updated_at", "2015-04-01 05:35:28.607960"], ["id", 1], ["code", "1"], ["id", 1]]
|
2239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2240
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2241
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2242
|
+
[1m[35mSms::Clickatell Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2243
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2244
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:35:28.613734"], ["id", 1]]
|
2245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2247
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:35:28.614857"], ["id", 1]]
|
2248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2249
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
2250
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2251
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2252
|
+
------------------------------------------
|
2253
|
+
Smster::SmsruControllerTest: test_callback
|
2254
|
+
------------------------------------------
|
2255
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2256
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1143481"], ["created_at", "2015-04-01 05:35:28.622472"], ["updated_at", "2015-04-01 05:35:28.622472"]]
|
2257
|
+
Mode: test. To: 1143481, text: simple+text
|
2258
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1143481"], ["created_at", "2015-04-01 05:35:28.622472"], ["updated_at", "2015-04-01 05:35:28.622472"], ["id", 1], ["code", "1"], ["id", 1]]
|
2259
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2260
|
+
Processing by Smster::SmsruController#callback as HTML
|
2261
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2262
|
+
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)
|
2263
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2264
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2265
|
+
--------------------------------
|
2266
|
+
Sms::ClickatellTest: test_create
|
2267
|
+
--------------------------------
|
2268
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2269
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "2919458"], ["created_at", "2015-04-01 05:35:28.640406"], ["updated_at", "2015-04-01 05:35:28.640406"]]
|
2270
|
+
Mode: test. To: 2919458, text: simple+text
|
2271
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "2919458"], ["created_at", "2015-04-01 05:35:28.640406"], ["updated_at", "2015-04-01 05:35:28.640406"], ["id", 1], ["code", "1"], ["id", 1]]
|
2272
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2273
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2274
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2275
|
+
-----------------------------------
|
2276
|
+
Sms::ClickatellTest: test_format_to
|
2277
|
+
-----------------------------------
|
2278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2279
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+9444566"], ["created_at", "2015-04-01 05:35:28.644341"], ["updated_at", "2015-04-01 05:35:28.644341"]]
|
2280
|
+
Mode: test. To: 9444566, text: simple+text
|
2281
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+9444566"], ["created_at", "2015-04-01 05:35:28.644341"], ["updated_at", "2015-04-01 05:35:28.644341"], ["id", 1], ["code", "1"], ["id", 1]]
|
2282
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2283
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2284
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2285
|
+
---------------------------
|
2286
|
+
Sms::SmsRuTest: test_create
|
2287
|
+
---------------------------
|
2288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2289
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "3772163"], ["created_at", "2015-04-01 05:35:28.654442"], ["updated_at", "2015-04-01 05:35:28.654442"]]
|
2290
|
+
Mode: test. To: 3772163, text: simple+text
|
2291
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "3772163"], ["created_at", "2015-04-01 05:35:28.654442"], ["updated_at", "2015-04-01 05:35:28.654442"], ["id", 1], ["code", "1"], ["id", 1]]
|
2292
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2293
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2294
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2295
|
+
------------------------------
|
2296
|
+
Sms::SmsRuTest: test_format_to
|
2297
|
+
------------------------------
|
2298
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2299
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+2663792"], ["created_at", "2015-04-01 05:35:28.659016"], ["updated_at", "2015-04-01 05:35:28.659016"]]
|
2300
|
+
Mode: test. To: 2663792, text: simple+text
|
2301
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+2663792"], ["created_at", "2015-04-01 05:35:28.659016"], ["updated_at", "2015-04-01 05:35:28.659016"], ["id", 1], ["code", "1"], ["id", 1]]
|
2302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2303
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2304
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2305
|
+
---------------------------
|
2306
|
+
Sms::NexmoTest: test_create
|
2307
|
+
---------------------------
|
2308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2309
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "3429612"], ["created_at", "2015-04-01 05:35:28.665183"], ["updated_at", "2015-04-01 05:35:28.665183"]]
|
2310
|
+
Mode: test. To: 3429612, text: simple+text
|
2311
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "3429612"], ["created_at", "2015-04-01 05:35:28.665183"], ["updated_at", "2015-04-01 05:35:28.665183"], ["id", 1], ["code", "1"], ["id", 1]]
|
2312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2313
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2315
|
+
------------------------------
|
2316
|
+
Sms::NexmoTest: test_format_to
|
2317
|
+
------------------------------
|
2318
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2319
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+5742964"], ["created_at", "2015-04-01 05:35:28.670489"], ["updated_at", "2015-04-01 05:35:28.670489"]]
|
2320
|
+
Mode: test. To: 5742964, text: simple+text
|
2321
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+5742964"], ["created_at", "2015-04-01 05:35:28.670489"], ["updated_at", "2015-04-01 05:35:28.670489"], ["id", 1], ["code", "1"], ["id", 1]]
|
2322
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2323
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2324
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2325
|
+
-------------------------------
|
2326
|
+
SmsterTest: test_confirguration
|
2327
|
+
-------------------------------
|
2328
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2329
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2330
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2331
|
+
------------------------------------------
|
2332
|
+
Smster::NexmoControllerTest: test_callback
|
2333
|
+
------------------------------------------
|
2334
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2335
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6442764"], ["created_at", "2015-04-01 05:35:55.451045"], ["updated_at", "2015-04-01 05:35:55.451045"]]
|
2336
|
+
Mode: test. To: 6442764, text: simple+text
|
2337
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6442764"], ["created_at", "2015-04-01 05:35:55.451045"], ["updated_at", "2015-04-01 05:35:55.451045"], ["id", 1], ["code", "1"], ["id", 1]]
|
2338
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2339
|
+
Processing by Smster::NexmoController#callback as HTML
|
2340
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2341
|
+
[1m[36mSms::Nexmo Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2342
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2343
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:35:55.469199"], ["id", 1]]
|
2344
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2345
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2346
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:35:55.471142"], ["id", 1]]
|
2347
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2348
|
+
Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
|
2349
|
+
[1m[35m (2.3ms)[0m rollback transaction
|
2350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2351
|
+
---------------------------
|
2352
|
+
Sms::NexmoTest: test_create
|
2353
|
+
---------------------------
|
2354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2355
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "9436457"], ["created_at", "2015-04-01 05:35:55.478232"], ["updated_at", "2015-04-01 05:35:55.478232"]]
|
2356
|
+
Mode: test. To: 9436457, text: simple+text
|
2357
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "9436457"], ["created_at", "2015-04-01 05:35:55.478232"], ["updated_at", "2015-04-01 05:35:55.478232"], ["id", 1], ["code", "1"], ["id", 1]]
|
2358
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2359
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2361
|
+
------------------------------
|
2362
|
+
Sms::NexmoTest: test_format_to
|
2363
|
+
------------------------------
|
2364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2365
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+6319697"], ["created_at", "2015-04-01 05:35:55.482213"], ["updated_at", "2015-04-01 05:35:55.482213"]]
|
2366
|
+
Mode: test. To: 6319697, text: simple+text
|
2367
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+6319697"], ["created_at", "2015-04-01 05:35:55.482213"], ["updated_at", "2015-04-01 05:35:55.482213"], ["id", 1], ["code", "1"], ["id", 1]]
|
2368
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2369
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2371
|
+
-----------------------------------------------
|
2372
|
+
Smster::ClickatellControllerTest: test_callback
|
2373
|
+
-----------------------------------------------
|
2374
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2375
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "9271119"], ["created_at", "2015-04-01 05:35:55.494573"], ["updated_at", "2015-04-01 05:35:55.494573"]]
|
2376
|
+
Mode: test. To: 9271119, text: simple+text
|
2377
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "9271119"], ["created_at", "2015-04-01 05:35:55.494573"], ["updated_at", "2015-04-01 05:35:55.494573"], ["id", 1], ["code", "1"], ["id", 1]]
|
2378
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2379
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2380
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2381
|
+
[1m[35mSms::Clickatell Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2382
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2383
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:35:55.501665"], ["id", 1]]
|
2384
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2385
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2386
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:35:55.503155"], ["id", 1]]
|
2387
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2388
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
2389
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2390
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2391
|
+
--------------------------------
|
2392
|
+
Sms::ClickatellTest: test_create
|
2393
|
+
--------------------------------
|
2394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2395
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "5891743"], ["created_at", "2015-04-01 05:35:55.507923"], ["updated_at", "2015-04-01 05:35:55.507923"]]
|
2396
|
+
Mode: test. To: 5891743, text: simple+text
|
2397
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "5891743"], ["created_at", "2015-04-01 05:35:55.507923"], ["updated_at", "2015-04-01 05:35:55.507923"], ["id", 1], ["code", "1"], ["id", 1]]
|
2398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2399
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2401
|
+
-----------------------------------
|
2402
|
+
Sms::ClickatellTest: test_format_to
|
2403
|
+
-----------------------------------
|
2404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2405
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+9774753"], ["created_at", "2015-04-01 05:35:55.512585"], ["updated_at", "2015-04-01 05:35:55.512585"]]
|
2406
|
+
Mode: test. To: 9774753, text: simple+text
|
2407
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+9774753"], ["created_at", "2015-04-01 05:35:55.512585"], ["updated_at", "2015-04-01 05:35:55.512585"], ["id", 1], ["code", "1"], ["id", 1]]
|
2408
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2409
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2410
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2411
|
+
------------------------------------------
|
2412
|
+
Smster::SmsruControllerTest: test_callback
|
2413
|
+
------------------------------------------
|
2414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2415
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "7977931"], ["created_at", "2015-04-01 05:35:55.519634"], ["updated_at", "2015-04-01 05:35:55.519634"]]
|
2416
|
+
Mode: test. To: 7977931, text: simple+text
|
2417
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "7977931"], ["created_at", "2015-04-01 05:35:55.519634"], ["updated_at", "2015-04-01 05:35:55.519634"], ["id", 1], ["code", "1"], ["id", 1]]
|
2418
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2419
|
+
Processing by Smster::SmsruController#callback as HTML
|
2420
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2421
|
+
Rendered text template (0.0ms)
|
2422
|
+
Completed 100 Continue in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
2423
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2425
|
+
-------------------------------
|
2426
|
+
SmsterTest: test_confirguration
|
2427
|
+
-------------------------------
|
2428
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2429
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2430
|
+
---------------------------
|
2431
|
+
Sms::SmsRuTest: test_create
|
2432
|
+
---------------------------
|
2433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2434
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "1913726"], ["created_at", "2015-04-01 05:35:55.538504"], ["updated_at", "2015-04-01 05:35:55.538504"]]
|
2435
|
+
Mode: test. To: 1913726, text: simple+text
|
2436
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "1913726"], ["created_at", "2015-04-01 05:35:55.538504"], ["updated_at", "2015-04-01 05:35:55.538504"], ["id", 1], ["code", "1"], ["id", 1]]
|
2437
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2438
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2439
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2440
|
+
------------------------------
|
2441
|
+
Sms::SmsRuTest: test_format_to
|
2442
|
+
------------------------------
|
2443
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2444
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+9528896"], ["created_at", "2015-04-01 05:35:55.542659"], ["updated_at", "2015-04-01 05:35:55.542659"]]
|
2445
|
+
Mode: test. To: 9528896, text: simple+text
|
2446
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+9528896"], ["created_at", "2015-04-01 05:35:55.542659"], ["updated_at", "2015-04-01 05:35:55.542659"], ["id", 1], ["code", "1"], ["id", 1]]
|
2447
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2448
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2449
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2450
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2451
|
+
-------------------------------
|
2452
|
+
SmsterTest: test_confirguration
|
2453
|
+
-------------------------------
|
2454
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2455
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2456
|
+
------------------------------
|
2457
|
+
Sms::SmsRuTest: test_format_to
|
2458
|
+
------------------------------
|
2459
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2460
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+1974997"], ["created_at", "2015-04-01 05:36:20.610094"], ["updated_at", "2015-04-01 05:36:20.610094"]]
|
2461
|
+
Mode: test. To: 1974997, text: simple+text
|
2462
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+1974997"], ["created_at", "2015-04-01 05:36:20.610094"], ["updated_at", "2015-04-01 05:36:20.610094"], ["id", 1], ["code", "1"], ["id", 1]]
|
2463
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2464
|
+
[1m[36m (2.7ms)[0m [1mrollback transaction[0m
|
2465
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2466
|
+
---------------------------
|
2467
|
+
Sms::SmsRuTest: test_create
|
2468
|
+
---------------------------
|
2469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2470
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "6881541"], ["created_at", "2015-04-01 05:36:20.621427"], ["updated_at", "2015-04-01 05:36:20.621427"]]
|
2471
|
+
Mode: test. To: 6881541, text: simple+text
|
2472
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "6881541"], ["created_at", "2015-04-01 05:36:20.621427"], ["updated_at", "2015-04-01 05:36:20.621427"], ["id", 1], ["code", "1"], ["id", 1]]
|
2473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2474
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2476
|
+
------------------------------------------
|
2477
|
+
Smster::NexmoControllerTest: test_callback
|
2478
|
+
------------------------------------------
|
2479
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2480
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "1312877"], ["created_at", "2015-04-01 05:36:20.671110"], ["updated_at", "2015-04-01 05:36:20.671110"]]
|
2481
|
+
Mode: test. To: 1312877, text: simple+text
|
2482
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "1312877"], ["created_at", "2015-04-01 05:36:20.671110"], ["updated_at", "2015-04-01 05:36:20.671110"], ["id", 1], ["code", "1"], ["id", 1]]
|
2483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2484
|
+
Processing by Smster::NexmoController#callback as HTML
|
2485
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2486
|
+
[1m[36mSms::Nexmo Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2488
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:36:20.678988"], ["id", 1]]
|
2489
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2490
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2491
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:36:20.680335"], ["id", 1]]
|
2492
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2493
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
2494
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2496
|
+
-----------------------------------------------
|
2497
|
+
Smster::ClickatellControllerTest: test_callback
|
2498
|
+
-----------------------------------------------
|
2499
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2500
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "3663975"], ["created_at", "2015-04-01 05:36:20.692542"], ["updated_at", "2015-04-01 05:36:20.692542"]]
|
2501
|
+
Mode: test. To: 3663975, text: simple+text
|
2502
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "3663975"], ["created_at", "2015-04-01 05:36:20.692542"], ["updated_at", "2015-04-01 05:36:20.692542"], ["id", 1], ["code", "1"], ["id", 1]]
|
2503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2504
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2505
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2506
|
+
[1m[35mSms::Clickatell Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2507
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2508
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:36:20.697936"], ["id", 1]]
|
2509
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2511
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:36:20.699036"], ["id", 1]]
|
2512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2513
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
2514
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2515
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2516
|
+
------------------------------------------
|
2517
|
+
Smster::SmsruControllerTest: test_callback
|
2518
|
+
------------------------------------------
|
2519
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2520
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "3673585"], ["created_at", "2015-04-01 05:36:20.708378"], ["updated_at", "2015-04-01 05:36:20.708378"]]
|
2521
|
+
Mode: test. To: 3673585, text: simple+text
|
2522
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "3673585"], ["created_at", "2015-04-01 05:36:20.708378"], ["updated_at", "2015-04-01 05:36:20.708378"], ["id", 1], ["code", "1"], ["id", 1]]
|
2523
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2524
|
+
Processing by Smster::SmsruController#callback as HTML
|
2525
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2526
|
+
Rendered text template (0.0ms)
|
2527
|
+
Completed 100 Continue in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
2528
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2529
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2530
|
+
--------------------------------
|
2531
|
+
Sms::ClickatellTest: test_create
|
2532
|
+
--------------------------------
|
2533
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2534
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1256678"], ["created_at", "2015-04-01 05:36:20.721194"], ["updated_at", "2015-04-01 05:36:20.721194"]]
|
2535
|
+
Mode: test. To: 1256678, text: simple+text
|
2536
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1256678"], ["created_at", "2015-04-01 05:36:20.721194"], ["updated_at", "2015-04-01 05:36:20.721194"], ["id", 1], ["code", "1"], ["id", 1]]
|
2537
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2538
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2539
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2540
|
+
-----------------------------------
|
2541
|
+
Sms::ClickatellTest: test_format_to
|
2542
|
+
-----------------------------------
|
2543
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2544
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+1612188"], ["created_at", "2015-04-01 05:36:20.725184"], ["updated_at", "2015-04-01 05:36:20.725184"]]
|
2545
|
+
Mode: test. To: 1612188, text: simple+text
|
2546
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+1612188"], ["created_at", "2015-04-01 05:36:20.725184"], ["updated_at", "2015-04-01 05:36:20.725184"], ["id", 1], ["code", "1"], ["id", 1]]
|
2547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2548
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2550
|
+
---------------------------
|
2551
|
+
Sms::NexmoTest: test_create
|
2552
|
+
---------------------------
|
2553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2554
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "3769681"], ["created_at", "2015-04-01 05:36:20.729138"], ["updated_at", "2015-04-01 05:36:20.729138"]]
|
2555
|
+
Mode: test. To: 3769681, text: simple+text
|
2556
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "3769681"], ["created_at", "2015-04-01 05:36:20.729138"], ["updated_at", "2015-04-01 05:36:20.729138"], ["id", 1], ["code", "1"], ["id", 1]]
|
2557
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2558
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2559
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2560
|
+
------------------------------
|
2561
|
+
Sms::NexmoTest: test_format_to
|
2562
|
+
------------------------------
|
2563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2564
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+1881658"], ["created_at", "2015-04-01 05:36:20.732986"], ["updated_at", "2015-04-01 05:36:20.732986"]]
|
2565
|
+
Mode: test. To: 1881658, text: simple+text
|
2566
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+1881658"], ["created_at", "2015-04-01 05:36:20.732986"], ["updated_at", "2015-04-01 05:36:20.732986"], ["id", 1], ["code", "1"], ["id", 1]]
|
2567
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2568
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2569
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2570
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2571
|
+
-----------------------------------------------
|
2572
|
+
Smster::ClickatellControllerTest: test_callback
|
2573
|
+
-----------------------------------------------
|
2574
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2575
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "2182567"], ["created_at", "2015-04-01 05:36:31.199110"], ["updated_at", "2015-04-01 05:36:31.199110"]]
|
2576
|
+
Mode: test. To: 2182567, text: simple+text
|
2577
|
+
[1m[36mSQL (0.9ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "2182567"], ["created_at", "2015-04-01 05:36:31.199110"], ["updated_at", "2015-04-01 05:36:31.199110"], ["id", 1], ["code", "1"], ["id", 1]]
|
2578
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2579
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2580
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2581
|
+
[1m[36mSms::Clickatell Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2582
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2583
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:36:31.217976"], ["id", 1]]
|
2584
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2585
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2586
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:36:31.219693"], ["id", 1]]
|
2587
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2588
|
+
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
2589
|
+
[1m[35m (2.9ms)[0m rollback transaction
|
2590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2591
|
+
--------------------------------
|
2592
|
+
Sms::ClickatellTest: test_create
|
2593
|
+
--------------------------------
|
2594
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2595
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "8547352"], ["created_at", "2015-04-01 05:36:31.226348"], ["updated_at", "2015-04-01 05:36:31.226348"]]
|
2596
|
+
Mode: test. To: 8547352, text: simple+text
|
2597
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "8547352"], ["created_at", "2015-04-01 05:36:31.226348"], ["updated_at", "2015-04-01 05:36:31.226348"], ["id", 1], ["code", "1"], ["id", 1]]
|
2598
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2599
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2601
|
+
-----------------------------------
|
2602
|
+
Sms::ClickatellTest: test_format_to
|
2603
|
+
-----------------------------------
|
2604
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2605
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+7654476"], ["created_at", "2015-04-01 05:36:31.231334"], ["updated_at", "2015-04-01 05:36:31.231334"]]
|
2606
|
+
Mode: test. To: 7654476, text: simple+text
|
2607
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+7654476"], ["created_at", "2015-04-01 05:36:31.231334"], ["updated_at", "2015-04-01 05:36:31.231334"], ["id", 1], ["code", "1"], ["id", 1]]
|
2608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2609
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2610
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2611
|
+
------------------------------------------
|
2612
|
+
Smster::SmsruControllerTest: test_callback
|
2613
|
+
------------------------------------------
|
2614
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2615
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "7664893"], ["created_at", "2015-04-01 05:36:31.238699"], ["updated_at", "2015-04-01 05:36:31.238699"]]
|
2616
|
+
Mode: test. To: 7664893, text: simple+text
|
2617
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "7664893"], ["created_at", "2015-04-01 05:36:31.238699"], ["updated_at", "2015-04-01 05:36:31.238699"], ["id", 1], ["code", "1"], ["id", 1]]
|
2618
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2619
|
+
Processing by Smster::SmsruController#callback as HTML
|
2620
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2621
|
+
Rendered text template (0.0ms)
|
2622
|
+
Completed 100 Continue in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
2623
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2624
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2625
|
+
------------------------------
|
2626
|
+
Sms::NexmoTest: test_format_to
|
2627
|
+
------------------------------
|
2628
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2629
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+9916847"], ["created_at", "2015-04-01 05:36:31.254974"], ["updated_at", "2015-04-01 05:36:31.254974"]]
|
2630
|
+
Mode: test. To: 9916847, text: simple+text
|
2631
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+9916847"], ["created_at", "2015-04-01 05:36:31.254974"], ["updated_at", "2015-04-01 05:36:31.254974"], ["id", 1], ["code", "1"], ["id", 1]]
|
2632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2633
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2635
|
+
---------------------------
|
2636
|
+
Sms::NexmoTest: test_create
|
2637
|
+
---------------------------
|
2638
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2639
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6148839"], ["created_at", "2015-04-01 05:36:31.259076"], ["updated_at", "2015-04-01 05:36:31.259076"]]
|
2640
|
+
Mode: test. To: 6148839, text: simple+text
|
2641
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6148839"], ["created_at", "2015-04-01 05:36:31.259076"], ["updated_at", "2015-04-01 05:36:31.259076"], ["id", 1], ["code", "1"], ["id", 1]]
|
2642
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2643
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2644
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2645
|
+
-------------------------------
|
2646
|
+
SmsterTest: test_confirguration
|
2647
|
+
-------------------------------
|
2648
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2649
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2650
|
+
---------------------------
|
2651
|
+
Sms::SmsRuTest: test_create
|
2652
|
+
---------------------------
|
2653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2654
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "2931113"], ["created_at", "2015-04-01 05:36:31.272748"], ["updated_at", "2015-04-01 05:36:31.272748"]]
|
2655
|
+
Mode: test. To: 2931113, text: simple+text
|
2656
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "2931113"], ["created_at", "2015-04-01 05:36:31.272748"], ["updated_at", "2015-04-01 05:36:31.272748"], ["id", 1], ["code", "1"], ["id", 1]]
|
2657
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2658
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2659
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2660
|
+
------------------------------
|
2661
|
+
Sms::SmsRuTest: test_format_to
|
2662
|
+
------------------------------
|
2663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2664
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+2327836"], ["created_at", "2015-04-01 05:36:31.276879"], ["updated_at", "2015-04-01 05:36:31.276879"]]
|
2665
|
+
Mode: test. To: 2327836, text: simple+text
|
2666
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+2327836"], ["created_at", "2015-04-01 05:36:31.276879"], ["updated_at", "2015-04-01 05:36:31.276879"], ["id", 1], ["code", "1"], ["id", 1]]
|
2667
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2668
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2669
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2670
|
+
------------------------------------------
|
2671
|
+
Smster::NexmoControllerTest: test_callback
|
2672
|
+
------------------------------------------
|
2673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2674
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "8535152"], ["created_at", "2015-04-01 05:36:31.283412"], ["updated_at", "2015-04-01 05:36:31.283412"]]
|
2675
|
+
Mode: test. To: 8535152, text: simple+text
|
2676
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "8535152"], ["created_at", "2015-04-01 05:36:31.283412"], ["updated_at", "2015-04-01 05:36:31.283412"], ["id", 1], ["code", "1"], ["id", 1]]
|
2677
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2678
|
+
Processing by Smster::NexmoController#callback as HTML
|
2679
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2680
|
+
[1m[35mSms::Nexmo Load (0.2ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2682
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-04-01 05:36:31.290038"], ["id", 1]]
|
2683
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2685
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:36:31.293144"], ["id", 1]]
|
2686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2687
|
+
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms)
|
2688
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2689
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2690
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2691
|
+
--------------------------------
|
2692
|
+
Sms::ClickatellTest: test_create
|
2693
|
+
--------------------------------
|
2694
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2695
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "4377891"], ["created_at", "2015-04-01 05:37:38.176271"], ["updated_at", "2015-04-01 05:37:38.176271"]]
|
2696
|
+
Mode: test. To: 4377891, text: simple+text
|
2697
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "4377891"], ["created_at", "2015-04-01 05:37:38.176271"], ["updated_at", "2015-04-01 05:37:38.176271"], ["id", 1], ["code", "1"], ["id", 1]]
|
2698
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2699
|
+
[1m[36m (2.9ms)[0m [1mrollback transaction[0m
|
2700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2701
|
+
-----------------------------------
|
2702
|
+
Sms::ClickatellTest: test_format_to
|
2703
|
+
-----------------------------------
|
2704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2705
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+2885645"], ["created_at", "2015-04-01 05:37:38.187704"], ["updated_at", "2015-04-01 05:37:38.187704"]]
|
2706
|
+
Mode: test. To: 2885645, text: simple+text
|
2707
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+2885645"], ["created_at", "2015-04-01 05:37:38.187704"], ["updated_at", "2015-04-01 05:37:38.187704"], ["id", 1], ["code", "1"], ["id", 1]]
|
2708
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2709
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2711
|
+
-------------------------------
|
2712
|
+
SmsterTest: test_confirguration
|
2713
|
+
-------------------------------
|
2714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2716
|
+
-----------------------------------------------
|
2717
|
+
Smster::ClickatellControllerTest: test_callback
|
2718
|
+
-----------------------------------------------
|
2719
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2720
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1844765"], ["created_at", "2015-04-01 05:37:38.232207"], ["updated_at", "2015-04-01 05:37:38.232207"]]
|
2721
|
+
Mode: test. To: 1844765, text: simple+text
|
2722
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1844765"], ["created_at", "2015-04-01 05:37:38.232207"], ["updated_at", "2015-04-01 05:37:38.232207"], ["id", 1], ["code", "1"], ["id", 1]]
|
2723
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2724
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2725
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2726
|
+
[1m[36mSms::Clickatell Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2728
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:37:38.240917"], ["id", 1]]
|
2729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2731
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:37:38.242166"], ["id", 1]]
|
2732
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2733
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
2734
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2736
|
+
---------------------------
|
2737
|
+
Sms::NexmoTest: test_create
|
2738
|
+
---------------------------
|
2739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2740
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6546635"], ["created_at", "2015-04-01 05:37:38.251314"], ["updated_at", "2015-04-01 05:37:38.251314"]]
|
2741
|
+
Mode: test. To: 6546635, text: simple+text
|
2742
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6546635"], ["created_at", "2015-04-01 05:37:38.251314"], ["updated_at", "2015-04-01 05:37:38.251314"], ["id", 1], ["code", "1"], ["id", 1]]
|
2743
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2744
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2746
|
+
------------------------------
|
2747
|
+
Sms::NexmoTest: test_format_to
|
2748
|
+
------------------------------
|
2749
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2750
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+4518742"], ["created_at", "2015-04-01 05:37:38.255457"], ["updated_at", "2015-04-01 05:37:38.255457"]]
|
2751
|
+
Mode: test. To: 4518742, text: simple+text
|
2752
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+4518742"], ["created_at", "2015-04-01 05:37:38.255457"], ["updated_at", "2015-04-01 05:37:38.255457"], ["id", 1], ["code", "1"], ["id", 1]]
|
2753
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2754
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2756
|
+
---------------------------
|
2757
|
+
Sms::SmsRuTest: test_create
|
2758
|
+
---------------------------
|
2759
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2760
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "6923798"], ["created_at", "2015-04-01 05:37:38.265235"], ["updated_at", "2015-04-01 05:37:38.265235"]]
|
2761
|
+
Mode: test. To: 6923798, text: simple+text
|
2762
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "6923798"], ["created_at", "2015-04-01 05:37:38.265235"], ["updated_at", "2015-04-01 05:37:38.265235"], ["id", 1], ["code", "1"], ["id", 1]]
|
2763
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2764
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2766
|
+
------------------------------
|
2767
|
+
Sms::SmsRuTest: test_format_to
|
2768
|
+
------------------------------
|
2769
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2770
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+7579948"], ["created_at", "2015-04-01 05:37:38.270374"], ["updated_at", "2015-04-01 05:37:38.270374"]]
|
2771
|
+
Mode: test. To: 7579948, text: simple+text
|
2772
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+7579948"], ["created_at", "2015-04-01 05:37:38.270374"], ["updated_at", "2015-04-01 05:37:38.270374"], ["id", 1], ["code", "1"], ["id", 1]]
|
2773
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2774
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2775
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2776
|
+
------------------------------------------
|
2777
|
+
Smster::SmsruControllerTest: test_callback
|
2778
|
+
------------------------------------------
|
2779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2780
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1924127"], ["created_at", "2015-04-01 05:37:38.277662"], ["updated_at", "2015-04-01 05:37:38.277662"]]
|
2781
|
+
Mode: test. To: 1924127, text: simple+text
|
2782
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1924127"], ["created_at", "2015-04-01 05:37:38.277662"], ["updated_at", "2015-04-01 05:37:38.277662"], ["id", 1], ["code", "1"], ["id", 1]]
|
2783
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2784
|
+
Processing by Smster::SmsruController#callback as HTML
|
2785
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2786
|
+
Rendered text template (0.0ms)
|
2787
|
+
Completed 100 Continue in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
2788
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2790
|
+
------------------------------------------
|
2791
|
+
Smster::NexmoControllerTest: test_callback
|
2792
|
+
------------------------------------------
|
2793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2794
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "3338321"], ["created_at", "2015-04-01 05:37:38.291321"], ["updated_at", "2015-04-01 05:37:38.291321"]]
|
2795
|
+
Mode: test. To: 3338321, text: simple+text
|
2796
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "3338321"], ["created_at", "2015-04-01 05:37:38.291321"], ["updated_at", "2015-04-01 05:37:38.291321"], ["id", 1], ["code", "1"], ["id", 1]]
|
2797
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2798
|
+
Processing by Smster::NexmoController#callback as HTML
|
2799
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2800
|
+
[1m[35mSms::Nexmo Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2801
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2802
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-04-01 05:37:38.296220"], ["id", 1]]
|
2803
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2804
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2805
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:37:38.297299"], ["id", 1]]
|
2806
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2807
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
2808
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2809
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2811
|
+
-------------------------------
|
2812
|
+
SmsterTest: test_confirguration
|
2813
|
+
-------------------------------
|
2814
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2815
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2816
|
+
------------------------------------------
|
2817
|
+
Smster::NexmoControllerTest: test_callback
|
2818
|
+
------------------------------------------
|
2819
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2820
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "2671113"], ["created_at", "2015-04-01 05:38:00.379589"], ["updated_at", "2015-04-01 05:38:00.379589"]]
|
2821
|
+
Mode: test. To: 2671113, text: simple+text
|
2822
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "2671113"], ["created_at", "2015-04-01 05:38:00.379589"], ["updated_at", "2015-04-01 05:38:00.379589"], ["id", 1], ["code", "1"], ["id", 1]]
|
2823
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2824
|
+
Processing by Smster::NexmoController#callback as HTML
|
2825
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2826
|
+
[1m[36mSms::Nexmo Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2828
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:38:00.392795"], ["id", 1]]
|
2829
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2830
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2831
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:38:00.394077"], ["id", 1]]
|
2832
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2833
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
2834
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
2835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2836
|
+
--------------------------------
|
2837
|
+
Sms::ClickatellTest: test_create
|
2838
|
+
--------------------------------
|
2839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2840
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "9119242"], ["created_at", "2015-04-01 05:38:00.407930"], ["updated_at", "2015-04-01 05:38:00.407930"]]
|
2841
|
+
Mode: test. To: 9119242, text: simple+text
|
2842
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "9119242"], ["created_at", "2015-04-01 05:38:00.407930"], ["updated_at", "2015-04-01 05:38:00.407930"], ["id", 1], ["code", "1"], ["id", 1]]
|
2843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2844
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2845
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2846
|
+
-----------------------------------
|
2847
|
+
Sms::ClickatellTest: test_format_to
|
2848
|
+
-----------------------------------
|
2849
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2850
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+2522852"], ["created_at", "2015-04-01 05:38:00.412193"], ["updated_at", "2015-04-01 05:38:00.412193"]]
|
2851
|
+
Mode: test. To: 2522852, text: simple+text
|
2852
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+2522852"], ["created_at", "2015-04-01 05:38:00.412193"], ["updated_at", "2015-04-01 05:38:00.412193"], ["id", 1], ["code", "1"], ["id", 1]]
|
2853
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2854
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2856
|
+
---------------------------
|
2857
|
+
Sms::SmsRuTest: test_create
|
2858
|
+
---------------------------
|
2859
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2860
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "4826444"], ["created_at", "2015-04-01 05:38:00.422640"], ["updated_at", "2015-04-01 05:38:00.422640"]]
|
2861
|
+
Mode: test. To: 4826444, text: simple+text
|
2862
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "4826444"], ["created_at", "2015-04-01 05:38:00.422640"], ["updated_at", "2015-04-01 05:38:00.422640"], ["id", 1], ["code", "1"], ["id", 1]]
|
2863
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2864
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2865
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2866
|
+
------------------------------
|
2867
|
+
Sms::SmsRuTest: test_format_to
|
2868
|
+
------------------------------
|
2869
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2870
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+6495285"], ["created_at", "2015-04-01 05:38:00.427966"], ["updated_at", "2015-04-01 05:38:00.427966"]]
|
2871
|
+
Mode: test. To: 6495285, text: simple+text
|
2872
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+6495285"], ["created_at", "2015-04-01 05:38:00.427966"], ["updated_at", "2015-04-01 05:38:00.427966"], ["id", 1], ["code", "1"], ["id", 1]]
|
2873
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2874
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2875
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2876
|
+
------------------------------------------
|
2877
|
+
Smster::SmsruControllerTest: test_callback
|
2878
|
+
------------------------------------------
|
2879
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2880
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1695294"], ["created_at", "2015-04-01 05:38:00.434516"], ["updated_at", "2015-04-01 05:38:00.434516"]]
|
2881
|
+
Mode: test. To: 1695294, text: simple+text
|
2882
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1695294"], ["created_at", "2015-04-01 05:38:00.434516"], ["updated_at", "2015-04-01 05:38:00.434516"], ["id", 1], ["code", "1"], ["id", 1]]
|
2883
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2884
|
+
Processing by Smster::SmsruController#callback as HTML
|
2885
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
2886
|
+
Rendered text template (0.0ms)
|
2887
|
+
Completed 100 Continue in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
2888
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
2889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2890
|
+
---------------------------
|
2891
|
+
Sms::NexmoTest: test_create
|
2892
|
+
---------------------------
|
2893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2894
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "4342127"], ["created_at", "2015-04-01 05:38:00.447525"], ["updated_at", "2015-04-01 05:38:00.447525"]]
|
2895
|
+
Mode: test. To: 4342127, text: simple+text
|
2896
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "4342127"], ["created_at", "2015-04-01 05:38:00.447525"], ["updated_at", "2015-04-01 05:38:00.447525"], ["id", 1], ["code", "1"], ["id", 1]]
|
2897
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2898
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2899
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2900
|
+
------------------------------
|
2901
|
+
Sms::NexmoTest: test_format_to
|
2902
|
+
------------------------------
|
2903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2904
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+2129553"], ["created_at", "2015-04-01 05:38:00.451729"], ["updated_at", "2015-04-01 05:38:00.451729"]]
|
2905
|
+
Mode: test. To: 2129553, text: simple+text
|
2906
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+2129553"], ["created_at", "2015-04-01 05:38:00.451729"], ["updated_at", "2015-04-01 05:38:00.451729"], ["id", 1], ["code", "1"], ["id", 1]]
|
2907
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2908
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2910
|
+
-----------------------------------------------
|
2911
|
+
Smster::ClickatellControllerTest: test_callback
|
2912
|
+
-----------------------------------------------
|
2913
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2914
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1542695"], ["created_at", "2015-04-01 05:38:00.458154"], ["updated_at", "2015-04-01 05:38:00.458154"]]
|
2915
|
+
Mode: test. To: 1542695, text: simple+text
|
2916
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1542695"], ["created_at", "2015-04-01 05:38:00.458154"], ["updated_at", "2015-04-01 05:38:00.458154"], ["id", 1], ["code", "1"], ["id", 1]]
|
2917
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2918
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2919
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2920
|
+
[1m[35mSms::Clickatell Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2921
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2922
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:38:00.463509"], ["id", 1]]
|
2923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2925
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:38:00.464630"], ["id", 1]]
|
2926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2927
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
2928
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2929
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2931
|
+
---------------------------
|
2932
|
+
Sms::SmsRuTest: test_create
|
2933
|
+
---------------------------
|
2934
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2935
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "9268436"], ["created_at", "2015-04-01 05:38:20.970299"], ["updated_at", "2015-04-01 05:38:20.970299"]]
|
2936
|
+
Mode: test. To: 9268436, text: simple+text
|
2937
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "9268436"], ["created_at", "2015-04-01 05:38:20.970299"], ["updated_at", "2015-04-01 05:38:20.970299"], ["id", 1], ["code", "1"], ["id", 1]]
|
2938
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2939
|
+
[1m[36m (2.8ms)[0m [1mrollback transaction[0m
|
2940
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2941
|
+
------------------------------
|
2942
|
+
Sms::SmsRuTest: test_format_to
|
2943
|
+
------------------------------
|
2944
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2945
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+2866711"], ["created_at", "2015-04-01 05:38:20.982740"], ["updated_at", "2015-04-01 05:38:20.982740"]]
|
2946
|
+
Mode: test. To: 2866711, text: simple+text
|
2947
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+2866711"], ["created_at", "2015-04-01 05:38:20.982740"], ["updated_at", "2015-04-01 05:38:20.982740"], ["id", 1], ["code", "1"], ["id", 1]]
|
2948
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2949
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2950
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2951
|
+
------------------------------------------
|
2952
|
+
Smster::NexmoControllerTest: test_callback
|
2953
|
+
------------------------------------------
|
2954
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2955
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "7187649"], ["created_at", "2015-04-01 05:38:21.030536"], ["updated_at", "2015-04-01 05:38:21.030536"]]
|
2956
|
+
Mode: test. To: 7187649, text: simple+text
|
2957
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "7187649"], ["created_at", "2015-04-01 05:38:21.030536"], ["updated_at", "2015-04-01 05:38:21.030536"], ["id", 1], ["code", "1"], ["id", 1]]
|
2958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2959
|
+
Processing by Smster::NexmoController#callback as HTML
|
2960
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
2961
|
+
[1m[36mSms::Nexmo Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
2962
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2963
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:38:21.037977"], ["id", 1]]
|
2964
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2966
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:38:21.040146"], ["id", 1]]
|
2967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2968
|
+
Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.7ms)
|
2969
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2971
|
+
-----------------------------------------------
|
2972
|
+
Smster::ClickatellControllerTest: test_callback
|
2973
|
+
-----------------------------------------------
|
2974
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2975
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "2987495"], ["created_at", "2015-04-01 05:38:21.052143"], ["updated_at", "2015-04-01 05:38:21.052143"]]
|
2976
|
+
Mode: test. To: 2987495, text: simple+text
|
2977
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "2987495"], ["created_at", "2015-04-01 05:38:21.052143"], ["updated_at", "2015-04-01 05:38:21.052143"], ["id", 1], ["code", "1"], ["id", 1]]
|
2978
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2979
|
+
Processing by Smster::ClickatellController#callback as HTML
|
2980
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
2981
|
+
[1m[35mSms::Clickatell Load (0.2ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
2982
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2983
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:38:21.060518"], ["id", 1]]
|
2984
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2985
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2986
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:38:21.062082"], ["id", 1]]
|
2987
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2988
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
2989
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2990
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2991
|
+
--------------------------------
|
2992
|
+
Sms::ClickatellTest: test_create
|
2993
|
+
--------------------------------
|
2994
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2995
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1742959"], ["created_at", "2015-04-01 05:38:21.065946"], ["updated_at", "2015-04-01 05:38:21.065946"]]
|
2996
|
+
Mode: test. To: 1742959, text: simple+text
|
2997
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1742959"], ["created_at", "2015-04-01 05:38:21.065946"], ["updated_at", "2015-04-01 05:38:21.065946"], ["id", 1], ["code", "1"], ["id", 1]]
|
2998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2999
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3000
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3001
|
+
-----------------------------------
|
3002
|
+
Sms::ClickatellTest: test_format_to
|
3003
|
+
-----------------------------------
|
3004
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3005
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+1328429"], ["created_at", "2015-04-01 05:38:21.069944"], ["updated_at", "2015-04-01 05:38:21.069944"]]
|
3006
|
+
Mode: test. To: 1328429, text: simple+text
|
3007
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+1328429"], ["created_at", "2015-04-01 05:38:21.069944"], ["updated_at", "2015-04-01 05:38:21.069944"], ["id", 1], ["code", "1"], ["id", 1]]
|
3008
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3009
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3011
|
+
------------------------------
|
3012
|
+
Sms::NexmoTest: test_format_to
|
3013
|
+
------------------------------
|
3014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3015
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+9125495"], ["created_at", "2015-04-01 05:38:21.074527"], ["updated_at", "2015-04-01 05:38:21.074527"]]
|
3016
|
+
Mode: test. To: 9125495, text: simple+text
|
3017
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+9125495"], ["created_at", "2015-04-01 05:38:21.074527"], ["updated_at", "2015-04-01 05:38:21.074527"], ["id", 1], ["code", "1"], ["id", 1]]
|
3018
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3019
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3021
|
+
---------------------------
|
3022
|
+
Sms::NexmoTest: test_create
|
3023
|
+
---------------------------
|
3024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3025
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "5251175"], ["created_at", "2015-04-01 05:38:21.078650"], ["updated_at", "2015-04-01 05:38:21.078650"]]
|
3026
|
+
Mode: test. To: 5251175, text: simple+text
|
3027
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "5251175"], ["created_at", "2015-04-01 05:38:21.078650"], ["updated_at", "2015-04-01 05:38:21.078650"], ["id", 1], ["code", "1"], ["id", 1]]
|
3028
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3029
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3031
|
+
-------------------------------
|
3032
|
+
SmsterTest: test_confirguration
|
3033
|
+
-------------------------------
|
3034
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3035
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3036
|
+
------------------------------------------
|
3037
|
+
Smster::SmsruControllerTest: test_callback
|
3038
|
+
------------------------------------------
|
3039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3040
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1666569"], ["created_at", "2015-04-01 05:38:21.086184"], ["updated_at", "2015-04-01 05:38:21.086184"]]
|
3041
|
+
Mode: test. To: 1666569, text: simple+text
|
3042
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1666569"], ["created_at", "2015-04-01 05:38:21.086184"], ["updated_at", "2015-04-01 05:38:21.086184"], ["id", 1], ["code", "1"], ["id", 1]]
|
3043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3044
|
+
Processing by Smster::SmsruController#callback as HTML
|
3045
|
+
Parameters: {"data"=>[["sms_status", "1", "100"]]}
|
3046
|
+
Rendered text template (0.0ms)
|
3047
|
+
Completed 100 Continue in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
3048
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3049
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3051
|
+
--------------------------------
|
3052
|
+
Sms::ClickatellTest: test_create
|
3053
|
+
--------------------------------
|
3054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3055
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "5781883"], ["created_at", "2015-04-01 05:39:31.190222"], ["updated_at", "2015-04-01 05:39:31.190222"]]
|
3056
|
+
Mode: test. To: 5781883, text: simple+text
|
3057
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "5781883"], ["created_at", "2015-04-01 05:39:31.190222"], ["updated_at", "2015-04-01 05:39:31.190222"], ["id", 1], ["code", "1"], ["id", 1]]
|
3058
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3059
|
+
[1m[36m (2.4ms)[0m [1mrollback transaction[0m
|
3060
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3061
|
+
-----------------------------------
|
3062
|
+
Sms::ClickatellTest: test_format_to
|
3063
|
+
-----------------------------------
|
3064
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3065
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+9883878"], ["created_at", "2015-04-01 05:39:31.201122"], ["updated_at", "2015-04-01 05:39:31.201122"]]
|
3066
|
+
Mode: test. To: 9883878, text: simple+text
|
3067
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+9883878"], ["created_at", "2015-04-01 05:39:31.201122"], ["updated_at", "2015-04-01 05:39:31.201122"], ["id", 1], ["code", "1"], ["id", 1]]
|
3068
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3069
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3070
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3071
|
+
---------------------------
|
3072
|
+
Sms::NexmoTest: test_create
|
3073
|
+
---------------------------
|
3074
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3075
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "3753169"], ["created_at", "2015-04-01 05:39:31.213219"], ["updated_at", "2015-04-01 05:39:31.213219"]]
|
3076
|
+
Mode: test. To: 3753169, text: simple+text
|
3077
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "3753169"], ["created_at", "2015-04-01 05:39:31.213219"], ["updated_at", "2015-04-01 05:39:31.213219"], ["id", 1], ["code", "1"], ["id", 1]]
|
3078
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3079
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3080
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3081
|
+
------------------------------
|
3082
|
+
Sms::NexmoTest: test_format_to
|
3083
|
+
------------------------------
|
3084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3085
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+6738332"], ["created_at", "2015-04-01 05:39:31.217844"], ["updated_at", "2015-04-01 05:39:31.217844"]]
|
3086
|
+
Mode: test. To: 6738332, text: simple+text
|
3087
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+6738332"], ["created_at", "2015-04-01 05:39:31.217844"], ["updated_at", "2015-04-01 05:39:31.217844"], ["id", 1], ["code", "1"], ["id", 1]]
|
3088
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3089
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3090
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3091
|
+
-------------------------------
|
3092
|
+
SmsterTest: test_confirguration
|
3093
|
+
-------------------------------
|
3094
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3095
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3096
|
+
-----------------------------------------------
|
3097
|
+
Smster::ClickatellControllerTest: test_callback
|
3098
|
+
-----------------------------------------------
|
3099
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "8361669"], ["created_at", "2015-04-01 05:39:31.259125"], ["updated_at", "2015-04-01 05:39:31.259125"]]
|
3101
|
+
Mode: test. To: 8361669, text: simple+text
|
3102
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "8361669"], ["created_at", "2015-04-01 05:39:31.259125"], ["updated_at", "2015-04-01 05:39:31.259125"], ["id", 1], ["code", "1"], ["id", 1]]
|
3103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3104
|
+
Processing by Smster::ClickatellController#callback as HTML
|
3105
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
3106
|
+
[1m[36mSms::Clickatell Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3107
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3108
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:39:31.266795"], ["id", 1]]
|
3109
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3110
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3111
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:39:31.268160"], ["id", 1]]
|
3112
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3113
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
3114
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3116
|
+
------------------------------------------
|
3117
|
+
Smster::NexmoControllerTest: test_callback
|
3118
|
+
------------------------------------------
|
3119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "9135488"], ["created_at", "2015-04-01 05:39:31.274031"], ["updated_at", "2015-04-01 05:39:31.274031"]]
|
3121
|
+
Mode: test. To: 9135488, text: simple+text
|
3122
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "9135488"], ["created_at", "2015-04-01 05:39:31.274031"], ["updated_at", "2015-04-01 05:39:31.274031"], ["id", 1], ["code", "1"], ["id", 1]]
|
3123
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3124
|
+
Processing by Smster::NexmoController#callback as HTML
|
3125
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
3126
|
+
[1m[35mSms::Nexmo Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
3127
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3128
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-04-01 05:39:31.278961"], ["id", 1]]
|
3129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3131
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:39:31.280133"], ["id", 1]]
|
3132
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3133
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
3134
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3135
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3136
|
+
------------------------------------------
|
3137
|
+
Smster::SmsruControllerTest: test_callback
|
3138
|
+
------------------------------------------
|
3139
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3140
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "6829936"], ["created_at", "2015-04-01 05:39:31.287071"], ["updated_at", "2015-04-01 05:39:31.287071"]]
|
3141
|
+
Mode: test. To: 6829936, text: simple+text
|
3142
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "6829936"], ["created_at", "2015-04-01 05:39:31.287071"], ["updated_at", "2015-04-01 05:39:31.287071"], ["id", 1], ["code", "1"], ["id", 1]]
|
3143
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3144
|
+
Processing by Smster::SmsruController#callback as HTML
|
3145
|
+
Parameters: {"data"=>["sms_status'\n1\n100"]}
|
3146
|
+
Rendered text template (0.0ms)
|
3147
|
+
Completed 100 Continue in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
3148
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3150
|
+
---------------------------
|
3151
|
+
Sms::SmsRuTest: test_create
|
3152
|
+
---------------------------
|
3153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3154
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "7163614"], ["created_at", "2015-04-01 05:39:31.304399"], ["updated_at", "2015-04-01 05:39:31.304399"]]
|
3155
|
+
Mode: test. To: 7163614, text: simple+text
|
3156
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "7163614"], ["created_at", "2015-04-01 05:39:31.304399"], ["updated_at", "2015-04-01 05:39:31.304399"], ["id", 1], ["code", "1"], ["id", 1]]
|
3157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3158
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
3159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3160
|
+
------------------------------
|
3161
|
+
Sms::SmsRuTest: test_format_to
|
3162
|
+
------------------------------
|
3163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3164
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+7488961"], ["created_at", "2015-04-01 05:39:31.308869"], ["updated_at", "2015-04-01 05:39:31.308869"]]
|
3165
|
+
Mode: test. To: 7488961, text: simple+text
|
3166
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+7488961"], ["created_at", "2015-04-01 05:39:31.308869"], ["updated_at", "2015-04-01 05:39:31.308869"], ["id", 1], ["code", "1"], ["id", 1]]
|
3167
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3168
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3169
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3170
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3171
|
+
------------------------------------------
|
3172
|
+
Smster::NexmoControllerTest: test_callback
|
3173
|
+
------------------------------------------
|
3174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3175
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "8537281"], ["created_at", "2015-04-01 05:39:50.496772"], ["updated_at", "2015-04-01 05:39:50.496772"]]
|
3176
|
+
Mode: test. To: 8537281, text: simple+text
|
3177
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "8537281"], ["created_at", "2015-04-01 05:39:50.496772"], ["updated_at", "2015-04-01 05:39:50.496772"], ["id", 1], ["code", "1"], ["id", 1]]
|
3178
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3179
|
+
Processing by Smster::NexmoController#callback as HTML
|
3180
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
3181
|
+
[1m[36mSms::Nexmo Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3183
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:39:50.512855"], ["id", 1]]
|
3184
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3185
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3186
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:39:50.514202"], ["id", 1]]
|
3187
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3188
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.5ms)
|
3189
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
3190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3191
|
+
---------------------------
|
3192
|
+
Sms::SmsRuTest: test_create
|
3193
|
+
---------------------------
|
3194
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3195
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "7396335"], ["created_at", "2015-04-01 05:39:50.527813"], ["updated_at", "2015-04-01 05:39:50.527813"]]
|
3196
|
+
Mode: test. To: 7396335, text: simple+text
|
3197
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "7396335"], ["created_at", "2015-04-01 05:39:50.527813"], ["updated_at", "2015-04-01 05:39:50.527813"], ["id", 1], ["code", "1"], ["id", 1]]
|
3198
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3199
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3201
|
+
------------------------------
|
3202
|
+
Sms::SmsRuTest: test_format_to
|
3203
|
+
------------------------------
|
3204
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3205
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+9444489"], ["created_at", "2015-04-01 05:39:50.532587"], ["updated_at", "2015-04-01 05:39:50.532587"]]
|
3206
|
+
Mode: test. To: 9444489, text: simple+text
|
3207
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+9444489"], ["created_at", "2015-04-01 05:39:50.532587"], ["updated_at", "2015-04-01 05:39:50.532587"], ["id", 1], ["code", "1"], ["id", 1]]
|
3208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3209
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3211
|
+
------------------------------------------
|
3212
|
+
Smster::SmsruControllerTest: test_callback
|
3213
|
+
------------------------------------------
|
3214
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3215
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "8468364"], ["created_at", "2015-04-01 05:39:50.546730"], ["updated_at", "2015-04-01 05:39:50.546730"]]
|
3216
|
+
Mode: test. To: 8468364, text: simple+text
|
3217
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "8468364"], ["created_at", "2015-04-01 05:39:50.546730"], ["updated_at", "2015-04-01 05:39:50.546730"], ["id", 1], ["code", "1"], ["id", 1]]
|
3218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3219
|
+
Processing by Smster::SmsruController#callback as HTML
|
3220
|
+
Parameters: {"data"=>["sms_status'\n1\n100"]}
|
3221
|
+
Rendered text template (0.0ms)
|
3222
|
+
Completed 100 Continue in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
3223
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3225
|
+
---------------------------
|
3226
|
+
Sms::NexmoTest: test_create
|
3227
|
+
---------------------------
|
3228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3229
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6924472"], ["created_at", "2015-04-01 05:39:50.560990"], ["updated_at", "2015-04-01 05:39:50.560990"]]
|
3230
|
+
Mode: test. To: 6924472, text: simple+text
|
3231
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6924472"], ["created_at", "2015-04-01 05:39:50.560990"], ["updated_at", "2015-04-01 05:39:50.560990"], ["id", 1], ["code", "1"], ["id", 1]]
|
3232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3233
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3235
|
+
------------------------------
|
3236
|
+
Sms::NexmoTest: test_format_to
|
3237
|
+
------------------------------
|
3238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3239
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+9726327"], ["created_at", "2015-04-01 05:39:50.565210"], ["updated_at", "2015-04-01 05:39:50.565210"]]
|
3240
|
+
Mode: test. To: 9726327, text: simple+text
|
3241
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+9726327"], ["created_at", "2015-04-01 05:39:50.565210"], ["updated_at", "2015-04-01 05:39:50.565210"], ["id", 1], ["code", "1"], ["id", 1]]
|
3242
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3243
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3245
|
+
-----------------------------------
|
3246
|
+
Sms::ClickatellTest: test_format_to
|
3247
|
+
-----------------------------------
|
3248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3249
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+4839369"], ["created_at", "2015-04-01 05:39:50.569598"], ["updated_at", "2015-04-01 05:39:50.569598"]]
|
3250
|
+
Mode: test. To: 4839369, text: simple+text
|
3251
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+4839369"], ["created_at", "2015-04-01 05:39:50.569598"], ["updated_at", "2015-04-01 05:39:50.569598"], ["id", 1], ["code", "1"], ["id", 1]]
|
3252
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3253
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3255
|
+
--------------------------------
|
3256
|
+
Sms::ClickatellTest: test_create
|
3257
|
+
--------------------------------
|
3258
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3259
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "4548844"], ["created_at", "2015-04-01 05:39:50.573428"], ["updated_at", "2015-04-01 05:39:50.573428"]]
|
3260
|
+
Mode: test. To: 4548844, text: simple+text
|
3261
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "4548844"], ["created_at", "2015-04-01 05:39:50.573428"], ["updated_at", "2015-04-01 05:39:50.573428"], ["id", 1], ["code", "1"], ["id", 1]]
|
3262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3263
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3264
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3265
|
+
-------------------------------
|
3266
|
+
SmsterTest: test_confirguration
|
3267
|
+
-------------------------------
|
3268
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3270
|
+
-----------------------------------------------
|
3271
|
+
Smster::ClickatellControllerTest: test_callback
|
3272
|
+
-----------------------------------------------
|
3273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3274
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "2578224"], ["created_at", "2015-04-01 05:39:50.581636"], ["updated_at", "2015-04-01 05:39:50.581636"]]
|
3275
|
+
Mode: test. To: 2578224, text: simple+text
|
3276
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "2578224"], ["created_at", "2015-04-01 05:39:50.581636"], ["updated_at", "2015-04-01 05:39:50.581636"], ["id", 1], ["code", "1"], ["id", 1]]
|
3277
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3278
|
+
Processing by Smster::ClickatellController#callback as HTML
|
3279
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
3280
|
+
[1m[35mSms::Clickatell Load (0.2ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
3281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3282
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:39:50.588665"], ["id", 1]]
|
3283
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3284
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3285
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:39:50.589846"], ["id", 1]]
|
3286
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3287
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
3288
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3289
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3291
|
+
------------------------------------------
|
3292
|
+
Smster::SmsruControllerTest: test_callback
|
3293
|
+
------------------------------------------
|
3294
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3295
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1114295"], ["created_at", "2015-04-01 05:40:45.641292"], ["updated_at", "2015-04-01 05:40:45.641292"]]
|
3296
|
+
Mode: test. To: 1114295, text: simple+text
|
3297
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1114295"], ["created_at", "2015-04-01 05:40:45.641292"], ["updated_at", "2015-04-01 05:40:45.641292"], ["id", 1], ["code", "1"], ["id", 1]]
|
3298
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3299
|
+
Processing by Smster::SmsruController#callback as HTML
|
3300
|
+
Parameters: {"data"=>["sms_status'\n1\n100"]}
|
3301
|
+
Rendered text template (0.0ms)
|
3302
|
+
Completed 100 Continue in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
3303
|
+
[1m[36m (2.8ms)[0m [1mrollback transaction[0m
|
3304
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3305
|
+
-----------------------------------------------
|
3306
|
+
Smster::ClickatellControllerTest: test_callback
|
3307
|
+
-----------------------------------------------
|
3308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3309
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "3514674"], ["created_at", "2015-04-01 05:40:45.665367"], ["updated_at", "2015-04-01 05:40:45.665367"]]
|
3310
|
+
Mode: test. To: 3514674, text: simple+text
|
3311
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "3514674"], ["created_at", "2015-04-01 05:40:45.665367"], ["updated_at", "2015-04-01 05:40:45.665367"], ["id", 1], ["code", "1"], ["id", 1]]
|
3312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3313
|
+
Processing by Smster::ClickatellController#callback as HTML
|
3314
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
3315
|
+
[1m[36mSms::Clickatell Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3317
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:40:45.673055"], ["id", 1]]
|
3318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3319
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3320
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:40:45.674790"], ["id", 1]]
|
3321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3322
|
+
Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
3323
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3325
|
+
---------------------------
|
3326
|
+
Sms::NexmoTest: test_create
|
3327
|
+
---------------------------
|
3328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3329
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6437572"], ["created_at", "2015-04-01 05:40:45.684220"], ["updated_at", "2015-04-01 05:40:45.684220"]]
|
3330
|
+
Mode: test. To: 6437572, text: simple+text
|
3331
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6437572"], ["created_at", "2015-04-01 05:40:45.684220"], ["updated_at", "2015-04-01 05:40:45.684220"], ["id", 1], ["code", "1"], ["id", 1]]
|
3332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3333
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3335
|
+
------------------------------
|
3336
|
+
Sms::NexmoTest: test_format_to
|
3337
|
+
------------------------------
|
3338
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3339
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+8731616"], ["created_at", "2015-04-01 05:40:45.689118"], ["updated_at", "2015-04-01 05:40:45.689118"]]
|
3340
|
+
Mode: test. To: 8731616, text: simple+text
|
3341
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+8731616"], ["created_at", "2015-04-01 05:40:45.689118"], ["updated_at", "2015-04-01 05:40:45.689118"], ["id", 1], ["code", "1"], ["id", 1]]
|
3342
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3343
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3345
|
+
---------------------------
|
3346
|
+
Sms::SmsRuTest: test_create
|
3347
|
+
---------------------------
|
3348
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3349
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "7993888"], ["created_at", "2015-04-01 05:40:45.703094"], ["updated_at", "2015-04-01 05:40:45.703094"]]
|
3350
|
+
Mode: test. To: 7993888, text: simple+text
|
3351
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "7993888"], ["created_at", "2015-04-01 05:40:45.703094"], ["updated_at", "2015-04-01 05:40:45.703094"], ["id", 1], ["code", "1"], ["id", 1]]
|
3352
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3353
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3355
|
+
------------------------------
|
3356
|
+
Sms::SmsRuTest: test_format_to
|
3357
|
+
------------------------------
|
3358
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3359
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+2249462"], ["created_at", "2015-04-01 05:40:45.707967"], ["updated_at", "2015-04-01 05:40:45.707967"]]
|
3360
|
+
Mode: test. To: 2249462, text: simple+text
|
3361
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+2249462"], ["created_at", "2015-04-01 05:40:45.707967"], ["updated_at", "2015-04-01 05:40:45.707967"], ["id", 1], ["code", "1"], ["id", 1]]
|
3362
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3363
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3365
|
+
-------------------------------
|
3366
|
+
SmsterTest: test_confirguration
|
3367
|
+
-------------------------------
|
3368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3369
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3370
|
+
-----------------------------------
|
3371
|
+
Sms::ClickatellTest: test_format_to
|
3372
|
+
-----------------------------------
|
3373
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3374
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+8365988"], ["created_at", "2015-04-01 05:40:45.715147"], ["updated_at", "2015-04-01 05:40:45.715147"]]
|
3375
|
+
Mode: test. To: 8365988, text: simple+text
|
3376
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+8365988"], ["created_at", "2015-04-01 05:40:45.715147"], ["updated_at", "2015-04-01 05:40:45.715147"], ["id", 1], ["code", "1"], ["id", 1]]
|
3377
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3378
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3379
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3380
|
+
--------------------------------
|
3381
|
+
Sms::ClickatellTest: test_create
|
3382
|
+
--------------------------------
|
3383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3384
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "9479492"], ["created_at", "2015-04-01 05:40:45.720357"], ["updated_at", "2015-04-01 05:40:45.720357"]]
|
3385
|
+
Mode: test. To: 9479492, text: simple+text
|
3386
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "9479492"], ["created_at", "2015-04-01 05:40:45.720357"], ["updated_at", "2015-04-01 05:40:45.720357"], ["id", 1], ["code", "1"], ["id", 1]]
|
3387
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3388
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3390
|
+
------------------------------------------
|
3391
|
+
Smster::NexmoControllerTest: test_callback
|
3392
|
+
------------------------------------------
|
3393
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3394
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "4169679"], ["created_at", "2015-04-01 05:40:45.726965"], ["updated_at", "2015-04-01 05:40:45.726965"]]
|
3395
|
+
Mode: test. To: 4169679, text: simple+text
|
3396
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "4169679"], ["created_at", "2015-04-01 05:40:45.726965"], ["updated_at", "2015-04-01 05:40:45.726965"], ["id", 1], ["code", "1"], ["id", 1]]
|
3397
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3398
|
+
Processing by Smster::NexmoController#callback as HTML
|
3399
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
3400
|
+
[1m[35mSms::Nexmo Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
3401
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3402
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-04-01 05:40:45.731903"], ["id", 1]]
|
3403
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3405
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:40:45.732915"], ["id", 1]]
|
3406
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3407
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
3408
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3409
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3410
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3411
|
+
---------------------------
|
3412
|
+
Sms::SmsRuTest: test_create
|
3413
|
+
---------------------------
|
3414
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3415
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "2823626"], ["created_at", "2015-04-01 05:40:59.807617"], ["updated_at", "2015-04-01 05:40:59.807617"]]
|
3416
|
+
Mode: test. To: 2823626, text: simple+text
|
3417
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "2823626"], ["created_at", "2015-04-01 05:40:59.807617"], ["updated_at", "2015-04-01 05:40:59.807617"], ["id", 1], ["code", "1"], ["id", 1]]
|
3418
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3419
|
+
[1m[36m (2.4ms)[0m [1mrollback transaction[0m
|
3420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3421
|
+
------------------------------
|
3422
|
+
Sms::SmsRuTest: test_format_to
|
3423
|
+
------------------------------
|
3424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3425
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+9277925"], ["created_at", "2015-04-01 05:40:59.818600"], ["updated_at", "2015-04-01 05:40:59.818600"]]
|
3426
|
+
Mode: test. To: 9277925, text: simple+text
|
3427
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+9277925"], ["created_at", "2015-04-01 05:40:59.818600"], ["updated_at", "2015-04-01 05:40:59.818600"], ["id", 1], ["code", "1"], ["id", 1]]
|
3428
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3429
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3431
|
+
------------------------------------------
|
3432
|
+
Smster::SmsruControllerTest: test_callback
|
3433
|
+
------------------------------------------
|
3434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3435
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "8551746"], ["created_at", "2015-04-01 05:40:59.864241"], ["updated_at", "2015-04-01 05:40:59.864241"]]
|
3436
|
+
Mode: test. To: 8551746, text: simple+text
|
3437
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "8551746"], ["created_at", "2015-04-01 05:40:59.864241"], ["updated_at", "2015-04-01 05:40:59.864241"], ["id", 1], ["code", "1"], ["id", 1]]
|
3438
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3439
|
+
Processing by Smster::SmsruController#callback as HTML
|
3440
|
+
Parameters: {"data"=>["sms_status\n1\n100"]}
|
3441
|
+
[1m[36mSms::Smsru Load (0.3ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3442
|
+
Completed 404 Not Found in 4ms (ActiveRecord: 0.3ms)
|
3443
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3445
|
+
------------------------------------------
|
3446
|
+
Smster::NexmoControllerTest: test_callback
|
3447
|
+
------------------------------------------
|
3448
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3449
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "5181588"], ["created_at", "2015-04-01 05:40:59.886032"], ["updated_at", "2015-04-01 05:40:59.886032"]]
|
3450
|
+
Mode: test. To: 5181588, text: simple+text
|
3451
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "5181588"], ["created_at", "2015-04-01 05:40:59.886032"], ["updated_at", "2015-04-01 05:40:59.886032"], ["id", 1], ["code", "1"], ["id", 1]]
|
3452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3453
|
+
Processing by Smster::NexmoController#callback as HTML
|
3454
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
3455
|
+
[1m[35mSms::Nexmo Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
3456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3457
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-04-01 05:40:59.891415"], ["id", 1]]
|
3458
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3459
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3460
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:40:59.892542"], ["id", 1]]
|
3461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3462
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
3463
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3465
|
+
-----------------------------------------------
|
3466
|
+
Smster::ClickatellControllerTest: test_callback
|
3467
|
+
-----------------------------------------------
|
3468
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3469
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1459167"], ["created_at", "2015-04-01 05:40:59.899112"], ["updated_at", "2015-04-01 05:40:59.899112"]]
|
3470
|
+
Mode: test. To: 1459167, text: simple+text
|
3471
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1459167"], ["created_at", "2015-04-01 05:40:59.899112"], ["updated_at", "2015-04-01 05:40:59.899112"], ["id", 1], ["code", "1"], ["id", 1]]
|
3472
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3473
|
+
Processing by Smster::ClickatellController#callback as HTML
|
3474
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
3475
|
+
[1m[36mSms::Clickatell Load (0.2ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3476
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3477
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:40:59.906001"], ["id", 1]]
|
3478
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3479
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3480
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:40:59.907558"], ["id", 1]]
|
3481
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3482
|
+
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
3483
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3485
|
+
------------------------------
|
3486
|
+
Sms::NexmoTest: test_format_to
|
3487
|
+
------------------------------
|
3488
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3489
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+3451323"], ["created_at", "2015-04-01 05:40:59.912447"], ["updated_at", "2015-04-01 05:40:59.912447"]]
|
3490
|
+
Mode: test. To: 3451323, text: simple+text
|
3491
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+3451323"], ["created_at", "2015-04-01 05:40:59.912447"], ["updated_at", "2015-04-01 05:40:59.912447"], ["id", 1], ["code", "1"], ["id", 1]]
|
3492
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3493
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3495
|
+
---------------------------
|
3496
|
+
Sms::NexmoTest: test_create
|
3497
|
+
---------------------------
|
3498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3499
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "8378772"], ["created_at", "2015-04-01 05:40:59.916577"], ["updated_at", "2015-04-01 05:40:59.916577"]]
|
3500
|
+
Mode: test. To: 8378772, text: simple+text
|
3501
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "8378772"], ["created_at", "2015-04-01 05:40:59.916577"], ["updated_at", "2015-04-01 05:40:59.916577"], ["id", 1], ["code", "1"], ["id", 1]]
|
3502
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3503
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3505
|
+
-------------------------------
|
3506
|
+
SmsterTest: test_confirguration
|
3507
|
+
-------------------------------
|
3508
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3509
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3510
|
+
--------------------------------
|
3511
|
+
Sms::ClickatellTest: test_create
|
3512
|
+
--------------------------------
|
3513
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3514
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "2168242"], ["created_at", "2015-04-01 05:40:59.923200"], ["updated_at", "2015-04-01 05:40:59.923200"]]
|
3515
|
+
Mode: test. To: 2168242, text: simple+text
|
3516
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "2168242"], ["created_at", "2015-04-01 05:40:59.923200"], ["updated_at", "2015-04-01 05:40:59.923200"], ["id", 1], ["code", "1"], ["id", 1]]
|
3517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3518
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3519
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3520
|
+
-----------------------------------
|
3521
|
+
Sms::ClickatellTest: test_format_to
|
3522
|
+
-----------------------------------
|
3523
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3524
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+7729371"], ["created_at", "2015-04-01 05:40:59.927152"], ["updated_at", "2015-04-01 05:40:59.927152"]]
|
3525
|
+
Mode: test. To: 7729371, text: simple+text
|
3526
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+7729371"], ["created_at", "2015-04-01 05:40:59.927152"], ["updated_at", "2015-04-01 05:40:59.927152"], ["id", 1], ["code", "1"], ["id", 1]]
|
3527
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3528
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3529
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3531
|
+
------------------------------------------
|
3532
|
+
Smster::NexmoControllerTest: test_callback
|
3533
|
+
------------------------------------------
|
3534
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3535
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "1342531"], ["created_at", "2015-04-01 05:41:21.257281"], ["updated_at", "2015-04-01 05:41:21.257281"]]
|
3536
|
+
Mode: test. To: 1342531, text: simple+text
|
3537
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "1342531"], ["created_at", "2015-04-01 05:41:21.257281"], ["updated_at", "2015-04-01 05:41:21.257281"], ["id", 1], ["code", "1"], ["id", 1]]
|
3538
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3539
|
+
Processing by Smster::NexmoController#callback as HTML
|
3540
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
3541
|
+
[1m[36mSms::Nexmo Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3543
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:41:21.270962"], ["id", 1]]
|
3544
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3545
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3546
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:41:21.272312"], ["id", 1]]
|
3547
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3548
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
3549
|
+
[1m[35m (2.8ms)[0m rollback transaction
|
3550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3551
|
+
--------------------------------
|
3552
|
+
Sms::ClickatellTest: test_create
|
3553
|
+
--------------------------------
|
3554
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3555
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "4114274"], ["created_at", "2015-04-01 05:41:21.287065"], ["updated_at", "2015-04-01 05:41:21.287065"]]
|
3556
|
+
Mode: test. To: 4114274, text: simple+text
|
3557
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "4114274"], ["created_at", "2015-04-01 05:41:21.287065"], ["updated_at", "2015-04-01 05:41:21.287065"], ["id", 1], ["code", "1"], ["id", 1]]
|
3558
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3559
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3561
|
+
-----------------------------------
|
3562
|
+
Sms::ClickatellTest: test_format_to
|
3563
|
+
-----------------------------------
|
3564
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3565
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+7536244"], ["created_at", "2015-04-01 05:41:21.292447"], ["updated_at", "2015-04-01 05:41:21.292447"]]
|
3566
|
+
Mode: test. To: 7536244, text: simple+text
|
3567
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+7536244"], ["created_at", "2015-04-01 05:41:21.292447"], ["updated_at", "2015-04-01 05:41:21.292447"], ["id", 1], ["code", "1"], ["id", 1]]
|
3568
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3569
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3570
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3571
|
+
------------------------------
|
3572
|
+
Sms::NexmoTest: test_format_to
|
3573
|
+
------------------------------
|
3574
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3575
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+1484856"], ["created_at", "2015-04-01 05:41:21.297553"], ["updated_at", "2015-04-01 05:41:21.297553"]]
|
3576
|
+
Mode: test. To: 1484856, text: simple+text
|
3577
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+1484856"], ["created_at", "2015-04-01 05:41:21.297553"], ["updated_at", "2015-04-01 05:41:21.297553"], ["id", 1], ["code", "1"], ["id", 1]]
|
3578
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3579
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3581
|
+
---------------------------
|
3582
|
+
Sms::NexmoTest: test_create
|
3583
|
+
---------------------------
|
3584
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3585
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6533931"], ["created_at", "2015-04-01 05:41:21.301834"], ["updated_at", "2015-04-01 05:41:21.301834"]]
|
3586
|
+
Mode: test. To: 6533931, text: simple+text
|
3587
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6533931"], ["created_at", "2015-04-01 05:41:21.301834"], ["updated_at", "2015-04-01 05:41:21.301834"], ["id", 1], ["code", "1"], ["id", 1]]
|
3588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3589
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3590
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3591
|
+
-----------------------------------------------
|
3592
|
+
Smster::ClickatellControllerTest: test_callback
|
3593
|
+
-----------------------------------------------
|
3594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3595
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "1425375"], ["created_at", "2015-04-01 05:41:21.309837"], ["updated_at", "2015-04-01 05:41:21.309837"]]
|
3596
|
+
Mode: test. To: 1425375, text: simple+text
|
3597
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "1425375"], ["created_at", "2015-04-01 05:41:21.309837"], ["updated_at", "2015-04-01 05:41:21.309837"], ["id", 1], ["code", "1"], ["id", 1]]
|
3598
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3599
|
+
Processing by Smster::ClickatellController#callback as HTML
|
3600
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
3601
|
+
[1m[35mSms::Clickatell Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
3602
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3603
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:41:21.316903"], ["id", 1]]
|
3604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3605
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3606
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:41:21.318525"], ["id", 1]]
|
3607
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3608
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
3609
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3611
|
+
---------------------------
|
3612
|
+
Sms::SmsRuTest: test_create
|
3613
|
+
---------------------------
|
3614
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3615
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "3418118"], ["created_at", "2015-04-01 05:41:21.330539"], ["updated_at", "2015-04-01 05:41:21.330539"]]
|
3616
|
+
Mode: test. To: 3418118, text: simple+text
|
3617
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "3418118"], ["created_at", "2015-04-01 05:41:21.330539"], ["updated_at", "2015-04-01 05:41:21.330539"], ["id", 1], ["code", "1"], ["id", 1]]
|
3618
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3619
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3621
|
+
------------------------------
|
3622
|
+
Sms::SmsRuTest: test_format_to
|
3623
|
+
------------------------------
|
3624
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3625
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+4125974"], ["created_at", "2015-04-01 05:41:21.334876"], ["updated_at", "2015-04-01 05:41:21.334876"]]
|
3626
|
+
Mode: test. To: 4125974, text: simple+text
|
3627
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+4125974"], ["created_at", "2015-04-01 05:41:21.334876"], ["updated_at", "2015-04-01 05:41:21.334876"], ["id", 1], ["code", "1"], ["id", 1]]
|
3628
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3629
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3631
|
+
-------------------------------
|
3632
|
+
SmsterTest: test_confirguration
|
3633
|
+
-------------------------------
|
3634
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3635
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3636
|
+
------------------------------------------
|
3637
|
+
Smster::SmsruControllerTest: test_callback
|
3638
|
+
------------------------------------------
|
3639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3640
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "6875922"], ["created_at", "2015-04-01 05:41:21.342162"], ["updated_at", "2015-04-01 05:41:21.342162"]]
|
3641
|
+
Mode: test. To: 6875922, text: simple+text
|
3642
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "6875922"], ["created_at", "2015-04-01 05:41:21.342162"], ["updated_at", "2015-04-01 05:41:21.342162"], ["id", 1], ["code", "1"], ["id", 1]]
|
3643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3644
|
+
Processing by Smster::SmsruController#callback as HTML
|
3645
|
+
Parameters: {"data"=>["sms_status\n1\n100"]}
|
3646
|
+
[1m[36mSms::Smsru Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3647
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3648
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "100"], ["updated_at", "2015-04-01 05:41:21.347418"], ["id", 1]]
|
3649
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3651
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:41:21.348565"], ["id", 1]]
|
3652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3653
|
+
Rendered text template (0.0ms)
|
3654
|
+
Completed 100 Continue in 7ms (Views: 4.0ms | ActiveRecord: 0.4ms)
|
3655
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3656
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3658
|
+
---------------------------
|
3659
|
+
Sms::NexmoTest: test_create
|
3660
|
+
---------------------------
|
3661
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3662
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "6716264"], ["created_at", "2015-04-01 05:41:47.819713"], ["updated_at", "2015-04-01 05:41:47.819713"]]
|
3663
|
+
Mode: test. To: 6716264, text: simple+text
|
3664
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "6716264"], ["created_at", "2015-04-01 05:41:47.819713"], ["updated_at", "2015-04-01 05:41:47.819713"], ["id", 1], ["code", "1"], ["id", 1]]
|
3665
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3666
|
+
[1m[36m (2.1ms)[0m [1mrollback transaction[0m
|
3667
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3668
|
+
------------------------------
|
3669
|
+
Sms::NexmoTest: test_format_to
|
3670
|
+
------------------------------
|
3671
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3672
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "+9697822"], ["created_at", "2015-04-01 05:41:47.830398"], ["updated_at", "2015-04-01 05:41:47.830398"]]
|
3673
|
+
Mode: test. To: 9697822, text: simple+text
|
3674
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "+9697822"], ["created_at", "2015-04-01 05:41:47.830398"], ["updated_at", "2015-04-01 05:41:47.830398"], ["id", 1], ["code", "1"], ["id", 1]]
|
3675
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3676
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3677
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3678
|
+
------------------------------------------
|
3679
|
+
Smster::NexmoControllerTest: test_callback
|
3680
|
+
------------------------------------------
|
3681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3682
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["status", 0], ["text", "simple text"], ["to", "1924793"], ["created_at", "2015-04-01 05:41:47.876983"], ["updated_at", "2015-04-01 05:41:47.876983"]]
|
3683
|
+
Mode: test. To: 1924793, text: simple+text
|
3684
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Nexmo"], ["status", 1], ["text", "simple text"], ["to", "1924793"], ["created_at", "2015-04-01 05:41:47.876983"], ["updated_at", "2015-04-01 05:41:47.876983"], ["id", 1], ["code", "1"], ["id", 1]]
|
3685
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3686
|
+
Processing by Smster::NexmoController#callback as HTML
|
3687
|
+
Parameters: {"messageId"=>"1", "status"=>"delivered"}
|
3688
|
+
[1m[36mSms::Nexmo Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3690
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "delivered"], ["updated_at", "2015-04-01 05:41:47.884138"], ["id", 1]]
|
3691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3693
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:41:47.885390"], ["id", 1]]
|
3694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3695
|
+
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
3696
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3697
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3698
|
+
-----------------------------------
|
3699
|
+
Sms::ClickatellTest: test_format_to
|
3700
|
+
-----------------------------------
|
3701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3702
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "+3263117"], ["created_at", "2015-04-01 05:41:47.894555"], ["updated_at", "2015-04-01 05:41:47.894555"]]
|
3703
|
+
Mode: test. To: 3263117, text: simple+text
|
3704
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "+3263117"], ["created_at", "2015-04-01 05:41:47.894555"], ["updated_at", "2015-04-01 05:41:47.894555"], ["id", 1], ["code", "1"], ["id", 1]]
|
3705
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3706
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3708
|
+
--------------------------------
|
3709
|
+
Sms::ClickatellTest: test_create
|
3710
|
+
--------------------------------
|
3711
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3712
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "4734264"], ["created_at", "2015-04-01 05:41:47.898693"], ["updated_at", "2015-04-01 05:41:47.898693"]]
|
3713
|
+
Mode: test. To: 4734264, text: simple+text
|
3714
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "4734264"], ["created_at", "2015-04-01 05:41:47.898693"], ["updated_at", "2015-04-01 05:41:47.898693"], ["id", 1], ["code", "1"], ["id", 1]]
|
3715
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3716
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3717
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3718
|
+
---------------------------
|
3719
|
+
Sms::SmsRuTest: test_create
|
3720
|
+
---------------------------
|
3721
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3722
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "7594386"], ["created_at", "2015-04-01 05:41:47.908661"], ["updated_at", "2015-04-01 05:41:47.908661"]]
|
3723
|
+
Mode: test. To: 7594386, text: simple+text
|
3724
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "7594386"], ["created_at", "2015-04-01 05:41:47.908661"], ["updated_at", "2015-04-01 05:41:47.908661"], ["id", 1], ["code", "1"], ["id", 1]]
|
3725
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3726
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3727
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3728
|
+
------------------------------
|
3729
|
+
Sms::SmsRuTest: test_format_to
|
3730
|
+
------------------------------
|
3731
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3732
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "+7474818"], ["created_at", "2015-04-01 05:41:47.912883"], ["updated_at", "2015-04-01 05:41:47.912883"]]
|
3733
|
+
Mode: test. To: 7474818, text: simple+text
|
3734
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "+7474818"], ["created_at", "2015-04-01 05:41:47.912883"], ["updated_at", "2015-04-01 05:41:47.912883"], ["id", 1], ["code", "1"], ["id", 1]]
|
3735
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3736
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3738
|
+
------------------------------------------
|
3739
|
+
Smster::SmsruControllerTest: test_callback
|
3740
|
+
------------------------------------------
|
3741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3742
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "Sms::Smsru"], ["status", 0], ["text", "simple text"], ["to", "5441538"], ["created_at", "2015-04-01 05:41:47.919702"], ["updated_at", "2015-04-01 05:41:47.919702"]]
|
3743
|
+
Mode: test. To: 5441538, text: simple+text
|
3744
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ? [["type", "Sms::Smsru"], ["status", 1], ["text", "simple text"], ["to", "5441538"], ["created_at", "2015-04-01 05:41:47.919702"], ["updated_at", "2015-04-01 05:41:47.919702"], ["id", 1], ["code", "1"], ["id", 1]]
|
3745
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3746
|
+
Processing by Smster::SmsruController#callback as HTML
|
3747
|
+
Parameters: {"data"=>["sms_status\n1\n100"]}
|
3748
|
+
[1m[35mSms::Smsru Load (0.1ms)[0m SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "1"]]
|
3749
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3750
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-04-01 05:41:47.924778"], ["id", 1]]
|
3751
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3752
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3753
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status", 2], ["updated_at", "2015-04-01 05:41:47.925848"], ["id", 1]]
|
3754
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3755
|
+
Rendered text template (0.0ms)
|
3756
|
+
Completed 100 Continue in 7ms (Views: 3.9ms | ActiveRecord: 0.4ms)
|
3757
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3759
|
+
-----------------------------------------------
|
3760
|
+
Smster::ClickatellControllerTest: test_callback
|
3761
|
+
-----------------------------------------------
|
3762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3763
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "smsters" ("type", "status", "text", "to", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["status", 0], ["text", "simple text"], ["to", "9136497"], ["created_at", "2015-04-01 05:41:47.935051"], ["updated_at", "2015-04-01 05:41:47.935051"]]
|
3764
|
+
Mode: test. To: 9136497, text: simple+text
|
3765
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "smsters" SET "type" = ?, "status" = ?, "text" = ?, "to" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "code" = ? WHERE "smsters"."id" = ?[0m [["type", "Sms::Clickatell"], ["status", 1], ["text", "simple text"], ["to", "9136497"], ["created_at", "2015-04-01 05:41:47.935051"], ["updated_at", "2015-04-01 05:41:47.935051"], ["id", 1], ["code", "1"], ["id", 1]]
|
3766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3767
|
+
Processing by Smster::ClickatellController#callback as HTML
|
3768
|
+
Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"1"}}
|
3769
|
+
[1m[36mSms::Clickatell Load (0.1ms)[0m [1mSELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1[0m [["code", "1"]]
|
3770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3771
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ?[0m [["status_message", "Received by recipient"], ["updated_at", "2015-04-01 05:41:47.940361"], ["id", 1]]
|
3772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3773
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3774
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-04-01 05:41:47.941510"], ["id", 1]]
|
3775
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3776
|
+
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)
|
3777
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
3778
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3779
|
+
-------------------------------
|
3780
|
+
SmsterTest: test_confirguration
|
3781
|
+
-------------------------------
|
3782
|
+
[1m[35m (0.0ms)[0m rollback transaction
|