qbo_rails 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qbo_rails.rb +1 -1
- data/lib/qbo_rails/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +36 -0
- data/spec/dummy/log/test.log +1876 -0
- data/spec/requests/qbo_rails_spec.rb +3 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95bd6b917f2481cc85514454e31dd18bcb1d934d
|
4
|
+
data.tar.gz: acf9635f562dc1c76742779c613c93cb051a0298
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a151af03d2f39bf3ac4154eb09644e78d1807a3724e56564e22fd918d638a4211a290de8dd1ce6116f70e73d607f465f1131f0721f72b1c0d8788ddc68fb33
|
7
|
+
data.tar.gz: aa5b43da5e9c60cf4a2aa120dd8a4761642e35e125ce667efce3029b7bcb89abfb51bbe3fd3a2857cf4e828af96ec423e442cbb4645c3360b87b8c4288f38d7b
|
data/lib/qbo_rails.rb
CHANGED
@@ -73,7 +73,7 @@ class QboRails
|
|
73
73
|
def qbo_error_params(exception)
|
74
74
|
@error = {
|
75
75
|
message: exception.message[0..250],
|
76
|
-
body: "#{exception}\n\n#{exception.message}\n\n#{exception.backtrace}",
|
76
|
+
body: "#{exception}\n\n#{exception.message}\n\n#{exception.backtrace.take(10)}",
|
77
77
|
resource_type: @record.try(:class).try(:name),
|
78
78
|
resource_id: @record.try(:id),
|
79
79
|
request_xml: request_xml(exception)
|
data/lib/qbo_rails/version.rb
CHANGED
Binary file
|
@@ -582,3 +582,39 @@ Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" fo
|
|
582
582
|
|
583
583
|
Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for 127.0.0.1 at 2015-07-28 08:14:07 -0400
|
584
584
|
[1m[36mQboError Load (1.3ms)[0m [1mSELECT "qbo_errors".* FROM "qbo_errors"[0m
|
585
|
+
[1m[35m (3.0ms)[0m begin transaction
|
586
|
+
[1m[36mSQL (5.0ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 12:59:50.627354"], ["updated_at", "2015-08-12 12:59:50.627354"]]
|
587
|
+
[1m[35m (0.9ms)[0m commit transaction
|
588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
589
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 14:13:03.576661"], ["updated_at", "2015-08-12 14:13:03.576661"]]
|
590
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
592
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 14:19:59.414867"], ["updated_at", "2015-08-12 14:19:59.414867"]]
|
593
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
594
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
595
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 14:25:10.365444"], ["updated_at", "2015-08-12 14:25:10.365444"]]
|
596
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
598
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 14:27:45.182443"], ["updated_at", "2015-08-12 14:27:45.182443"]]
|
599
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
601
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 14:29:53.516139"], ["updated_at", "2015-08-12 14:29:53.516139"]]
|
602
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
603
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
604
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 15:20:00.782034"], ["updated_at", "2015-08-12 15:20:00.782034"]]
|
605
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
606
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
607
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 15:27:04.986864"], ["updated_at", "2015-08-12 15:27:04.986864"]]
|
608
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
609
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
610
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 15:34:49.306973"], ["updated_at", "2015-08-12 15:34:49.306973"]]
|
611
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
612
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
613
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 19:13:40.053348"], ["updated_at", "2015-08-12 19:13:40.053348"]]
|
614
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
616
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 19:26:53.558851"], ["updated_at", "2015-08-12 19:26:53.558851"]]
|
617
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
618
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
619
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-12 20:00:47.710566"], ["updated_at", "2015-08-12 20:00:47.710566"]]
|
620
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -6592,3 +6592,1879 @@ SQLite3::SQLException: no such column: qbo_id: UPDATE "customers" SET "qbo_id" =
|
|
6592
6592
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.2.3/lib/quickbooks/service/base_service.rb:256:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.2.3/lib/quickbooks/service/base_service.rb:225:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.2.3/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.2.3/lib/quickbooks/service/service_crud.rb:27:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:99:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:98:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2015-07-30 12:36:01.335679"], ["updated_at", "2015-07-30 12:36:01.335679"]]
|
6593
6593
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6594
6594
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6595
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6596
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6597
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6598
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6599
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6600
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6601
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6602
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6603
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6604
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6605
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6606
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6607
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6608
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6610
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-01 15:14:20.253792"], ["updated_at", "2015-08-01 15:14:20.253792"]]
|
6611
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6612
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6613
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6614
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6615
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6616
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6617
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6618
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6619
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6620
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6621
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6622
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6623
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6624
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6625
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6626
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6627
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6628
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-01 15:16:24.393174"], ["updated_at", "2015-08-01 15:16:24.393174"]]
|
6629
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6630
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6631
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6632
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6633
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6634
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6635
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6636
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6637
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6638
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6639
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6640
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6641
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6642
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6643
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6644
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6646
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-01 15:17:12.049248"], ["updated_at", "2015-08-01 15:17:12.049248"]]
|
6647
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6648
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6649
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6650
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6651
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6652
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6653
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6654
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6655
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6656
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6657
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6658
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6659
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6660
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6661
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6663
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6664
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-01 15:17:38.636610"], ["updated_at", "2015-08-01 15:17:38.636610"]]
|
6665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6666
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6667
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6668
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6669
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6670
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6671
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6672
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6673
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6674
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6675
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6676
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6677
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6678
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6679
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6680
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6681
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
6682
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 11:50:29.608014"], ["updated_at", "2015-08-07 11:50:29.608014"]]
|
6683
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6684
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6685
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6686
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6687
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6688
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6689
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6690
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6691
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6692
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6693
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6694
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6695
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6696
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6697
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6698
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6699
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6700
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 11:52:19.385856"], ["updated_at", "2015-08-07 11:52:19.385856"]]
|
6701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6702
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6703
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6704
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6705
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6706
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6707
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6708
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6709
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6710
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6711
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6712
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6713
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6714
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6715
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6717
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6718
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 11:59:24.845232"], ["updated_at", "2015-08-07 11:59:24.845232"]]
|
6719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6720
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6721
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6722
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6723
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6724
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6725
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6726
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6727
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6728
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6729
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6730
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6731
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6732
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6733
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6734
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6736
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:04:42.426340"], ["updated_at", "2015-08-07 12:04:42.426340"]]
|
6737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6738
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
6739
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6740
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6741
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6742
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6743
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6744
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6745
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6746
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6747
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6748
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6749
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6750
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6751
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6752
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6753
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6754
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:05:30.341820"], ["updated_at", "2015-08-07 12:05:30.341820"]]
|
6755
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6756
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6757
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["message", ":\n\t"], ["body", ":\n\t\n\n:\n\t\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:259:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:28:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "{\"tax_rate_details\":[{\"tax_rate_name\":\"First\",\"rate_value\":\"12.3\",\"tax_agency_id\":\"2\",\"tax_applicable_on\":\"Sales\",\"validation_context\":null,\"errors\":{}}],\"tax_code\":\"First Tax Service\",\"validation_context\":null,\"errors\":{}}"], ["created_at", "2015-08-07 12:05:32.130567"], ["updated_at", "2015-08-07 12:05:32.130567"]]
|
6758
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6759
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6760
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6761
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6762
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6763
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6764
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6765
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6766
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6767
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6768
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6769
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6770
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6771
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6772
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6773
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6774
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6775
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:06:55.572809"], ["updated_at", "2015-08-07 12:06:55.572809"]]
|
6776
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6777
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
6778
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6779
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6780
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6781
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6782
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6783
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6784
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6785
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6786
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6787
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6788
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6789
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6790
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6792
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6793
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:08:50.237362"], ["updated_at", "2015-08-07 12:08:50.237362"]]
|
6794
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6795
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
6796
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6797
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6798
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6799
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6800
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6801
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6802
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6803
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6804
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6805
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6806
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6807
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6808
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6810
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6811
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:09:51.497514"], ["updated_at", "2015-08-07 12:09:51.497514"]]
|
6812
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6813
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
6814
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6815
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6816
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6817
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6818
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6819
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6820
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6821
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6822
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6823
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6824
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6825
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6826
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6828
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6829
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:10:22.745316"], ["updated_at", "2015-08-07 12:10:22.745316"]]
|
6830
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6831
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
6832
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6833
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6834
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6835
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6836
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6837
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6838
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6839
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6840
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6841
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6842
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6843
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6844
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6845
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6846
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6847
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:13:08.829710"], ["updated_at", "2015-08-07 12:13:08.829710"]]
|
6848
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6849
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
6850
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6851
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6852
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6853
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6854
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6855
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6856
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6857
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6858
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6859
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6860
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6861
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6862
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6863
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6864
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6865
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:16:21.639903"], ["updated_at", "2015-08-07 12:16:21.639903"]]
|
6866
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6867
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
6868
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6869
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6870
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6871
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6872
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6873
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6874
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6875
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6876
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6877
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6878
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6879
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6880
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6881
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6882
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6883
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:27:42.624321"], ["updated_at", "2015-08-07 12:27:42.624321"]]
|
6884
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6885
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
6886
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6887
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6888
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6889
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6890
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6891
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6892
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6893
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6894
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6895
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6896
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6897
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6898
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6899
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6900
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6901
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:28:19.761872"], ["updated_at", "2015-08-07 12:28:19.761872"]]
|
6902
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6903
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6904
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["message", "Tax rate details must have at least one item"], ["body", "Tax rate details must have at least one item\n\nTax rate details must have at least one item\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:11:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<TaxService>\n <TaxCode>First Tax Service</TaxCode>\n</TaxService>"], ["created_at", "2015-08-07 12:28:19.812695"], ["updated_at", "2015-08-07 12:28:19.812695"]]
|
6905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6906
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6907
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6908
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6909
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6910
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6911
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6912
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6913
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6914
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6915
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6916
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6917
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6918
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6919
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6922
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:28:51.540861"], ["updated_at", "2015-08-07 12:28:51.540861"]]
|
6923
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6924
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6925
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["message", "Tax rate details must have at least one item"], ["body", "Tax rate details must have at least one item\n\nTax rate details must have at least one item\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:11:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<TaxService>\n <TaxCode>First Tax Service</TaxCode>\n</TaxService>"], ["created_at", "2015-08-07 12:28:51.587510"], ["updated_at", "2015-08-07 12:28:51.587510"]]
|
6926
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6927
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
6928
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6929
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6930
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6931
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6932
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6933
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6934
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6935
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6936
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6937
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6938
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6939
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6940
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6941
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6942
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
6943
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:31:29.199525"], ["updated_at", "2015-08-07 12:31:29.199525"]]
|
6944
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6945
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6946
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["message", "Tax rate details must have at least one item"], ["body", "Tax rate details must have at least one item\n\nTax rate details must have at least one item\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:11:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<TaxService>\n <TaxCode>First Tax Service</TaxCode>\n</TaxService>"], ["created_at", "2015-08-07 12:31:29.239452"], ["updated_at", "2015-08-07 12:31:29.239452"]]
|
6947
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6948
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
6949
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6950
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6951
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6952
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6953
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6954
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6955
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6956
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6957
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6958
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6959
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6960
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6961
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6962
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
6963
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6964
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:31:59.921090"], ["updated_at", "2015-08-07 12:31:59.921090"]]
|
6965
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6966
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6967
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["message", "Tax rate details must have at least one item"], ["body", "Tax rate details must have at least one item\n\nTax rate details must have at least one item\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:11:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<TaxService>\n <TaxCode>First Tax Service</TaxCode>\n</TaxService>"], ["created_at", "2015-08-07 12:31:59.976590"], ["updated_at", "2015-08-07 12:31:59.976590"]]
|
6968
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6969
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
6970
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6971
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6972
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6973
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6974
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6975
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6976
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6977
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6978
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
6979
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
6980
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
6981
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
6982
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
6983
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6984
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6985
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:32:25.554665"], ["updated_at", "2015-08-07 12:32:25.554665"]]
|
6986
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6987
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6988
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Request has invalid or unsupported property\",\"Detail\":\"Property Name:Unrecognized field \\\"tax_r specified is unsupported or invalid\",\"code\":\"2010\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:32:09.222-07:00\"}"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Request has invalid or unsupported property\",\"Detail\":\"Property Name:Unrecognized field \\\"tax_r specified is unsupported or invalid\",\"code\":\"2010\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:32:09.222-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Request has invalid or unsupported property\",\"Detail\":\"Property Name:Unrecognized field \\\"tax_r specified is unsupported or invalid\",\"code\":\"2010\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:32:09.222-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:259:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:32:27.452170"], ["updated_at", "2015-08-07 12:32:27.452170"]]
|
6989
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6990
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6991
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6992
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6993
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
6994
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
6995
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
6996
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
6997
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6998
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6999
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7000
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7001
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7002
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7003
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7004
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7005
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7006
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:35:54.140955"], ["updated_at", "2015-08-07 12:35:54.140955"]]
|
7007
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7008
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7009
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:35:55.539904"], ["updated_at", "2015-08-07 12:35:55.539904"]]
|
7010
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7011
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
7012
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7013
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7014
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7015
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7016
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7017
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7018
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7019
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7020
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7021
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7022
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7023
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7024
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7025
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7026
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7027
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:41:47.637507"], ["updated_at", "2015-08-07 12:41:47.637507"]]
|
7028
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7029
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
7030
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:41:47.709358"], ["updated_at", "2015-08-07 12:41:47.709358"]]
|
7031
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7032
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
7033
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7034
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7035
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7036
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7037
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7038
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7039
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7040
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7041
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7042
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7043
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7044
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7045
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7047
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7048
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:42:04.762255"], ["updated_at", "2015-08-07 12:42:04.762255"]]
|
7049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7050
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7051
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:42:04.814482"], ["updated_at", "2015-08-07 12:42:04.814482"]]
|
7052
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7053
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7054
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7055
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7056
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7057
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7058
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7059
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7060
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7061
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7062
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7063
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7064
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7065
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7066
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7067
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7068
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7069
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:42:21.403187"], ["updated_at", "2015-08-07 12:42:21.403187"]]
|
7070
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7071
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7072
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:42:21.453572"], ["updated_at", "2015-08-07 12:42:21.453572"]]
|
7073
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7074
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
7075
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7076
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7077
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7078
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7079
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7080
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7081
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7082
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7083
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7084
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7085
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7086
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7087
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7089
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7090
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:44:33.485360"], ["updated_at", "2015-08-07 12:44:33.485360"]]
|
7091
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7092
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7093
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:44:33.535944"], ["updated_at", "2015-08-07 12:44:33.535944"]]
|
7094
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7095
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
7096
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7097
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7098
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7099
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7100
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7101
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7102
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7103
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7104
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7105
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7106
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7107
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7108
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7110
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7111
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 12:45:40.834925"], ["updated_at", "2015-08-07 12:45:40.834925"]]
|
7112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7113
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7114
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 12:45:40.882236"], ["updated_at", "2015-08-07 12:45:40.882236"]]
|
7115
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7116
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
7117
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7118
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7119
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7120
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7121
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7122
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7123
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7124
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7125
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7126
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7127
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7128
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7129
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7130
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7131
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
7132
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 13:03:11.554891"], ["updated_at", "2015-08-07 13:03:11.554891"]]
|
7133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7134
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7135
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 13:03:11.603299"], ["updated_at", "2015-08-07 13:03:11.603299"]]
|
7136
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7137
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7138
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7139
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7140
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7141
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7142
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7143
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7144
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7145
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7146
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7147
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7148
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7149
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7150
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7151
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7152
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7153
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 13:04:11.235892"], ["updated_at", "2015-08-07 13:04:11.235892"]]
|
7154
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7155
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
7156
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"20"], ["body", ":\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n:\n\t{\"Fault\":{\"Error\":[{\"Message\":\"Duplicate Name Exists Error\",\"Detail\":\"The name supplied already exists. : Another tax rate is already using this \\nname. Please use a different name.\",\"code\":\"6240\",\"element\":\"\"}],\"type\":\"ValidationFault\"},\"time\":\"2015-08-07T05:35:56.791-07:00\"}\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:30:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:29:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 13:04:11.282813"], ["updated_at", "2015-08-07 13:04:11.282813"]]
|
7157
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7158
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
7159
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7160
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7161
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7162
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7163
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7164
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7165
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7166
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7167
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7168
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7169
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7170
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7171
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7172
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7174
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 13:57:44.706222"], ["updated_at", "2015-08-07 13:57:44.706222"]]
|
7175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7176
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7177
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7178
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7179
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7180
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7181
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7182
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7183
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7184
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7185
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7186
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7187
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7188
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7189
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7191
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7192
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 13:59:30.065458"], ["updated_at", "2015-08-07 13:59:30.065458"]]
|
7193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7194
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
7195
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "qbo_errors" ("message", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["message", "Duplicate Name Exists Error:\n\tThe name supplied already exists. : Another tax rate is already using this \nname. Please use a different name."], ["body", "Duplicate Name Exists Error:\n\tThe name supplied already exists. : Another tax rate is already using this \nname. Please use a different name.\n\nDuplicate Name Exists Error:\n\tThe name supplied already exists. : Another tax rate is already using this \nname. Please use a different name.\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:299:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:248:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud_json.rb:12:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:33:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/tax_service_spec.rb:32:in `block (2 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["created_at", "2015-08-07 13:59:30.125439"], ["updated_at", "2015-08-07 13:59:30.125439"]]
|
7196
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7197
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7198
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7199
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7200
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7201
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7202
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7203
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7204
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7205
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7206
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7207
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7208
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7209
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7210
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7211
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7212
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7213
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 14:00:11.791148"], ["updated_at", "2015-08-07 14:00:11.791148"]]
|
7214
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7215
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7216
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7217
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7218
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7219
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7220
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7221
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
7222
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7223
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7224
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7225
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7226
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7227
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7228
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7230
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7231
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 14:02:03.171728"], ["updated_at", "2015-08-07 14:02:03.171728"]]
|
7232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7233
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
7234
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7235
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7236
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7237
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7238
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7239
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7240
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7241
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7242
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7243
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7244
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7245
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7246
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7248
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7249
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 14:02:38.910138"], ["updated_at", "2015-08-07 14:02:38.910138"]]
|
7250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7251
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7252
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7253
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7254
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7255
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7256
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7257
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7258
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7259
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7260
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7261
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7262
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7263
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7264
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7265
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7267
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-07 14:06:38.419991"], ["updated_at", "2015-08-07 14:06:38.419991"]]
|
7268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7269
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7270
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7271
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7272
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7273
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7274
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7275
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7276
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7277
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7278
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7279
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7280
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7281
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7282
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7283
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7284
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
7285
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:35:41.023900"], ["updated_at", "2015-08-08 10:35:41.023900"]]
|
7286
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7287
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7288
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Iggy"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-08 10:35:41.062941"], ["updated_at", "2015-08-08 10:35:41.062941"]]
|
7289
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7290
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7291
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 64], ["updated_at", "2015-08-08 10:35:43.167891"], ["id", 1]]
|
7292
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7293
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
7294
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
7295
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7296
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7297
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7298
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7299
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7300
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7301
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7302
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7303
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7304
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7305
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7306
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7307
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7309
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7310
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:37:12.643578"], ["updated_at", "2015-08-08 10:37:12.643578"]]
|
7311
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7312
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7313
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Iggy"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 64], ["created_at", "2015-08-08 10:37:12.680300"], ["updated_at", "2015-08-08 10:37:12.680300"]]
|
7314
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7315
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
7316
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7317
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7318
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7319
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7320
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7321
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7322
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7323
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7324
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7325
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7326
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7327
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7328
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7329
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7330
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7331
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:37:38.598100"], ["updated_at", "2015-08-08 10:37:38.598100"]]
|
7332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7334
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Iggy"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 64], ["created_at", "2015-08-08 10:37:38.635857"], ["updated_at", "2015-08-08 10:37:38.635857"]]
|
7335
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7336
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7337
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7338
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7339
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7340
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7341
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7342
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7343
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7344
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7345
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7346
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7347
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7348
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7349
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7350
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7351
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7352
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:39:11.348675"], ["updated_at", "2015-08-08 10:39:11.348675"]]
|
7353
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7354
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7355
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7356
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["message", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance."], ["body", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\nDelete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\n[\"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:259:in `check_response'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/base_service.rb:173:in `do_http_post'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/quickbooks-ruby/lib/quickbooks/service/customer.rb:7:in `delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:47:in `block in delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:44:in `delete'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:42:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:42:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Customer xmlns=\"http://schema.intuit.com/finance/v3\" sparse=\"true\">\n<Id>18</Id>\n<SyncToken>0</SyncToken>\n<MetaData>\n<CreateTime>2015-06-24T20:13:37-0400</CreateTime>\n<LastUpdatedTime>2015-06-30T14:43:20-0400</LastUpdatedTime>\n</MetaData>\n<GivenName>Kathy</GivenName>\n<FamilyName>Paulsen</FamilyName>\n<CompanyName>Paulsen Medical Supplies</CompanyName>\n<DisplayName>Paulsen Medical Supplies</DisplayName>\n<PrintOnCheckName>Paulsen Medical Supplies</PrintOnCheckName>\n<Active>false</Active>\n<PrimaryPhone>\n<FreeFormNumber>(650) 557-4569</FreeFormNumber>\n</PrimaryPhone>\n<PrimaryEmailAddr>\n<Address>Medical@intuit.com</Address>\n</PrimaryEmailAddr>\n<BillAddr>\n<Id>18</Id>\n<Line1>900 Main St.</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94303</PostalCode>\n<Lat>37.445013</Lat>\n<Long>-122.1391443</Long>\n</BillAddr>\n<ShipAddr>\n<Id>19</Id>\n<Line1>38921 S. Boise Ave</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94304</PostalCode>\n<Lat>37.3989376</Lat>\n<Long>-122.1443935</Long>\n</ShipAddr>\n<Job>false</Job>\n<BillWithParent>false</BillWithParent>\n<Balance>954.75</Balance>\n<BalanceWithJobs>954.75</BalanceWithJobs>\n<PreferredDeliveryMethod>Print</PreferredDeliveryMethod>\n<FullyQualifiedName>Paulsen Medical Supplies</FullyQualifiedName>\n<Taxable>false</Taxable>\n</Customer>"], ["created_at", "2015-08-08 10:39:11.430724"], ["updated_at", "2015-08-08 10:39:11.430724"]]
|
7357
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7358
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7359
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
7360
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7361
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7362
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7363
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7364
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7365
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7366
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7367
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7368
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7369
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7370
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7371
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7372
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7374
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7375
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:40:05.782612"], ["updated_at", "2015-08-08 10:40:05.782612"]]
|
7376
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7377
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7378
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Mathis"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-08 10:40:05.817219"], ["updated_at", "2015-08-08 10:40:05.817219"]]
|
7379
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7380
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7381
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 62], ["updated_at", "2015-08-08 10:40:05.854000"], ["id", 1]]
|
7382
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7383
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
7384
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
7385
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7386
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7387
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7388
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7389
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7390
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7391
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7392
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7393
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7394
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7395
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7396
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7397
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7399
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7400
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:52:58.080498"], ["updated_at", "2015-08-08 10:52:58.080498"]]
|
7401
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7402
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7403
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7404
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7405
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7406
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7407
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7408
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7409
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7410
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7411
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7412
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7413
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7414
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7415
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7417
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7418
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:53:27.520280"], ["updated_at", "2015-08-08 10:53:27.520280"]]
|
7419
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7420
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7421
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7422
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7423
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7424
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7425
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7426
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7427
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7428
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7429
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7430
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7431
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7432
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7433
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7434
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7436
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:54:55.348348"], ["updated_at", "2015-08-08 10:54:55.348348"]]
|
7437
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7438
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7439
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7440
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7441
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7442
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7443
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7444
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7445
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7446
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7447
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7448
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7449
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7450
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7451
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7453
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7454
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-08 10:55:53.181501"], ["updated_at", "2015-08-08 10:55:53.181501"]]
|
7455
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7456
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7457
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7458
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7459
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7460
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7461
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7462
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7463
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7464
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7465
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7466
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7467
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7468
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7469
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7471
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
7472
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.007550"], ["updated_at", "2015-08-13 14:20:54.007550"]]
|
7473
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7474
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7475
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-13 14:20:54.042131"], ["updated_at", "2015-08-13 14:20:54.042131"]]
|
7476
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7477
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7478
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 60], ["updated_at", "2015-08-13 14:20:54.071585"], ["id", 1]]
|
7479
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7480
|
+
[1m[36mCustomer Load (0.2ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
7481
|
+
[1m[35m (1.4ms)[0m rollback transaction
|
7482
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7483
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7484
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.080843"], ["updated_at", "2015-08-13 14:20:54.080843"]]
|
7485
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7486
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7487
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 60], ["created_at", "2015-08-13 14:20:54.083896"], ["updated_at", "2015-08-13 14:20:54.083896"]]
|
7488
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7489
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7491
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7492
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.112836"], ["updated_at", "2015-08-13 14:20:54.112836"]]
|
7493
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7494
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7495
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7496
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["message", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance."], ["body", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\nDelete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:298:in `parse_and_raise_exception'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:259:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:173:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/customer.rb:7:in `delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:47:in `block in delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:44:in `delete'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:40:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Customer xmlns=\"http://schema.intuit.com/finance/v3\" sparse=\"true\">\n<Id>18</Id>\n<SyncToken>0</SyncToken>\n<MetaData>\n<CreateTime>2015-06-24T20:13:37-0400</CreateTime>\n<LastUpdatedTime>2015-06-30T14:43:20-0400</LastUpdatedTime>\n</MetaData>\n<GivenName>Kathy</GivenName>\n<FamilyName>Paulsen</FamilyName>\n<CompanyName>Paulsen Medical Supplies</CompanyName>\n<DisplayName>Paulsen Medical Supplies</DisplayName>\n<PrintOnCheckName>Paulsen Medical Supplies</PrintOnCheckName>\n<Active>false</Active>\n<PrimaryPhone>\n<FreeFormNumber>(650) 557-4569</FreeFormNumber>\n</PrimaryPhone>\n<PrimaryEmailAddr>\n<Address>Medical@intuit.com</Address>\n</PrimaryEmailAddr>\n<BillAddr>\n<Id>18</Id>\n<Line1>900 Main St.</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94303</PostalCode>\n<Lat>37.445013</Lat>\n<Long>-122.1391443</Long>\n</BillAddr>\n<ShipAddr>\n<Id>19</Id>\n<Line1>38921 S. Boise Ave</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94304</PostalCode>\n<Lat>37.3989376</Lat>\n<Long>-122.1443935</Long>\n</ShipAddr>\n<Job>false</Job>\n<BillWithParent>false</BillWithParent>\n<Balance>954.75</Balance>\n<BalanceWithJobs>954.75</BalanceWithJobs>\n<PreferredDeliveryMethod>Print</PreferredDeliveryMethod>\n<FullyQualifiedName>Paulsen Medical Supplies</FullyQualifiedName>\n<Taxable>false</Taxable>\n</Customer>"], ["created_at", "2015-08-13 14:20:54.154316"], ["updated_at", "2015-08-13 14:20:54.154316"]]
|
7497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7498
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7499
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7501
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7502
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.160304"], ["updated_at", "2015-08-13 14:20:54.160304"]]
|
7503
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7505
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Mathis"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-13 14:20:54.162497"], ["updated_at", "2015-08-13 14:20:54.162497"]]
|
7506
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7507
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7508
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 62], ["updated_at", "2015-08-13 14:20:54.179005"], ["id", 1]]
|
7509
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7510
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
7511
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7512
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7513
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7514
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.209844"], ["updated_at", "2015-08-13 14:20:54.209844"]]
|
7515
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7516
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7517
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-13 14:20:54.211929"], ["updated_at", "2015-08-13 14:20:54.211929"]]
|
7518
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7519
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7520
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = 63 WHERE "customers"."id" = ?[0m [["id", 1]]
|
7521
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
7522
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7523
|
+
[1m[35mCustomer Load (0.1ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
7524
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
7525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7526
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7527
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.263627"], ["updated_at", "2015-08-13 14:20:54.263627"]]
|
7528
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7530
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-13 14:20:54.265760"], ["updated_at", "2015-08-13 14:20:54.265760"]]
|
7531
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7532
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7533
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7534
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2015-08-13 14:20:54.278388"], ["updated_at", "2015-08-13 14:20:54.278388"]]
|
7535
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7536
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7537
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7539
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7540
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-08-13 14:20:54.283692"], ["updated_at", "2015-08-13 14:20:54.283692"]]
|
7541
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7542
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7543
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-08-13 14:20:54.286080"], ["updated_at", "2015-08-13 14:20:54.286080"]]
|
7544
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7545
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7546
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:257:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:228:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/base_service.rb:173:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.3.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:99:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:98:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2015-08-13 14:20:54.304465"], ["updated_at", "2015-08-13 14:20:54.304465"]]
|
7547
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7548
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7549
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7550
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7551
|
+
[1m[35m (4.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7552
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7553
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7554
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7555
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7556
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7557
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7558
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7559
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7560
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7561
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7562
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7563
|
+
[1m[35m (0.4ms)[0m SAVEPOINT active_record_1
|
7564
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.337443"], ["updated_at", "2015-09-11 13:46:28.337443"]]
|
7565
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7566
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7567
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-09-11 13:46:28.373820"], ["updated_at", "2015-09-11 13:46:28.373820"]]
|
7568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7569
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7570
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 60], ["updated_at", "2015-09-11 13:46:28.411900"], ["id", 1]]
|
7571
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7572
|
+
[1m[36mCustomer Load (0.2ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
7573
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
7574
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7575
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7576
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.419871"], ["updated_at", "2015-09-11 13:46:28.419871"]]
|
7577
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7579
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 60], ["created_at", "2015-09-11 13:46:28.422160"], ["updated_at", "2015-09-11 13:46:28.422160"]]
|
7580
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7581
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7583
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7584
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.453189"], ["updated_at", "2015-09-11 13:46:28.453189"]]
|
7585
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7586
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7587
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7588
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["message", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance."], ["body", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\nDelete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:294:in `parse_and_raise_exception'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:255:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/customer.rb:7:in `delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:47:in `block in delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:44:in `delete'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:40:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Customer xmlns=\"http://schema.intuit.com/finance/v3\" sparse=\"true\">\n<Id>18</Id>\n<SyncToken>0</SyncToken>\n<MetaData>\n<CreateTime>2015-06-24T20:13:37-0400</CreateTime>\n<LastUpdatedTime>2015-06-30T14:43:20-0400</LastUpdatedTime>\n</MetaData>\n<GivenName>Kathy</GivenName>\n<FamilyName>Paulsen</FamilyName>\n<CompanyName>Paulsen Medical Supplies</CompanyName>\n<DisplayName>Paulsen Medical Supplies</DisplayName>\n<PrintOnCheckName>Paulsen Medical Supplies</PrintOnCheckName>\n<Active>false</Active>\n<PrimaryPhone>\n<FreeFormNumber>(650) 557-4569</FreeFormNumber>\n</PrimaryPhone>\n<PrimaryEmailAddr>\n<Address>Medical@intuit.com</Address>\n</PrimaryEmailAddr>\n<BillAddr>\n<Id>18</Id>\n<Line1>900 Main St.</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94303</PostalCode>\n<Lat>37.445013</Lat>\n<Long>-122.1391443</Long>\n</BillAddr>\n<ShipAddr>\n<Id>19</Id>\n<Line1>38921 S. Boise Ave</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94304</PostalCode>\n<Lat>37.3989376</Lat>\n<Long>-122.1443935</Long>\n</ShipAddr>\n<Job>false</Job>\n<BillWithParent>false</BillWithParent>\n<Balance>954.75</Balance>\n<BalanceWithJobs>954.75</BalanceWithJobs>\n<PreferredDeliveryMethod>Print</PreferredDeliveryMethod>\n<FullyQualifiedName>Paulsen Medical Supplies</FullyQualifiedName>\n<Taxable>false</Taxable>\n</Customer>"], ["created_at", "2015-09-11 13:46:28.489014"], ["updated_at", "2015-09-11 13:46:28.489014"]]
|
7589
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7590
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7591
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7594
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.494864"], ["updated_at", "2015-09-11 13:46:28.494864"]]
|
7595
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7596
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7597
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Mathis"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-09-11 13:46:28.497487"], ["updated_at", "2015-09-11 13:46:28.497487"]]
|
7598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7599
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7600
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 62], ["updated_at", "2015-09-11 13:46:28.514102"], ["id", 1]]
|
7601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7602
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
7603
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7606
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.543845"], ["updated_at", "2015-09-11 13:46:28.543845"]]
|
7607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7608
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7609
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-09-11 13:46:28.545935"], ["updated_at", "2015-09-11 13:46:28.545935"]]
|
7610
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7611
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7612
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = 63 WHERE "customers"."id" = ?[0m [["id", 1]]
|
7613
|
+
[1m[35mCustomer Load (0.1ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
7614
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7615
|
+
[1m[35mCustomer Load (0.1ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
7616
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
7617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7618
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7619
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.601887"], ["updated_at", "2015-09-11 13:46:28.601887"]]
|
7620
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7622
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-09-11 13:46:28.603867"], ["updated_at", "2015-09-11 13:46:28.603867"]]
|
7623
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7624
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7626
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2015-09-11 13:46:28.615985"], ["updated_at", "2015-09-11 13:46:28.615985"]]
|
7627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7628
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
7629
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7632
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 13:46:28.621418"], ["updated_at", "2015-09-11 13:46:28.621418"]]
|
7633
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7634
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7635
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2015-09-11 13:46:28.623641"], ["updated_at", "2015-09-11 13:46:28.623641"]]
|
7636
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7637
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7638
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:99:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:98:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2015-09-11 13:46:28.642676"], ["updated_at", "2015-09-11 13:46:28.642676"]]
|
7639
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7640
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7641
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7642
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7643
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7644
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7645
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7646
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7647
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7648
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7649
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7650
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7651
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7652
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7653
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7654
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7655
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7656
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 14:00:02.146066"], ["updated_at", "2015-09-11 14:00:02.146066"]]
|
7657
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7658
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7659
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7660
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7661
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7662
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7663
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7664
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7665
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7666
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7667
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7668
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7669
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7670
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7671
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7672
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7673
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7674
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 14:00:16.200940"], ["updated_at", "2015-09-11 14:00:16.200940"]]
|
7675
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7676
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
7677
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7678
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7679
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7680
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7681
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7682
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7683
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7684
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7685
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7686
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7687
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7688
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7689
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7690
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7691
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7692
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2015-09-11 14:01:11.321984"], ["updated_at", "2015-09-11 14:01:11.321984"]]
|
7693
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7694
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7695
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7696
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7697
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7698
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7699
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7700
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7701
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7702
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7703
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7704
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7705
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7706
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7707
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7708
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7709
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
7710
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:03:04.981297"], ["updated_at", "2016-07-08 10:03:04.981297"]]
|
7711
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7712
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7713
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:03:05.016291"], ["updated_at", "2016-07-08 10:03:05.016291"]]
|
7714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7715
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7717
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:03:05.046763"], ["updated_at", "2016-07-08 10:03:05.046763"]]
|
7718
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7719
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7720
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
7721
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7722
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7723
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7724
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7725
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7726
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7727
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7728
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7729
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7730
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7731
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7732
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7733
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7736
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:03:21.113638"], ["updated_at", "2016-07-08 10:03:21.113638"]]
|
7737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7738
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7739
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:03:21.149769"], ["updated_at", "2016-07-08 10:03:21.149769"]]
|
7740
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7741
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7743
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:03:21.177409"], ["updated_at", "2016-07-08 10:03:21.177409"]]
|
7744
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7745
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7746
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
7747
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7748
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7749
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7750
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7751
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7752
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7753
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7754
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7755
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7756
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7757
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7758
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7759
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7762
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:04:27.443568"], ["updated_at", "2016-07-08 10:04:27.443568"]]
|
7763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7765
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:04:27.478485"], ["updated_at", "2016-07-08 10:04:27.478485"]]
|
7766
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7767
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7768
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7769
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:04:27.506723"], ["updated_at", "2016-07-08 10:04:27.506723"]]
|
7770
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7771
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7772
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
7773
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7774
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7775
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7776
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7777
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7778
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7779
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7780
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7781
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7782
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7783
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7784
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7785
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7787
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7788
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:07:18.209401"], ["updated_at", "2016-07-08 10:07:18.209401"]]
|
7789
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7791
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:07:18.246774"], ["updated_at", "2016-07-08 10:07:18.246774"]]
|
7792
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7793
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7794
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7795
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:07:18.276871"], ["updated_at", "2016-07-08 10:07:18.276871"]]
|
7796
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7797
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7798
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7799
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7800
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7801
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7802
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7803
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7804
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7805
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7806
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7807
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7808
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7809
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7810
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7811
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7812
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7813
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7814
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:08:05.662175"], ["updated_at", "2016-07-08 10:08:05.662175"]]
|
7815
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7816
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7817
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:08:05.696710"], ["updated_at", "2016-07-08 10:08:05.696710"]]
|
7818
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7819
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7821
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:08:05.728015"], ["updated_at", "2016-07-08 10:08:05.728015"]]
|
7822
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7823
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7824
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
7825
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7826
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7827
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7828
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7829
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7830
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7831
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7832
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7833
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7834
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7835
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7836
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7837
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7838
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7839
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7840
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:09:11.089811"], ["updated_at", "2016-07-08 10:09:11.089811"]]
|
7841
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7842
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7843
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:09:11.126090"], ["updated_at", "2016-07-08 10:09:11.126090"]]
|
7844
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7845
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7846
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7847
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:09:11.155872"], ["updated_at", "2016-07-08 10:09:11.155872"]]
|
7848
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7849
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7850
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7851
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7852
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7853
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7854
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7855
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7856
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7857
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7858
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7859
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7860
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7861
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7862
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7863
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7864
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7865
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7866
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:09:35.281625"], ["updated_at", "2016-07-08 10:09:35.281625"]]
|
7867
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7868
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7869
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:09:35.321785"], ["updated_at", "2016-07-08 10:09:35.321785"]]
|
7870
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7871
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7872
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7873
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:09:35.359396"], ["updated_at", "2016-07-08 10:09:35.359396"]]
|
7874
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7875
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7876
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
7877
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7878
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7879
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7880
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7881
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7882
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7883
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7884
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7885
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7886
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7887
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7888
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7889
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7891
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7892
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:14:06.776161"], ["updated_at", "2016-07-08 10:14:06.776161"]]
|
7893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7894
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7895
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:14:06.811181"], ["updated_at", "2016-07-08 10:14:06.811181"]]
|
7896
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7897
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7898
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
7899
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7900
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7901
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7902
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7903
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7904
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7905
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7906
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7907
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7908
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7909
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7910
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7911
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7912
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7913
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7914
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:15:50.417203"], ["updated_at", "2016-07-08 10:15:50.417203"]]
|
7915
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7916
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7917
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:15:50.452864"], ["updated_at", "2016-07-08 10:15:50.452864"]]
|
7918
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7919
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7920
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
7921
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7922
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7923
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7924
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7925
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7926
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7927
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7928
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7929
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7930
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7931
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7932
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7933
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7934
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7935
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7936
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:18:05.285101"], ["updated_at", "2016-07-08 10:18:05.285101"]]
|
7937
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
7938
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7939
|
+
[1m[35mSQL (1.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:18:05.330978"], ["updated_at", "2016-07-08 10:18:05.330978"]]
|
7940
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7941
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7942
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7943
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:18:05.360020"], ["updated_at", "2016-07-08 10:18:05.360020"]]
|
7944
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7945
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
7946
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
7947
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7948
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7949
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7950
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7951
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7952
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7953
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7954
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7955
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7956
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7957
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7958
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7959
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7960
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
7961
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7962
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:20:49.341937"], ["updated_at", "2016-07-08 10:20:49.341937"]]
|
7963
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7965
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:20:49.376867"], ["updated_at", "2016-07-08 10:20:49.376867"]]
|
7966
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7967
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7968
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:96:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:95:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:20:49.420706"], ["updated_at", "2016-07-08 10:20:49.420706"]]
|
7969
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7970
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7971
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7972
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7973
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7974
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7975
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7976
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7977
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7978
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7979
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
7980
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
7981
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
7982
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
7983
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
7984
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7985
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7986
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:21:12.556034"], ["updated_at", "2016-07-08 10:21:12.556034"]]
|
7987
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7988
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7989
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:21:12.587215"], ["updated_at", "2016-07-08 10:21:12.587215"]]
|
7990
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7991
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
7992
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7993
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7994
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
7995
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
7996
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
7997
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
7998
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7999
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8000
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8001
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8002
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8003
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8004
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8007
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:21:28.289717"], ["updated_at", "2016-07-08 10:21:28.289717"]]
|
8008
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8009
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8010
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:21:28.323223"], ["updated_at", "2016-07-08 10:21:28.323223"]]
|
8011
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8012
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
8013
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8014
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8015
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8016
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8017
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8018
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8019
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8020
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8021
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8022
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8023
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8024
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8025
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8027
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8028
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 10:37:23.975393"], ["updated_at", "2016-07-08 10:37:23.975393"]]
|
8029
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8030
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8031
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 10:37:24.014058"], ["updated_at", "2016-07-08 10:37:24.014058"]]
|
8032
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8033
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8034
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:96:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:95:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 10:37:24.049527"], ["updated_at", "2016-07-08 10:37:24.049527"]]
|
8035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8036
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
8037
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8038
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8039
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8040
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8041
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8042
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8043
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8044
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8045
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8046
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8047
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8048
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8049
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8050
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8051
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8052
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:19:59.091645"], ["updated_at", "2016-07-08 11:19:59.091645"]]
|
8053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8054
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8055
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:19:59.128914"], ["updated_at", "2016-07-08 11:19:59.128914"]]
|
8056
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8057
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8058
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:96:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:95:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:19:59.169932"], ["updated_at", "2016-07-08 11:19:59.169932"]]
|
8059
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8060
|
+
[1m[36mQboError Load (0.2ms)[0m [1mSELECT "qbo_errors".* FROM "qbo_errors" ORDER BY "qbo_errors"."id" ASC LIMIT 1[0m
|
8061
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
8062
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8063
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8064
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8065
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8066
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8067
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8068
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8069
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8070
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8071
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8072
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8073
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8074
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8075
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8076
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8077
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:24:07.155655"], ["updated_at", "2016-07-08 11:24:07.155655"]]
|
8078
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8079
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8080
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:24:07.196305"], ["updated_at", "2016-07-08 11:24:07.196305"]]
|
8081
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8082
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8083
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:96:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:95:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:24:07.240732"], ["updated_at", "2016-07-08 11:24:07.240732"]]
|
8084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8085
|
+
[1m[36mQboError Load (0.1ms)[0m [1mSELECT "qbo_errors".* FROM "qbo_errors" ORDER BY "qbo_errors"."id" ASC LIMIT 1[0m
|
8086
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
8087
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8088
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8089
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8090
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8091
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8092
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8093
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8094
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8095
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8096
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8097
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8098
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8099
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8100
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
8101
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8102
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:24:19.970972"], ["updated_at", "2016-07-08 11:24:19.970972"]]
|
8103
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8104
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8105
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:24:20.007964"], ["updated_at", "2016-07-08 11:24:20.007964"]]
|
8106
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8107
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8108
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:96:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:95:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:24:20.042848"], ["updated_at", "2016-07-08 11:24:20.042848"]]
|
8109
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8110
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
8111
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8112
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8113
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8114
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8115
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8116
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8117
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8118
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8119
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8120
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8121
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8122
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8123
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8125
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8126
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:25:05.399733"], ["updated_at", "2016-07-08 11:25:05.399733"]]
|
8127
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8128
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8129
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:25:05.437307"], ["updated_at", "2016-07-08 11:25:05.437307"]]
|
8130
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8132
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:25:05.472902"], ["updated_at", "2016-07-08 11:25:05.472902"]]
|
8133
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8134
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
8135
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8136
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8137
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8138
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8139
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8140
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8141
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8142
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8143
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8144
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8145
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8146
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8147
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8149
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8150
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:25:20.245774"], ["updated_at", "2016-07-08 11:25:20.245774"]]
|
8151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8153
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:25:20.279948"], ["updated_at", "2016-07-08 11:25:20.279948"]]
|
8154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8156
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:25:20.313910"], ["updated_at", "2016-07-08 11:25:20.313910"]]
|
8157
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8158
|
+
[1m[36mQboError Load (0.1ms)[0m [1mSELECT "qbo_errors".* FROM "qbo_errors" ORDER BY "qbo_errors"."id" ASC LIMIT 1[0m
|
8159
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
8160
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8161
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8162
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8163
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8164
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8165
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8166
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8167
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8168
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8169
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8170
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8171
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8172
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8174
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8175
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:26:04.720511"], ["updated_at", "2016-07-08 11:26:04.720511"]]
|
8176
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8177
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8178
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:26:04.755839"], ["updated_at", "2016-07-08 11:26:04.755839"]]
|
8179
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8180
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8181
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:26:04.789657"], ["updated_at", "2016-07-08 11:26:04.789657"]]
|
8182
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8183
|
+
[1m[36mQboError Load (0.1ms)[0m [1mSELECT "qbo_errors".* FROM "qbo_errors" ORDER BY "qbo_errors"."id" ASC LIMIT 1[0m
|
8184
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
8185
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8186
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8187
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8188
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8189
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8190
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8191
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8192
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8193
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8194
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8195
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8196
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8197
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8198
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8199
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8200
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.434032"], ["updated_at", "2016-07-08 11:34:49.434032"]]
|
8201
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8203
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:34:49.465280"], ["updated_at", "2016-07-08 11:34:49.465280"]]
|
8204
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8205
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8206
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 60], ["updated_at", "2016-07-08 11:34:49.496211"], ["id", 1]]
|
8207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8208
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
8209
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8211
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8212
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.503390"], ["updated_at", "2016-07-08 11:34:49.503390"]]
|
8213
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8214
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8215
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 60], ["created_at", "2016-07-08 11:34:49.505839"], ["updated_at", "2016-07-08 11:34:49.505839"]]
|
8216
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8217
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
8218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8220
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.533308"], ["updated_at", "2016-07-08 11:34:49.533308"]]
|
8221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8222
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8224
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["message", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance."], ["body", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\nDelete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:294:in `parse_and_raise_exception'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:255:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/customer.rb:7:in `delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:47:in `block in delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:44:in `delete'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (5 levels) in <top (required)>'\"]"], ["request_xml", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Customer xmlns=\"http://schema.intuit.com/finance/v3\" sparse=\"true\">\n<Id>18</Id>\n<SyncToken>0</SyncToken>\n<MetaData>\n<CreateTime>2015-06-24T20:13:37-0400</CreateTime>\n<LastUpdatedTime>2015-06-30T14:43:20-0400</LastUpdatedTime>\n</MetaData>\n<GivenName>Kathy</GivenName>\n<FamilyName>Paulsen</FamilyName>\n<CompanyName>Paulsen Medical Supplies</CompanyName>\n<DisplayName>Paulsen Medical Supplies</DisplayName>\n<PrintOnCheckName>Paulsen Medical Supplies</PrintOnCheckName>\n<Active>false</Active>\n<PrimaryPhone>\n<FreeFormNumber>(650) 557-4569</FreeFormNumber>\n</PrimaryPhone>\n<PrimaryEmailAddr>\n<Address>Medical@intuit.com</Address>\n</PrimaryEmailAddr>\n<BillAddr>\n<Id>18</Id>\n<Line1>900 Main St.</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94303</PostalCode>\n<Lat>37.445013</Lat>\n<Long>-122.1391443</Long>\n</BillAddr>\n<ShipAddr>\n<Id>19</Id>\n<Line1>38921 S. Boise Ave</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94304</PostalCode>\n<Lat>37.3989376</Lat>\n<Long>-122.1443935</Long>\n</ShipAddr>\n<Job>false</Job>\n<BillWithParent>false</BillWithParent>\n<Balance>954.75</Balance>\n<BalanceWithJobs>954.75</BalanceWithJobs>\n<PreferredDeliveryMethod>Print</PreferredDeliveryMethod>\n<FullyQualifiedName>Paulsen Medical Supplies</FullyQualifiedName>\n<Taxable>false</Taxable>\n</Customer>"], ["created_at", "2016-07-08 11:34:49.567793"], ["updated_at", "2016-07-08 11:34:49.567793"]]
|
8225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8226
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8227
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8229
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8230
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.574786"], ["updated_at", "2016-07-08 11:34:49.574786"]]
|
8231
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8232
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8233
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Mathis"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:34:49.577541"], ["updated_at", "2016-07-08 11:34:49.577541"]]
|
8234
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8235
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8236
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 62], ["updated_at", "2016-07-08 11:34:49.594428"], ["id", 1]]
|
8237
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8238
|
+
[1m[36mCustomer Load (0.0ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
8239
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8241
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8242
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.621947"], ["updated_at", "2016-07-08 11:34:49.621947"]]
|
8243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8245
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:34:49.624887"], ["updated_at", "2016-07-08 11:34:49.624887"]]
|
8246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8247
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
8248
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = 63 WHERE "customers"."id" = ?[0m [["id", 1]]
|
8249
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
8250
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8251
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
8252
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
8253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8254
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8255
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.675000"], ["updated_at", "2016-07-08 11:34:49.675000"]]
|
8256
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8257
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8258
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:34:49.678014"], ["updated_at", "2016-07-08 11:34:49.678014"]]
|
8259
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8260
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8261
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:82:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:34:49.689818"], ["updated_at", "2016-07-08 11:34:49.689818"]]
|
8263
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8264
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8265
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8267
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8268
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.694996"], ["updated_at", "2016-07-08 11:34:49.694996"]]
|
8269
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8270
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8271
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:34:49.697068"], ["updated_at", "2016-07-08 11:34:49.697068"]]
|
8272
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8274
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:34:49.713355"], ["updated_at", "2016-07-08 11:34:49.713355"]]
|
8275
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8276
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
8277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8278
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8279
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:34:49.717759"], ["updated_at", "2016-07-08 11:34:49.717759"]]
|
8280
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8281
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
8282
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8283
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8284
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8285
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8286
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8287
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8288
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8289
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8290
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8291
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8292
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8293
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8294
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8295
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8296
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8297
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.616875"], ["updated_at", "2016-07-08 11:35:42.616875"]]
|
8298
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8299
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8300
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:35:42.647059"], ["updated_at", "2016-07-08 11:35:42.647059"]]
|
8301
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8302
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8303
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 60], ["updated_at", "2016-07-08 11:35:42.674000"], ["id", 1]]
|
8304
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8305
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
8306
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
8307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8308
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8309
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.680916"], ["updated_at", "2016-07-08 11:35:42.680916"]]
|
8310
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8311
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8312
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 60], ["created_at", "2016-07-08 11:35:42.683358"], ["updated_at", "2016-07-08 11:35:42.683358"]]
|
8313
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8314
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8317
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.710345"], ["updated_at", "2016-07-08 11:35:42.710345"]]
|
8318
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8319
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8320
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8321
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["message", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance."], ["body", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\nDelete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:294:in `parse_and_raise_exception'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:255:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/customer.rb:7:in `delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:47:in `block in delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:44:in `delete'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:40:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["request_xml", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Customer xmlns=\"http://schema.intuit.com/finance/v3\" sparse=\"true\">\n<Id>18</Id>\n<SyncToken>0</SyncToken>\n<MetaData>\n<CreateTime>2015-06-24T20:13:37-0400</CreateTime>\n<LastUpdatedTime>2015-06-30T14:43:20-0400</LastUpdatedTime>\n</MetaData>\n<GivenName>Kathy</GivenName>\n<FamilyName>Paulsen</FamilyName>\n<CompanyName>Paulsen Medical Supplies</CompanyName>\n<DisplayName>Paulsen Medical Supplies</DisplayName>\n<PrintOnCheckName>Paulsen Medical Supplies</PrintOnCheckName>\n<Active>false</Active>\n<PrimaryPhone>\n<FreeFormNumber>(650) 557-4569</FreeFormNumber>\n</PrimaryPhone>\n<PrimaryEmailAddr>\n<Address>Medical@intuit.com</Address>\n</PrimaryEmailAddr>\n<BillAddr>\n<Id>18</Id>\n<Line1>900 Main St.</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94303</PostalCode>\n<Lat>37.445013</Lat>\n<Long>-122.1391443</Long>\n</BillAddr>\n<ShipAddr>\n<Id>19</Id>\n<Line1>38921 S. Boise Ave</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94304</PostalCode>\n<Lat>37.3989376</Lat>\n<Long>-122.1443935</Long>\n</ShipAddr>\n<Job>false</Job>\n<BillWithParent>false</BillWithParent>\n<Balance>954.75</Balance>\n<BalanceWithJobs>954.75</BalanceWithJobs>\n<PreferredDeliveryMethod>Print</PreferredDeliveryMethod>\n<FullyQualifiedName>Paulsen Medical Supplies</FullyQualifiedName>\n<Taxable>false</Taxable>\n</Customer>"], ["created_at", "2016-07-08 11:35:42.743733"], ["updated_at", "2016-07-08 11:35:42.743733"]]
|
8322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8323
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8324
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
8325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8327
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.749221"], ["updated_at", "2016-07-08 11:35:42.749221"]]
|
8328
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8329
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8330
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Mathis"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:35:42.751453"], ["updated_at", "2016-07-08 11:35:42.751453"]]
|
8331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8332
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8333
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 62], ["updated_at", "2016-07-08 11:35:42.767644"], ["id", 1]]
|
8334
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8335
|
+
[1m[36mCustomer Load (0.0ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
8336
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8337
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8338
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8339
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.795943"], ["updated_at", "2016-07-08 11:35:42.795943"]]
|
8340
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8341
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8342
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:35:42.798102"], ["updated_at", "2016-07-08 11:35:42.798102"]]
|
8343
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8344
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
8345
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = 63 WHERE "customers"."id" = ?[0m [["id", 1]]
|
8346
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
8347
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8348
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
8349
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
8350
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8351
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8352
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.849959"], ["updated_at", "2016-07-08 11:35:42.849959"]]
|
8353
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
8355
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:35:42.852181"], ["updated_at", "2016-07-08 11:35:42.852181"]]
|
8356
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8357
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8358
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8359
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (5 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:54:in `to'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/expectation_target.rb:87:in `to'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:84:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:83:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:35:42.862236"], ["updated_at", "2016-07-08 11:35:42.862236"]]
|
8360
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8361
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8362
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8364
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
8365
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.866926"], ["updated_at", "2016-07-08 11:35:42.866926"]]
|
8366
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8367
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8368
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:35:42.868974"], ["updated_at", "2016-07-08 11:35:42.868974"]]
|
8369
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8371
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `detect'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:59:in `rescue in with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:99:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:98:in `block (3 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:177:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `block in with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `block in with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:614:in `block in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-rails-3.2.1/lib/rspec/rails/adapters.rb:113:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:333:in `instance_exec'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:387:in `execute_with'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:616:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:247:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:617:in `run_around_example_hooks_for'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/hooks.rb:474:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:343:in `with_around_example_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:385:in `with_around_and_singleton_context_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example.rb:174:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:548:in `block in run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:544:in `run_examples'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:512:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `block in run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/example_group.rb:513:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (3 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `map'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:110:in `block (2 levels) in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/configuration.rb:1526:in `with_suite_hooks'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:109:in `block in run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/reporter.rb:62:in `report'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:108:in `run_specs'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:86:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:70:in `run'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/lib/rspec/core/runner.rb:38:in `invoke'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-core-3.2.2/exe/rspec:4:in `<top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `load'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/rspec:23:in `<main>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `eval'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/bin/ruby_noexec_wrapper:14:in `<main>'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:35:42.886236"], ["updated_at", "2016-07-08 11:35:42.886236"]]
|
8372
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8373
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
8374
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8376
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:35:42.891641"], ["updated_at", "2016-07-08 11:35:42.891641"]]
|
8377
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8378
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
8379
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8380
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company_name" varchar, "qb_token" varchar, "qb_secret" varchar, "qb_company_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8381
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "firstname" varchar, "lastname" varchar, "email" varchar, "phone" varchar, "mobile" varchar, "address_1" varchar, "city" varchar, "state" varchar, "zip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "qbo_id" integer)
|
8382
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qbo_errors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "message" varchar, "body" text, "resource_type" varchar(100), "resource_id" integer, "request_xml" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
8383
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
8384
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
8385
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8386
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8387
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150418134516')
|
8388
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150319132530')[0m
|
8389
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150319132650')
|
8390
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150328125013')[0m
|
8391
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
8392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8393
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8394
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.032880"], ["updated_at", "2016-07-08 11:40:34.032880"]]
|
8395
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8396
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8397
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:40:34.066194"], ["updated_at", "2016-07-08 11:40:34.066194"]]
|
8398
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8399
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8400
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 60], ["updated_at", "2016-07-08 11:40:34.091801"], ["id", 1]]
|
8401
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8402
|
+
[1m[36mCustomer Load (0.1ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
8403
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
8404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8405
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8406
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.099014"], ["updated_at", "2016-07-08 11:40:34.099014"]]
|
8407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8408
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8409
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "qbo_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Edward"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["qbo_id", 60], ["created_at", "2016-07-08 11:40:34.101367"], ["updated_at", "2016-07-08 11:40:34.101367"]]
|
8410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8411
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8412
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
8414
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.128556"], ["updated_at", "2016-07-08 11:40:34.128556"]]
|
8415
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8416
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8417
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8418
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["message", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance."], ["body", "Delete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\nDelete List Has Balance Error:\n\tThe entity you are trying to delete has an open balance. : This customer cannot be deleted because it has a non-zero balance.\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:294:in `parse_and_raise_exception'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:255:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/customer.rb:7:in `delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:47:in `block in delete'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:44:in `delete'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:41:in `block (5 levels) in <top (required)>'\"]"], ["request_xml", "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<Customer xmlns=\"http://schema.intuit.com/finance/v3\" sparse=\"true\">\n<Id>18</Id>\n<SyncToken>0</SyncToken>\n<MetaData>\n<CreateTime>2015-06-24T20:13:37-0400</CreateTime>\n<LastUpdatedTime>2015-06-30T14:43:20-0400</LastUpdatedTime>\n</MetaData>\n<GivenName>Kathy</GivenName>\n<FamilyName>Paulsen</FamilyName>\n<CompanyName>Paulsen Medical Supplies</CompanyName>\n<DisplayName>Paulsen Medical Supplies</DisplayName>\n<PrintOnCheckName>Paulsen Medical Supplies</PrintOnCheckName>\n<Active>false</Active>\n<PrimaryPhone>\n<FreeFormNumber>(650) 557-4569</FreeFormNumber>\n</PrimaryPhone>\n<PrimaryEmailAddr>\n<Address>Medical@intuit.com</Address>\n</PrimaryEmailAddr>\n<BillAddr>\n<Id>18</Id>\n<Line1>900 Main St.</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94303</PostalCode>\n<Lat>37.445013</Lat>\n<Long>-122.1391443</Long>\n</BillAddr>\n<ShipAddr>\n<Id>19</Id>\n<Line1>38921 S. Boise Ave</Line1>\n<City>Middlefield</City>\n<CountrySubDivisionCode>CA</CountrySubDivisionCode>\n<PostalCode>94304</PostalCode>\n<Lat>37.3989376</Lat>\n<Long>-122.1443935</Long>\n</ShipAddr>\n<Job>false</Job>\n<BillWithParent>false</BillWithParent>\n<Balance>954.75</Balance>\n<BalanceWithJobs>954.75</BalanceWithJobs>\n<PreferredDeliveryMethod>Print</PreferredDeliveryMethod>\n<FullyQualifiedName>Paulsen Medical Supplies</FullyQualifiedName>\n<Taxable>false</Taxable>\n</Customer>"], ["created_at", "2016-07-08 11:40:34.163197"], ["updated_at", "2016-07-08 11:40:34.163197"]]
|
8419
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8420
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8421
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8423
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8424
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.169867"], ["updated_at", "2016-07-08 11:40:34.169867"]]
|
8425
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8426
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8427
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Mathis"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:40:34.172701"], ["updated_at", "2016-07-08 11:40:34.172701"]]
|
8428
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8429
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8430
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = ?, "updated_at" = ? WHERE "customers"."id" = ?[0m [["qbo_id", 62], ["updated_at", "2016-07-08 11:40:34.189719"], ["id", 1]]
|
8431
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8432
|
+
[1m[36mCustomer Load (0.0ms)[0m [1mSELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1[0m [["id", 1]]
|
8433
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
8434
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8436
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.216585"], ["updated_at", "2016-07-08 11:40:34.216585"]]
|
8437
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8438
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8439
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:40:34.218657"], ["updated_at", "2016-07-08 11:40:34.218657"]]
|
8440
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8441
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "qbo_errors"
|
8442
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "customers" SET "qbo_id" = 63 WHERE "customers"."id" = ?[0m [["id", 1]]
|
8443
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
8444
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8445
|
+
[1m[35mCustomer Load (0.0ms)[0m SELECT "customers".* FROM "customers" WHERE "customers"."id" = ? LIMIT 1 [["id", 1]]
|
8446
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
8447
|
+
[1m[35m (0.1ms)[0m begin transaction
|
8448
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
8449
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.268693"], ["updated_at", "2016-07-08 11:40:34.268693"]]
|
8450
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
8452
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:40:34.270763"], ["updated_at", "2016-07-08 11:40:34.270763"]]
|
8453
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8454
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8455
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8456
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Display name :display_name cannot contain a colon (:)."], ["body", "Display name :display_name cannot contain a colon (:).\n\nDisplay name :display_name cannot contain a colon (:).\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:25:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:37:in `block in create_or_update'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:30:in `create_or_update'\", \"/Users/christian/github/qbo_rails/spec/requests/qbo_rails_spec.rb:82:in `block (4 levels) in <top (required)>'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `call'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:310:in `perform_change'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/matchers/built_in/change.rb:122:in `matches?'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/rspec-expectations-3.2.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer:Rack</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:40:34.280491"], ["updated_at", "2016-07-08 11:40:34.280491"]]
|
8457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
8458
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "qbo_errors"[0m
|
8459
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
8460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
8461
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
8462
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "accounts" ("company_name", "qb_token", "qb_secret", "qb_company_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["company_name", "Nelson Hockey Club"], ["qb_token", "qyprdKT4RCDyYGCvCItKOgH3cUdfZLhX9X3jYLuidU5EVV9A"], ["qb_secret", "e6WsAKZYXOCBTTpd5Q2a2NhmFgJjpFBpJsm32Qww"], ["qb_company_id", "1411324040"], ["created_at", "2016-07-08 11:40:34.285180"], ["updated_at", "2016-07-08 11:40:34.285180"]]
|
8463
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
8465
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "customers" ("firstname", "lastname", "email", "phone", "mobile", "address_1", "city", "state", "zip", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["firstname", "Emer"], ["lastname", "Rackowski"], ["email", "erack@mail.com"], ["phone", "333-444-5555"], ["mobile", "666-777-8888"], ["address_1", "1 East Haskins Road"], ["city", "Nelson"], ["state", "NH"], ["zip", "03457-4555"], ["created_at", "2016-07-08 11:40:34.287201"], ["updated_at", "2016-07-08 11:40:34.287201"]]
|
8466
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
8467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
8468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qbo_errors" ("message", "body", "resource_type", "resource_id", "request_xml", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["message", "Quickbooks::Forbidden"], ["body", "Quickbooks::Forbidden\n\nQuickbooks::Forbidden\n\n[\"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:253:in `check_response'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:224:in `do_http'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/base_service.rb:169:in `do_http_post'\", \"/Users/christian/.rvm/gems/ruby-2.1.5/gems/quickbooks-ruby-0.4.0/lib/quickbooks/service/service_crud.rb:28:in `create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:24:in `block in create'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:54:in `with_rescued_exception'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:22:in `create'\", \"/Users/christian/github/qbo_rails/spec/dummy/app/services/qbo_rails/error_handler.rb:25:in `handle_error_no_line_items'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:68:in `block in run_error_handlers'\", \"/Users/christian/github/qbo_rails/lib/qbo_rails.rb:66:in `each'\"]"], ["resource_type", "Customer"], ["resource_id", 1], ["request_xml", "<Customer>\n <DisplayName>Emer Rackowski</DisplayName>\n <BillAddr>\n <Line1>1 East Haskins Road</Line1>\n <City>Nelson</City>\n <CountrySubDivisionCode>NH</CountrySubDivisionCode>\n <PostalCode>03457-4555</PostalCode>\n </BillAddr>\n</Customer>"], ["created_at", "2016-07-08 11:40:34.301855"], ["updated_at", "2016-07-08 11:40:34.301855"]]
|
8469
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
8470
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|