smster 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b4a43ae5bd049ae49c9ddcd6eca1dd1478e160b
4
- data.tar.gz: 70a88091d388966c6555309f0f49ed1ed63c148d
3
+ metadata.gz: b8a61814418c9c28ae79e80afd78da13952895dc
4
+ data.tar.gz: c0c3ee490262aa4c859468a575b4528e1e1498a2
5
5
  SHA512:
6
- metadata.gz: e6ba1c25cf27a1ee741ffa9cd2664254a6cada3cf2b36b57f7f7c7701fa86d1f2a2daf993f208c61cbb5c9e97d92c24483608f7f36e9b42bd4c35fab4190097f
7
- data.tar.gz: 973c0fac4f1e4a4e6d8e3f752432205098e30f535a1022e3a1b5a659f9e81fded037a57ec4375f32d512573e65fe6ae6634d1d3a00d21c62eb38d206d5c4f03b
6
+ metadata.gz: f3985a8f3eeaa5c12ad221d919cc2038af6d25acdd234079c2e85bbcbde5e2b269a14fc27be3669a29ab3cf9f456e5e9d0547cf4edf54e4654d9ddd57c2e8dcd
7
+ data.tar.gz: a3b966f9d18feeef3410c24c4b965aca5950a86449414188f7438dc1ccf580d5d239e33d66c21268afa0fea8c0e77825b80d75a2dfb31a5ab0989950a1737901
@@ -2,6 +2,7 @@ require 'rest_client'
2
2
  require 'smster'
3
3
  require 'smster/configuration'
4
4
  require 'smster/sms'
5
+ require 'smster/sms_layer'
5
6
  require 'smster/sms/smsru'
6
7
  require 'smster/sms/nexmo'
7
8
  require 'smster/sms/clickatell'
@@ -1,7 +1,7 @@
1
1
  class Sms < ActiveRecord::Base
2
2
  self.table_name = 'smsters'
3
3
 
4
- attr_accessor :from, :api_message_id
4
+ attr_accessor :from, :api_message_id, :balance, :cost
5
5
 
6
6
  ## Callbacks
7
7
  before_validation :assing_status
@@ -22,15 +22,6 @@ class Sms < ActiveRecord::Base
22
22
  self.status ||= STATUSES[:created]
23
23
  end
24
24
 
25
- def send_sms
26
- send_to_provider
27
-
28
- status_name = api_message_id ? :sent : :failed
29
- self.status = STATUSES[status_name]
30
-
31
- self
32
- end
33
-
34
25
  def accept!
35
26
  update(status: STATUSES[:delivered])
36
27
  end
@@ -38,13 +29,4 @@ class Sms < ActiveRecord::Base
38
29
  def assing_code
39
30
  self.code = api_message_id
40
31
  end
41
-
42
- private
43
-
44
- def send_to_provider
45
- modify_params
46
-
47
- response = send_request
48
- assign_attrs_by(response)
49
- end
50
32
  end
@@ -1,3 +1,3 @@
1
1
  module Smster
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
@@ -2,11 +2,9 @@ require 'test_helper'
2
2
 
3
3
  class Smster::ClickatellControllerTest < ActionController::TestCase
4
4
  def setup
5
- @text = 'simple text'
6
- @to = (9_999_999 * rand).to_i
7
5
  @provider = Sms::Clickatell
8
6
 
9
- stub_send_request
7
+ super
10
8
  end
11
9
 
12
10
  test 'callback' do
@@ -2,11 +2,9 @@ require 'test_helper'
2
2
 
3
3
  class Smster::NexmoControllerTest < ActionController::TestCase
4
4
  def setup
5
- @text = 'simple text'
6
- @number = (9_999_999 * rand).to_i
7
5
  @provider = Sms::Nexmo
8
6
 
9
- stub_send_request
7
+ super
10
8
  end
11
9
 
12
10
  test 'callback' do
@@ -2,11 +2,11 @@ require 'test_helper'
2
2
 
3
3
  class Smster::SmsruControllerTest < ActionController::TestCase
4
4
  def setup
5
- @text = 'simple text'
6
- @to = (9_999_999 * rand).to_i
7
5
  @provider = Sms::Smsru
8
6
 
9
- stub_send_request
7
+ stub_cost_smsru_request
8
+
9
+ super
10
10
  end
11
11
 
12
12
  test 'callback' do
@@ -11433,3 +11433,1009 @@ Sms::NexmoTest: test_create
11433
11433
  SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "61378059"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 16:50:26.772759"], ["updated_at", "2015-06-15 16:50:26.772759"]]
11434
11434
   (0.0ms) RELEASE SAVEPOINT active_record_1
11435
11435
   (0.5ms) rollback transaction
11436
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
11437
+  (0.1ms) begin transaction
11438
+ ---------------------------
11439
+ Sms::NexmoTest: test_create
11440
+ ---------------------------
11441
+  (0.1ms) SAVEPOINT active_record_1
11442
+ SQL (1.1ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "34304766"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:57:50.766827"], ["updated_at", "2015-06-15 20:57:50.766827"]]
11443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11444
+  (0.3ms) rollback transaction
11445
+  (0.0ms) begin transaction
11446
+ ------------------------------------------
11447
+ Smster::SmsruControllerTest: test_callback
11448
+ ------------------------------------------
11449
+  (0.1ms) SAVEPOINT active_record_1
11450
+ SQL (0.5ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "926793"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 20:57:50.851886"], ["updated_at", "2015-06-15 20:57:50.851886"]]
11451
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11452
+ Processing by Smster::SmsruController#callback as HTML
11453
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
11454
+ Sms::Smsru Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
11455
+  (0.1ms) SAVEPOINT active_record_1
11456
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 20:57:50.866260"], ["id", 1]]
11457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11458
+  (0.0ms) SAVEPOINT active_record_1
11459
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:57:50.868598"], ["id", 1]]
11460
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11461
+ Rendered text template (0.0ms)
11462
+ Completed 100 Continue in 22ms (Views: 9.9ms | ActiveRecord: 0.8ms)
11463
+  (0.7ms) rollback transaction
11464
+  (0.1ms) begin transaction
11465
+ -------------------------------
11466
+ SmsterTest: test_confirguration
11467
+ -------------------------------
11468
+  (0.0ms) rollback transaction
11469
+  (0.0ms) begin transaction
11470
+ ------------------------------------------
11471
+ Smster::NexmoControllerTest: test_callback
11472
+ ------------------------------------------
11473
+  (0.1ms) SAVEPOINT active_record_1
11474
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "6287845"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:57:50.904778"], ["updated_at", "2015-06-15 20:57:50.904778"]]
11475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11476
+ Processing by Smster::NexmoController#callback as HTML
11477
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11478
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11479
+  (0.0ms) SAVEPOINT active_record_1
11480
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 20:57:50.909039"], ["id", 1]]
11481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11482
+  (0.1ms) SAVEPOINT active_record_1
11483
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:57:50.910706"], ["id", 1]]
11484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11485
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
11486
+  (0.7ms) rollback transaction
11487
+  (0.0ms) begin transaction
11488
+ --------------------------------
11489
+ Sms::ClickatellTest: test_create
11490
+ --------------------------------
11491
+  (0.1ms) SAVEPOINT active_record_1
11492
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "66340263"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:57:50.938575"], ["updated_at", "2015-06-15 20:57:50.938575"]]
11493
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11494
+  (0.4ms) rollback transaction
11495
+  (0.1ms) begin transaction
11496
+ -----------------------------------------------
11497
+ Smster::ClickatellControllerTest: test_callback
11498
+ -----------------------------------------------
11499
+  (0.1ms) SAVEPOINT active_record_1
11500
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "6701070"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:57:50.962359"], ["updated_at", "2015-06-15 20:57:50.962359"]]
11501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11502
+ Processing by Smster::ClickatellController#callback as HTML
11503
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11504
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11505
+  (0.0ms) SAVEPOINT active_record_1
11506
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 20:57:50.966516"], ["id", 1]]
11507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11508
+  (0.0ms) SAVEPOINT active_record_1
11509
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:57:50.968204"], ["id", 1]]
11510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11511
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.7ms)
11512
+  (0.9ms) rollback transaction
11513
+  (0.1ms) begin transaction
11514
+ ---------------------------
11515
+ Sms::SmsRuTest: test_create
11516
+ ---------------------------
11517
+  (0.1ms) SAVEPOINT active_record_1
11518
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "31391302"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 20:57:50.992217"], ["updated_at", "2015-06-15 20:57:50.992217"]]
11519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11520
+  (0.5ms) rollback transaction
11521
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11522
+  (0.1ms) begin transaction
11523
+ --------------------------------
11524
+ Sms::ClickatellTest: test_create
11525
+ --------------------------------
11526
+  (0.1ms) rollback transaction
11527
+  (0.0ms) begin transaction
11528
+ -------------------------------
11529
+ SmsterTest: test_confirguration
11530
+ -------------------------------
11531
+  (0.0ms) rollback transaction
11532
+  (0.0ms) begin transaction
11533
+ ---------------------------
11534
+ Sms::SmsRuTest: test_create
11535
+ ---------------------------
11536
+  (0.1ms) rollback transaction
11537
+  (0.1ms) begin transaction
11538
+ -----------------------------------------------
11539
+ Smster::ClickatellControllerTest: test_callback
11540
+ -----------------------------------------------
11541
+  (0.1ms) rollback transaction
11542
+  (0.0ms) begin transaction
11543
+ ---------------------------
11544
+ Sms::NexmoTest: test_create
11545
+ ---------------------------
11546
+  (0.0ms) rollback transaction
11547
+  (0.0ms) begin transaction
11548
+ ------------------------------------------
11549
+ Smster::SmsruControllerTest: test_callback
11550
+ ------------------------------------------
11551
+  (0.1ms) rollback transaction
11552
+  (0.0ms) begin transaction
11553
+ ------------------------------------------
11554
+ Smster::NexmoControllerTest: test_callback
11555
+ ------------------------------------------
11556
+  (0.0ms) rollback transaction
11557
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11558
+  (0.1ms) begin transaction
11559
+ ---------------------------
11560
+ Sms::SmsRuTest: test_create
11561
+ ---------------------------
11562
+  (0.1ms) rollback transaction
11563
+  (0.0ms) begin transaction
11564
+ -----------------------------------------------
11565
+ Smster::ClickatellControllerTest: test_callback
11566
+ -----------------------------------------------
11567
+  (0.1ms) SAVEPOINT active_record_1
11568
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "4463258"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:03.376356"], ["updated_at", "2015-06-15 20:59:03.376356"]]
11569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11570
+ Processing by Smster::ClickatellController#callback as HTML
11571
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11572
+ Sms::Clickatell Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11573
+  (0.0ms) SAVEPOINT active_record_1
11574
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 20:59:03.386986"], ["id", 1]]
11575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11576
+  (0.0ms) SAVEPOINT active_record_1
11577
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:59:03.389227"], ["id", 1]]
11578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11579
+ Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 0.9ms)
11580
+  (2.1ms) rollback transaction
11581
+  (0.1ms) begin transaction
11582
+ -------------------------------
11583
+ SmsterTest: test_confirguration
11584
+ -------------------------------
11585
+  (0.1ms) rollback transaction
11586
+  (0.1ms) begin transaction
11587
+ ------------------------------------------
11588
+ Smster::NexmoControllerTest: test_callback
11589
+ ------------------------------------------
11590
+  (0.1ms) SAVEPOINT active_record_1
11591
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "2786230"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:03.426212"], ["updated_at", "2015-06-15 20:59:03.426212"]]
11592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11593
+ Processing by Smster::NexmoController#callback as HTML
11594
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11595
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11596
+  (0.0ms) SAVEPOINT active_record_1
11597
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 20:59:03.430362"], ["id", 1]]
11598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11599
+  (0.0ms) SAVEPOINT active_record_1
11600
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:59:03.431799"], ["id", 1]]
11601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11602
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
11603
+  (0.7ms) rollback transaction
11604
+  (0.1ms) begin transaction
11605
+ ------------------------------------------
11606
+ Smster::SmsruControllerTest: test_callback
11607
+ ------------------------------------------
11608
+  (0.1ms) rollback transaction
11609
+  (0.1ms) begin transaction
11610
+ ---------------------------
11611
+ Sms::NexmoTest: test_create
11612
+ ---------------------------
11613
+  (0.1ms) SAVEPOINT active_record_1
11614
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "43435305"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:03.479919"], ["updated_at", "2015-06-15 20:59:03.479919"]]
11615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11616
+  (0.4ms) rollback transaction
11617
+  (0.0ms) begin transaction
11618
+ --------------------------------
11619
+ Sms::ClickatellTest: test_create
11620
+ --------------------------------
11621
+  (0.1ms) SAVEPOINT active_record_1
11622
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "84320625"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:03.500626"], ["updated_at", "2015-06-15 20:59:03.500626"]]
11623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11624
+  (0.5ms) rollback transaction
11625
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11626
+  (0.1ms) begin transaction
11627
+ -----------------------------------------------
11628
+ Smster::ClickatellControllerTest: test_callback
11629
+ -----------------------------------------------
11630
+  (0.1ms) SAVEPOINT active_record_1
11631
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "3785905"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:29.163508"], ["updated_at", "2015-06-15 20:59:29.163508"]]
11632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11633
+ Processing by Smster::ClickatellController#callback as HTML
11634
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11635
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11636
+  (0.0ms) SAVEPOINT active_record_1
11637
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 20:59:29.173743"], ["id", 1]]
11638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11639
+  (0.0ms) SAVEPOINT active_record_1
11640
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:59:29.175463"], ["id", 1]]
11641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11642
+ Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11643
+  (1.8ms) rollback transaction
11644
+  (0.1ms) begin transaction
11645
+ -------------------------------
11646
+ SmsterTest: test_confirguration
11647
+ -------------------------------
11648
+  (0.0ms) rollback transaction
11649
+  (0.1ms) begin transaction
11650
+ ------------------------------------------
11651
+ Smster::SmsruControllerTest: test_callback
11652
+ ------------------------------------------
11653
+  (0.1ms) rollback transaction
11654
+  (0.0ms) begin transaction
11655
+ ---------------------------
11656
+ Sms::SmsRuTest: test_create
11657
+ ---------------------------
11658
+  (0.1ms) rollback transaction
11659
+  (0.0ms) begin transaction
11660
+ ---------------------------
11661
+ Sms::NexmoTest: test_create
11662
+ ---------------------------
11663
+  (0.1ms) SAVEPOINT active_record_1
11664
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "24752073"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:29.294411"], ["updated_at", "2015-06-15 20:59:29.294411"]]
11665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11666
+  (1.7ms) rollback transaction
11667
+  (0.1ms) begin transaction
11668
+ --------------------------------
11669
+ Sms::ClickatellTest: test_create
11670
+ --------------------------------
11671
+  (0.1ms) SAVEPOINT active_record_1
11672
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "65254482"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:29.320055"], ["updated_at", "2015-06-15 20:59:29.320055"]]
11673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11674
+  (0.5ms) rollback transaction
11675
+  (0.0ms) begin transaction
11676
+ ------------------------------------------
11677
+ Smster::NexmoControllerTest: test_callback
11678
+ ------------------------------------------
11679
+  (0.1ms) SAVEPOINT active_record_1
11680
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "6055631"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 20:59:29.345992"], ["updated_at", "2015-06-15 20:59:29.345992"]]
11681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11682
+ Processing by Smster::NexmoController#callback as HTML
11683
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11684
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11685
+  (0.0ms) SAVEPOINT active_record_1
11686
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 20:59:29.349886"], ["id", 1]]
11687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11688
+  (0.0ms) SAVEPOINT active_record_1
11689
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 20:59:29.351244"], ["id", 1]]
11690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11691
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11692
+  (0.7ms) rollback transaction
11693
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11694
+  (0.1ms) begin transaction
11695
+ ---------------------------
11696
+ Sms::NexmoTest: test_create
11697
+ ---------------------------
11698
+  (0.1ms) SAVEPOINT active_record_1
11699
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "27388103"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:05.985633"], ["updated_at", "2015-06-15 21:00:05.985633"]]
11700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11701
+  (1.6ms) rollback transaction
11702
+  (0.1ms) begin transaction
11703
+ -----------------------------------------------
11704
+ Smster::ClickatellControllerTest: test_callback
11705
+ -----------------------------------------------
11706
+  (0.1ms) SAVEPOINT active_record_1
11707
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "3331964"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:06.049812"], ["updated_at", "2015-06-15 21:00:06.049812"]]
11708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11709
+ Processing by Smster::ClickatellController#callback as HTML
11710
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11711
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11712
+  (0.0ms) SAVEPOINT active_record_1
11713
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:00:06.058420"], ["id", 1]]
11714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11715
+  (0.0ms) SAVEPOINT active_record_1
11716
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:00:06.060120"], ["id", 1]]
11717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11718
+ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.7ms)
11719
+  (0.8ms) rollback transaction
11720
+  (0.1ms) begin transaction
11721
+ ---------------------------
11722
+ Sms::SmsRuTest: test_create
11723
+ ---------------------------
11724
+  (0.1ms) SAVEPOINT active_record_1
11725
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "75139397"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:00:06.106914"], ["updated_at", "2015-06-15 21:00:06.106914"]]
11726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11727
+  (0.4ms) rollback transaction
11728
+  (0.1ms) begin transaction
11729
+ ------------------------------------------
11730
+ Smster::NexmoControllerTest: test_callback
11731
+ ------------------------------------------
11732
+  (0.1ms) SAVEPOINT active_record_1
11733
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "1296011"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:06.133535"], ["updated_at", "2015-06-15 21:00:06.133535"]]
11734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11735
+ Processing by Smster::NexmoController#callback as HTML
11736
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11737
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11738
+  (0.1ms) SAVEPOINT active_record_1
11739
+ SQL (0.2ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:00:06.137449"], ["id", 1]]
11740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11741
+  (0.0ms) SAVEPOINT active_record_1
11742
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:00:06.138758"], ["id", 1]]
11743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11744
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11745
+  (0.8ms) rollback transaction
11746
+  (0.0ms) begin transaction
11747
+ -------------------------------
11748
+ SmsterTest: test_confirguration
11749
+ -------------------------------
11750
+  (0.0ms) rollback transaction
11751
+  (0.0ms) begin transaction
11752
+ --------------------------------
11753
+ Sms::ClickatellTest: test_create
11754
+ --------------------------------
11755
+  (0.1ms) SAVEPOINT active_record_1
11756
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "59448532"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:06.160237"], ["updated_at", "2015-06-15 21:00:06.160237"]]
11757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11758
+  (0.5ms) rollback transaction
11759
+  (0.0ms) begin transaction
11760
+ ------------------------------------------
11761
+ Smster::SmsruControllerTest: test_callback
11762
+ ------------------------------------------
11763
+  (0.1ms) rollback transaction
11764
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
11765
+  (0.1ms) begin transaction
11766
+ ------------------------------------------
11767
+ Smster::SmsruControllerTest: test_callback
11768
+ ------------------------------------------
11769
+  (0.1ms) SAVEPOINT active_record_1
11770
+ SQL (1.6ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "2896673"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:00:33.297711"], ["updated_at", "2015-06-15 21:00:33.297711"]]
11771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11772
+ Processing by Smster::SmsruController#callback as HTML
11773
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
11774
+ Sms::Smsru Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
11775
+  (0.1ms) SAVEPOINT active_record_1
11776
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:00:33.315158"], ["id", 1]]
11777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11778
+  (0.1ms) SAVEPOINT active_record_1
11779
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:00:33.317144"], ["id", 1]]
11780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11781
+ Rendered text template (0.0ms)
11782
+ Completed 100 Continue in 19ms (Views: 7.9ms | ActiveRecord: 0.8ms)
11783
+  (0.7ms) rollback transaction
11784
+  (0.0ms) begin transaction
11785
+ ---------------------------
11786
+ Sms::NexmoTest: test_create
11787
+ ---------------------------
11788
+  (0.1ms) SAVEPOINT active_record_1
11789
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "13825453"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:33.355593"], ["updated_at", "2015-06-15 21:00:33.355593"]]
11790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11791
+  (0.4ms) rollback transaction
11792
+  (0.0ms) begin transaction
11793
+ --------------------------------
11794
+ Sms::ClickatellTest: test_create
11795
+ --------------------------------
11796
+  (0.1ms) SAVEPOINT active_record_1
11797
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "24216972"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:33.384284"], ["updated_at", "2015-06-15 21:00:33.384284"]]
11798
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11799
+  (0.5ms) rollback transaction
11800
+  (0.0ms) begin transaction
11801
+ ------------------------------------------
11802
+ Smster::NexmoControllerTest: test_callback
11803
+ ------------------------------------------
11804
+  (0.1ms) SAVEPOINT active_record_1
11805
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "4847840"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:33.408196"], ["updated_at", "2015-06-15 21:00:33.408196"]]
11806
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11807
+ Processing by Smster::NexmoController#callback as HTML
11808
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11809
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11810
+  (0.1ms) SAVEPOINT active_record_1
11811
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:00:33.412260"], ["id", 1]]
11812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11813
+  (0.0ms) SAVEPOINT active_record_1
11814
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:00:33.413708"], ["id", 1]]
11815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11816
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)
11817
+  (0.9ms) rollback transaction
11818
+  (0.1ms) begin transaction
11819
+ ---------------------------
11820
+ Sms::SmsRuTest: test_create
11821
+ ---------------------------
11822
+  (0.1ms) SAVEPOINT active_record_1
11823
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "30621429"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:00:33.451252"], ["updated_at", "2015-06-15 21:00:33.451252"]]
11824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11825
+  (0.6ms) rollback transaction
11826
+  (0.1ms) begin transaction
11827
+ -----------------------------------------------
11828
+ Smster::ClickatellControllerTest: test_callback
11829
+ -----------------------------------------------
11830
+  (0.1ms) SAVEPOINT active_record_1
11831
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "5688138"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:00:33.477920"], ["updated_at", "2015-06-15 21:00:33.477920"]]
11832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11833
+ Processing by Smster::ClickatellController#callback as HTML
11834
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11835
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11836
+  (0.0ms) SAVEPOINT active_record_1
11837
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:00:33.482122"], ["id", 1]]
11838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11839
+  (0.0ms) SAVEPOINT active_record_1
11840
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:00:33.483499"], ["id", 1]]
11841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11842
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11843
+  (0.8ms) rollback transaction
11844
+  (0.0ms) begin transaction
11845
+ -------------------------------
11846
+ SmsterTest: test_confirguration
11847
+ -------------------------------
11848
+  (0.0ms) rollback transaction
11849
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
11850
+  (0.1ms) begin transaction
11851
+ -------------------------------
11852
+ SmsterTest: test_confirguration
11853
+ -------------------------------
11854
+  (0.0ms) rollback transaction
11855
+  (0.0ms) begin transaction
11856
+ -----------------------------------------------
11857
+ Smster::ClickatellControllerTest: test_callback
11858
+ -----------------------------------------------
11859
+  (0.1ms) SAVEPOINT active_record_1
11860
+ SQL (1.6ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "1251838"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:05:16.403329"], ["updated_at", "2015-06-15 21:05:16.403329"]]
11861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11862
+ Processing by Smster::ClickatellController#callback as HTML
11863
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11864
+ Sms::Clickatell Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11865
+  (0.0ms) SAVEPOINT active_record_1
11866
+ SQL (0.7ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:05:16.420883"], ["id", 1]]
11867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11868
+  (0.0ms) SAVEPOINT active_record_1
11869
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:05:16.423552"], ["id", 1]]
11870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11871
+ Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 1.1ms)
11872
+  (0.8ms) rollback transaction
11873
+  (0.0ms) begin transaction
11874
+ --------------------------------
11875
+ Sms::ClickatellTest: test_create
11876
+ --------------------------------
11877
+  (0.1ms) SAVEPOINT active_record_1
11878
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "57795091"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:05:16.448965"], ["updated_at", "2015-06-15 21:05:16.448965"]]
11879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11880
+  (0.7ms) rollback transaction
11881
+  (0.1ms) begin transaction
11882
+ ------------------------------------------
11883
+ Smster::NexmoControllerTest: test_callback
11884
+ ------------------------------------------
11885
+  (0.1ms) SAVEPOINT active_record_1
11886
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "3359620"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:05:16.484088"], ["updated_at", "2015-06-15 21:05:16.484088"]]
11887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11888
+ Processing by Smster::NexmoController#callback as HTML
11889
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11890
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11891
+  (0.0ms) SAVEPOINT active_record_1
11892
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:05:16.488220"], ["id", 1]]
11893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11894
+  (0.0ms) SAVEPOINT active_record_1
11895
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:05:16.489678"], ["id", 1]]
11896
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11897
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11898
+  (0.8ms) rollback transaction
11899
+  (0.1ms) begin transaction
11900
+ ------------------------------------------
11901
+ Smster::SmsruControllerTest: test_callback
11902
+ ------------------------------------------
11903
+  (0.1ms) SAVEPOINT active_record_1
11904
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "7912875"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:05:16.536140"], ["updated_at", "2015-06-15 21:05:16.536140"]]
11905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11906
+ Processing by Smster::SmsruController#callback as HTML
11907
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
11908
+ Sms::Smsru Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
11909
+  (0.0ms) SAVEPOINT active_record_1
11910
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:05:16.541021"], ["id", 1]]
11911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11912
+  (0.0ms) SAVEPOINT active_record_1
11913
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:05:16.542676"], ["id", 1]]
11914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11915
+ Rendered text template (0.0ms)
11916
+ Completed 100 Continue in 13ms (Views: 9.2ms | ActiveRecord: 0.7ms)
11917
+  (0.8ms) rollback transaction
11918
+  (0.0ms) begin transaction
11919
+ ---------------------------
11920
+ Sms::NexmoTest: test_create
11921
+ ---------------------------
11922
+  (0.1ms) SAVEPOINT active_record_1
11923
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "13141834"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:05:16.572819"], ["updated_at", "2015-06-15 21:05:16.572819"]]
11924
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11925
+  (0.4ms) rollback transaction
11926
+  (0.1ms) begin transaction
11927
+ ---------------------------
11928
+ Sms::SmsRuTest: test_create
11929
+ ---------------------------
11930
+  (0.1ms) SAVEPOINT active_record_1
11931
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "2406465"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:05:16.615892"], ["updated_at", "2015-06-15 21:05:16.615892"]]
11932
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11933
+  (0.5ms) rollback transaction
11934
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11935
+  (0.1ms) begin transaction
11936
+ -----------------------------------------------
11937
+ Smster::ClickatellControllerTest: test_callback
11938
+ -----------------------------------------------
11939
+  (0.1ms) SAVEPOINT active_record_1
11940
+ SQL (0.5ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "6924419"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:12.482598"], ["updated_at", "2015-06-15 21:06:12.482598"]]
11941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11942
+ Processing by Smster::ClickatellController#callback as HTML
11943
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
11944
+ Sms::Clickatell Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11945
+  (0.0ms) SAVEPOINT active_record_1
11946
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:06:12.499731"], ["id", 1]]
11947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11948
+  (0.0ms) SAVEPOINT active_record_1
11949
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:06:12.501663"], ["id", 1]]
11950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11951
+ Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 0.8ms)
11952
+  (0.7ms) rollback transaction
11953
+  (0.0ms) begin transaction
11954
+ ------------------------------------------
11955
+ Smster::NexmoControllerTest: test_callback
11956
+ ------------------------------------------
11957
+  (0.1ms) SAVEPOINT active_record_1
11958
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "9108346"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:12.529195"], ["updated_at", "2015-06-15 21:06:12.529195"]]
11959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11960
+ Processing by Smster::NexmoController#callback as HTML
11961
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
11962
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
11963
+  (0.0ms) SAVEPOINT active_record_1
11964
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:06:12.533061"], ["id", 1]]
11965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11966
+  (0.0ms) SAVEPOINT active_record_1
11967
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:06:12.534484"], ["id", 1]]
11968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11969
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
11970
+  (0.8ms) rollback transaction
11971
+  (0.0ms) begin transaction
11972
+ --------------------------------
11973
+ Sms::ClickatellTest: test_create
11974
+ --------------------------------
11975
+  (0.1ms) SAVEPOINT active_record_1
11976
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "75277097"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:12.558733"], ["updated_at", "2015-06-15 21:06:12.558733"]]
11977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11978
+  (0.4ms) rollback transaction
11979
+  (0.0ms) begin transaction
11980
+ ------------------------------------------
11981
+ Smster::SmsruControllerTest: test_callback
11982
+ ------------------------------------------
11983
+  (0.1ms) SAVEPOINT active_record_1
11984
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "5918274"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:06:12.608902"], ["updated_at", "2015-06-15 21:06:12.608902"]]
11985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11986
+ Processing by Smster::SmsruController#callback as HTML
11987
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
11988
+ Sms::Smsru Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
11989
+  (0.0ms) SAVEPOINT active_record_1
11990
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:06:12.613033"], ["id", 1]]
11991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11992
+  (0.0ms) SAVEPOINT active_record_1
11993
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:06:12.614462"], ["id", 1]]
11994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11995
+ Rendered text template (0.0ms)
11996
+ Completed 100 Continue in 8ms (Views: 4.2ms | ActiveRecord: 0.6ms)
11997
+  (1.6ms) rollback transaction
11998
+  (0.1ms) begin transaction
11999
+ -------------------------------
12000
+ SmsterTest: test_confirguration
12001
+ -------------------------------
12002
+  (0.0ms) rollback transaction
12003
+  (0.0ms) begin transaction
12004
+ ---------------------------
12005
+ Sms::SmsRuTest: test_create
12006
+ ---------------------------
12007
+  (0.1ms) SAVEPOINT active_record_1
12008
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "40868711"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:06:12.655756"], ["updated_at", "2015-06-15 21:06:12.655756"]]
12009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12010
+  (0.4ms) rollback transaction
12011
+  (0.1ms) begin transaction
12012
+ ---------------------------
12013
+ Sms::NexmoTest: test_create
12014
+ ---------------------------
12015
+  (0.1ms) SAVEPOINT active_record_1
12016
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "10555726"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:12.679498"], ["updated_at", "2015-06-15 21:06:12.679498"]]
12017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12018
+  (0.4ms) rollback transaction
12019
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12020
+  (0.1ms) begin transaction
12021
+ -----------------------------------------------
12022
+ Smster::ClickatellControllerTest: test_callback
12023
+ -----------------------------------------------
12024
+  (0.1ms) SAVEPOINT active_record_1
12025
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "2925716"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:59.606575"], ["updated_at", "2015-06-15 21:06:59.606575"]]
12026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12027
+ Processing by Smster::ClickatellController#callback as HTML
12028
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
12029
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12030
+  (0.0ms) SAVEPOINT active_record_1
12031
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:06:59.616782"], ["id", 1]]
12032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12033
+  (0.0ms) SAVEPOINT active_record_1
12034
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:06:59.618552"], ["id", 1]]
12035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12036
+ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
12037
+  (1.8ms) rollback transaction
12038
+  (0.1ms) begin transaction
12039
+ ------------------------------------------
12040
+ Smster::SmsruControllerTest: test_callback
12041
+ ------------------------------------------
12042
+  (0.1ms) SAVEPOINT active_record_1
12043
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "5677269"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:06:59.669305"], ["updated_at", "2015-06-15 21:06:59.669305"]]
12044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12045
+ Processing by Smster::SmsruController#callback as HTML
12046
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
12047
+ Sms::Smsru Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
12048
+  (0.0ms) SAVEPOINT active_record_1
12049
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:06:59.673967"], ["id", 1]]
12050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12051
+  (0.0ms) SAVEPOINT active_record_1
12052
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:06:59.675380"], ["id", 1]]
12053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12054
+ Rendered text template (0.0ms)
12055
+ Completed 100 Continue in 8ms (Views: 4.2ms | ActiveRecord: 0.6ms)
12056
+  (0.7ms) rollback transaction
12057
+  (0.0ms) begin transaction
12058
+ ------------------------------------------
12059
+ Smster::NexmoControllerTest: test_callback
12060
+ ------------------------------------------
12061
+  (0.1ms) SAVEPOINT active_record_1
12062
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "4278069"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:59.708646"], ["updated_at", "2015-06-15 21:06:59.708646"]]
12063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12064
+ Processing by Smster::NexmoController#callback as HTML
12065
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
12066
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12067
+  (0.0ms) SAVEPOINT active_record_1
12068
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:06:59.712539"], ["id", 1]]
12069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12070
+  (0.1ms) SAVEPOINT active_record_1
12071
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:06:59.713884"], ["id", 1]]
12072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12073
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
12074
+  (0.8ms) rollback transaction
12075
+  (0.1ms) begin transaction
12076
+ ---------------------------
12077
+ Sms::NexmoTest: test_create
12078
+ ---------------------------
12079
+  (0.1ms) SAVEPOINT active_record_1
12080
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "65266004"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:59.735048"], ["updated_at", "2015-06-15 21:06:59.735048"]]
12081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12082
+  (0.6ms) rollback transaction
12083
+  (0.1ms) begin transaction
12084
+ ---------------------------
12085
+ Sms::SmsRuTest: test_create
12086
+ ---------------------------
12087
+  (0.1ms) SAVEPOINT active_record_1
12088
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "46213176"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:06:59.775187"], ["updated_at", "2015-06-15 21:06:59.775187"]]
12089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12090
+  (0.4ms) rollback transaction
12091
+  (0.0ms) begin transaction
12092
+ --------------------------------
12093
+ Sms::ClickatellTest: test_create
12094
+ --------------------------------
12095
+  (0.1ms) SAVEPOINT active_record_1
12096
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "98787692"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:06:59.795985"], ["updated_at", "2015-06-15 21:06:59.795985"]]
12097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12098
+  (0.6ms) rollback transaction
12099
+  (0.1ms) begin transaction
12100
+ -------------------------------
12101
+ SmsterTest: test_confirguration
12102
+ -------------------------------
12103
+  (0.1ms) rollback transaction
12104
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12105
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12106
+  (0.1ms) begin transaction
12107
+ -------------------------------
12108
+ SmsterTest: test_confirguration
12109
+ -------------------------------
12110
+  (0.1ms) rollback transaction
12111
+  (0.0ms) begin transaction
12112
+ -----------------------------------------------
12113
+ Smster::ClickatellControllerTest: test_callback
12114
+ -----------------------------------------------
12115
+  (0.1ms) SAVEPOINT active_record_1
12116
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "4721561"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:00.583481"], ["updated_at", "2015-06-15 21:08:00.583481"]]
12117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12118
+ Processing by Smster::ClickatellController#callback as HTML
12119
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
12120
+ Sms::Clickatell Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12121
+  (0.0ms) SAVEPOINT active_record_1
12122
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:08:00.596777"], ["id", 1]]
12123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12124
+  (0.0ms) SAVEPOINT active_record_1
12125
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:08:00.598742"], ["id", 1]]
12126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12127
+ Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.8ms)
12128
+  (0.7ms) rollback transaction
12129
+  (0.0ms) begin transaction
12130
+ ---------------------------
12131
+ Sms::NexmoTest: test_create
12132
+ ---------------------------
12133
+  (0.1ms) SAVEPOINT active_record_1
12134
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "13966690"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:00.626119"], ["updated_at", "2015-06-15 21:08:00.626119"]]
12135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12136
+  (0.4ms) rollback transaction
12137
+  (0.1ms) begin transaction
12138
+ ------------------------------------------
12139
+ Smster::SmsruControllerTest: test_callback
12140
+ ------------------------------------------
12141
+  (0.1ms) SAVEPOINT active_record_1
12142
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "4551902"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:08:00.674783"], ["updated_at", "2015-06-15 21:08:00.674783"]]
12143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12144
+ Processing by Smster::SmsruController#callback as HTML
12145
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
12146
+ Sms::Smsru Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
12147
+  (0.0ms) SAVEPOINT active_record_1
12148
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:08:00.679275"], ["id", 1]]
12149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12150
+  (0.0ms) SAVEPOINT active_record_1
12151
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:08:00.680941"], ["id", 1]]
12152
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12153
+ Rendered text template (0.0ms)
12154
+ Completed 100 Continue in 10ms (Views: 6.2ms | ActiveRecord: 0.7ms)
12155
+  (0.5ms) rollback transaction
12156
+  (0.1ms) begin transaction
12157
+ ---------------------------
12158
+ Sms::SmsRuTest: test_create
12159
+ ---------------------------
12160
+  (0.0ms) rollback transaction
12161
+  (0.0ms) begin transaction
12162
+ ------------------------------------------
12163
+ Smster::NexmoControllerTest: test_callback
12164
+ ------------------------------------------
12165
+  (0.1ms) SAVEPOINT active_record_1
12166
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "9236670"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:00.711804"], ["updated_at", "2015-06-15 21:08:00.711804"]]
12167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12168
+ Processing by Smster::NexmoController#callback as HTML
12169
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
12170
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12171
+  (0.0ms) SAVEPOINT active_record_1
12172
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:08:00.716063"], ["id", 1]]
12173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12174
+  (0.0ms) SAVEPOINT active_record_1
12175
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:08:00.717534"], ["id", 1]]
12176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12177
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
12178
+  (0.6ms) rollback transaction
12179
+  (0.0ms) begin transaction
12180
+ --------------------------------
12181
+ Sms::ClickatellTest: test_create
12182
+ --------------------------------
12183
+  (0.1ms) SAVEPOINT active_record_1
12184
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "10347075"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:00.739542"], ["updated_at", "2015-06-15 21:08:00.739542"]]
12185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12186
+  (0.4ms) rollback transaction
12187
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12188
+  (0.1ms) begin transaction
12189
+ ------------------------------------------
12190
+ Smster::NexmoControllerTest: test_callback
12191
+ ------------------------------------------
12192
+  (0.1ms) SAVEPOINT active_record_1
12193
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "3813510"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:21.021971"], ["updated_at", "2015-06-15 21:08:21.021971"]]
12194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12195
+ Processing by Smster::NexmoController#callback as HTML
12196
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
12197
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12198
+  (0.0ms) SAVEPOINT active_record_1
12199
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:08:21.031696"], ["id", 1]]
12200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12201
+  (0.0ms) SAVEPOINT active_record_1
12202
+ SQL (0.2ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:08:21.033979"], ["id", 1]]
12203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12204
+ Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 1.0ms)
12205
+  (2.3ms) rollback transaction
12206
+  (0.1ms) begin transaction
12207
+ -------------------------------
12208
+ SmsterTest: test_confirguration
12209
+ -------------------------------
12210
+  (0.0ms) rollback transaction
12211
+  (0.0ms) begin transaction
12212
+ -----------------------------------------------
12213
+ Smster::ClickatellControllerTest: test_callback
12214
+ -----------------------------------------------
12215
+  (0.1ms) SAVEPOINT active_record_1
12216
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "4673781"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:21.071463"], ["updated_at", "2015-06-15 21:08:21.071463"]]
12217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12218
+ Processing by Smster::ClickatellController#callback as HTML
12219
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
12220
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12221
+  (0.1ms) SAVEPOINT active_record_1
12222
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:08:21.075823"], ["id", 1]]
12223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12224
+  (0.0ms) SAVEPOINT active_record_1
12225
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:08:21.077182"], ["id", 1]]
12226
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12227
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
12228
+  (0.7ms) rollback transaction
12229
+  (0.0ms) begin transaction
12230
+ --------------------------------
12231
+ Sms::ClickatellTest: test_create
12232
+ --------------------------------
12233
+  (0.1ms) SAVEPOINT active_record_1
12234
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "64080337"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:21.097361"], ["updated_at", "2015-06-15 21:08:21.097361"]]
12235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12236
+  (0.4ms) rollback transaction
12237
+  (0.0ms) begin transaction
12238
+ ---------------------------
12239
+ Sms::NexmoTest: test_create
12240
+ ---------------------------
12241
+  (0.1ms) SAVEPOINT active_record_1
12242
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "56093204"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:08:21.121179"], ["updated_at", "2015-06-15 21:08:21.121179"]]
12243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12244
+  (0.5ms) rollback transaction
12245
+  (0.1ms) begin transaction
12246
+ ---------------------------
12247
+ Sms::SmsRuTest: test_create
12248
+ ---------------------------
12249
+  (0.1ms) SAVEPOINT active_record_1
12250
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "89913523"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:08:21.166971"], ["updated_at", "2015-06-15 21:08:21.166971"]]
12251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12252
+  (0.4ms) rollback transaction
12253
+  (0.0ms) begin transaction
12254
+ ------------------------------------------
12255
+ Smster::SmsruControllerTest: test_callback
12256
+ ------------------------------------------
12257
+  (0.1ms) SAVEPOINT active_record_1
12258
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "3206928"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:08:21.209908"], ["updated_at", "2015-06-15 21:08:21.209908"]]
12259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12260
+ Processing by Smster::SmsruController#callback as HTML
12261
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
12262
+ Sms::Smsru Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
12263
+  (0.0ms) SAVEPOINT active_record_1
12264
+ SQL (0.2ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:08:21.213812"], ["id", 1]]
12265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12266
+  (0.0ms) SAVEPOINT active_record_1
12267
+ SQL (0.0ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:08:21.215066"], ["id", 1]]
12268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12269
+ Rendered text template (0.0ms)
12270
+ Completed 100 Continue in 7ms (Views: 4.3ms | ActiveRecord: 0.5ms)
12271
+  (0.7ms) rollback transaction
12272
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12273
+  (0.1ms) begin transaction
12274
+ --------------------------------
12275
+ Sms::ClickatellTest: test_create
12276
+ --------------------------------
12277
+  (0.1ms) SAVEPOINT active_record_1
12278
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "50066760"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:09:03.589872"], ["updated_at", "2015-06-15 21:09:03.589872"]]
12279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12280
+  (1.8ms) rollback transaction
12281
+  (0.1ms) begin transaction
12282
+ ---------------------------
12283
+ Sms::SmsRuTest: test_create
12284
+ ---------------------------
12285
+  (0.1ms) SAVEPOINT active_record_1
12286
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "62037171"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:09:03.638214"], ["updated_at", "2015-06-15 21:09:03.638214"]]
12287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12288
+  (0.5ms) rollback transaction
12289
+  (0.0ms) begin transaction
12290
+ ------------------------------------------
12291
+ Smster::SmsruControllerTest: test_callback
12292
+ ------------------------------------------
12293
+  (0.1ms) SAVEPOINT active_record_1
12294
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "1301406"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:09:03.714716"], ["updated_at", "2015-06-15 21:09:03.714716"]]
12295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12296
+ Processing by Smster::SmsruController#callback as HTML
12297
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
12298
+ Sms::Smsru Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
12299
+  (0.0ms) SAVEPOINT active_record_1
12300
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:09:03.724399"], ["id", 1]]
12301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12302
+  (0.0ms) SAVEPOINT active_record_1
12303
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:09:03.726330"], ["id", 1]]
12304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12305
+ Rendered text template (0.0ms)
12306
+ Completed 100 Continue in 13ms (Views: 4.2ms | ActiveRecord: 0.7ms)
12307
+  (1.3ms) rollback transaction
12308
+  (0.1ms) begin transaction
12309
+ ---------------------------
12310
+ Sms::NexmoTest: test_create
12311
+ ---------------------------
12312
+  (0.1ms) SAVEPOINT active_record_1
12313
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "17604208"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:09:03.758600"], ["updated_at", "2015-06-15 21:09:03.758600"]]
12314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12315
+  (0.5ms) rollback transaction
12316
+  (0.1ms) begin transaction
12317
+ ------------------------------------------
12318
+ Smster::NexmoControllerTest: test_callback
12319
+ ------------------------------------------
12320
+  (0.1ms) SAVEPOINT active_record_1
12321
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "8141292"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:09:03.785940"], ["updated_at", "2015-06-15 21:09:03.785940"]]
12322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12323
+ Processing by Smster::NexmoController#callback as HTML
12324
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
12325
+ Sms::Nexmo Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12326
+  (0.1ms) SAVEPOINT active_record_1
12327
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:09:03.790863"], ["id", 1]]
12328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12329
+  (0.0ms) SAVEPOINT active_record_1
12330
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:09:03.792464"], ["id", 1]]
12331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12332
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.7ms)
12333
+  (0.6ms) rollback transaction
12334
+  (0.0ms) begin transaction
12335
+ -------------------------------
12336
+ SmsterTest: test_confirguration
12337
+ -------------------------------
12338
+  (0.1ms) rollback transaction
12339
+  (0.0ms) begin transaction
12340
+ -----------------------------------------------
12341
+ Smster::ClickatellControllerTest: test_callback
12342
+ -----------------------------------------------
12343
+  (0.1ms) SAVEPOINT active_record_1
12344
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "3775564"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:09:03.815905"], ["updated_at", "2015-06-15 21:09:03.815905"]]
12345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12346
+ Processing by Smster::ClickatellController#callback as HTML
12347
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
12348
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12349
+  (0.0ms) SAVEPOINT active_record_1
12350
+ SQL (0.2ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:09:03.819973"], ["id", 1]]
12351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12352
+  (0.0ms) SAVEPOINT active_record_1
12353
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:09:03.821322"], ["id", 1]]
12354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12355
+ Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.6ms)
12356
+  (0.7ms) rollback transaction
12357
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
12358
+  (0.1ms) begin transaction
12359
+ ---------------------------
12360
+ Sms::NexmoTest: test_create
12361
+ ---------------------------
12362
+  (0.1ms) SAVEPOINT active_record_1
12363
+ SQL (1.6ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "i+am+rails+smster!"], ["to", "59146680"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:10:46.110362"], ["updated_at", "2015-06-15 21:10:46.110362"]]
12364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12365
+  (0.5ms) rollback transaction
12366
+  (0.1ms) begin transaction
12367
+ ------------------------------------------
12368
+ Smster::SmsruControllerTest: test_callback
12369
+ ------------------------------------------
12370
+  (0.1ms) SAVEPOINT active_record_1
12371
+ SQL (0.4ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "simple text"], ["to", "354060"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:10:46.219452"], ["updated_at", "2015-06-15 21:10:46.219452"]]
12372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12373
+ Processing by Smster::SmsruController#callback as HTML
12374
+ Parameters: {"data"=>["sms_status\n201523-1000007\n100"]}
12375
+ Sms::Smsru Load (0.3ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Smsru') AND "smsters"."code" = ? LIMIT 1 [["code", "201523-1000007"]]
12376
+  (0.0ms) SAVEPOINT active_record_1
12377
+ SQL (0.4ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "100"], ["updated_at", "2015-06-15 21:10:46.232669"], ["id", 1]]
12378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12379
+  (0.0ms) SAVEPOINT active_record_1
12380
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:10:46.234708"], ["id", 1]]
12381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12382
+ Rendered text template (0.0ms)
12383
+ Completed 100 Continue in 19ms (Views: 8.3ms | ActiveRecord: 0.9ms)
12384
+  (0.6ms) rollback transaction
12385
+  (0.1ms) begin transaction
12386
+ -----------------------------------------------
12387
+ Smster::ClickatellControllerTest: test_callback
12388
+ -----------------------------------------------
12389
+  (0.1ms) SAVEPOINT active_record_1
12390
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "simple+text"], ["to", "1952614"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:10:46.272823"], ["updated_at", "2015-06-15 21:10:46.272823"]]
12391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12392
+ Processing by Smster::ClickatellController#callback as HTML
12393
+ Parameters: {"data"=>{"charge"=>"1.5", "messageStatus"=>"3", "description"=>"Received by recipient", "apiMessageId"=>"15"}}
12394
+ Sms::Clickatell Load (0.1ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Clickatell') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12395
+  (0.0ms) SAVEPOINT active_record_1
12396
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "Received by recipient"], ["updated_at", "2015-06-15 21:10:46.276986"], ["id", 1]]
12397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12398
+  (0.0ms) SAVEPOINT active_record_1
12399
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:10:46.278331"], ["id", 1]]
12400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12401
+ Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.6ms)
12402
+  (0.7ms) rollback transaction
12403
+  (0.1ms) begin transaction
12404
+ ------------------------------------------
12405
+ Smster::NexmoControllerTest: test_callback
12406
+ ------------------------------------------
12407
+  (0.1ms) SAVEPOINT active_record_1
12408
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Nexmo"], ["text", "simple+text"], ["to", "7874736"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:10:46.304754"], ["updated_at", "2015-06-15 21:10:46.304754"]]
12409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12410
+ Processing by Smster::NexmoController#callback as HTML
12411
+ Parameters: {"messageId"=>"15", "status"=>"delivered"}
12412
+ Sms::Nexmo Load (0.2ms) SELECT "smsters".* FROM "smsters" WHERE "smsters"."type" IN ('Sms::Nexmo') AND "smsters"."code" = ? LIMIT 1 [["code", "15"]]
12413
+  (0.1ms) SAVEPOINT active_record_1
12414
+ SQL (0.3ms) UPDATE "smsters" SET "status_message" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status_message", "delivered"], ["updated_at", "2015-06-15 21:10:46.310041"], ["id", 1]]
12415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12416
+  (0.1ms) SAVEPOINT active_record_1
12417
+ SQL (0.1ms) UPDATE "smsters" SET "status" = ?, "updated_at" = ? WHERE "smsters"."id" = ? [["status", 2], ["updated_at", "2015-06-15 21:10:46.311842"], ["id", 1]]
12418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12419
+ Completed 200 OK in 5ms (Views: 0.1ms | ActiveRecord: 0.8ms)
12420
+  (0.7ms) rollback transaction
12421
+  (0.1ms) begin transaction
12422
+ ---------------------------
12423
+ Sms::SmsRuTest: test_create
12424
+ ---------------------------
12425
+  (0.1ms) SAVEPOINT active_record_1
12426
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status_message", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Smsru"], ["text", "i am rails smster!"], ["to", "34698846"], ["status_message", "100\n201523-1000007\nbalance=52.54"], ["status", 1], ["code", "201523-1000007"], ["created_at", "2015-06-15 21:10:46.352787"], ["updated_at", "2015-06-15 21:10:46.352787"]]
12427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12428
+  (0.4ms) rollback transaction
12429
+  (0.0ms) begin transaction
12430
+ --------------------------------
12431
+ Sms::ClickatellTest: test_create
12432
+ --------------------------------
12433
+  (0.1ms) SAVEPOINT active_record_1
12434
+ SQL (0.3ms) INSERT INTO "smsters" ("type", "text", "to", "status", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "Sms::Clickatell"], ["text", "i+am+rails+smster!"], ["to", "98179024"], ["status", 1], ["code", "15"], ["created_at", "2015-06-15 21:10:46.373199"], ["updated_at", "2015-06-15 21:10:46.373199"]]
12435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12436
+  (0.4ms) rollback transaction
12437
+  (0.0ms) begin transaction
12438
+ -------------------------------
12439
+ SmsterTest: test_confirguration
12440
+ -------------------------------
12441
+  (0.1ms) rollback transaction