plaid_rails 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module PlaidRails
13
13
  token: account_params["token"],
14
14
  plaid_type: account_params["type"],
15
15
  name: account.name,
16
- bank_name: account.meta["name"],
16
+ bank_name: Plaid.institution.find{|i| i.type==account_params["type"]}.name,
17
17
  number: account.meta["number"],
18
18
  owner_id: account_params["owner_id"],
19
19
  owner_type: account_params["owner_type"],
@@ -1,3 +1,3 @@
1
1
  module PlaidRails
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -28,6 +28,7 @@ module PlaidRails
28
28
  token: public_token}
29
29
  expect(response).to be_success
30
30
  expect(assigns(:accounts).size).to eq 4
31
+ expect(assigns(:accounts).first.bank_name).to eq 'Wells Fargo'
31
32
  end
32
33
 
33
34
  it "can destroy" do
@@ -1386,3 +1386,908 @@ Completed 200 OK in 355ms (Views: 8.1ms | ActiveRecord: 0.3ms)
1386
1386
   (0.1ms) RELEASE SAVEPOINT active_record_1
1387
1387
   (0.2ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1388
1388
   (2.6ms) rollback transaction
1389
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1390
+  (0.1ms) begin transaction
1391
+ Processing by PlaidRails::AccountsController#index as HTML
1392
+ Parameters: {"account"=>{"owner_id"=>"1"}}
1393
+ Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/accounts/index.html.erb within layouts/plaid_rails/application (0.4ms)
1394
+ Completed 200 OK in 86ms (Views: 78.0ms | ActiveRecord: 0.0ms)
1395
+  (0.1ms) SAVEPOINT active_record_1
1396
+ SQL (5.8ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-18 11:12:11.096551"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-18 11:12:11.096551"]]
1397
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1398
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
1399
+  (0.4ms) rollback transaction
1400
+  (0.1ms) begin transaction
1401
+ Processing by PlaidRails::AccountsController#create as HTML
1402
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
1403
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1404
+  (0.1ms) SAVEPOINT active_record_1
1405
+ SQL (2.0ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Plaid Savings"], ["created_at", "2016-03-18 11:12:13.182487"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:13.182487"]]
1406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1407
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
1408
+  (0.1ms) SAVEPOINT active_record_1
1409
+ SQL (1.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Plaid Checking"], ["created_at", "2016-03-18 11:12:13.623588"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:13.623588"]]
1410
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1411
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
1412
+  (0.1ms) SAVEPOINT active_record_1
1413
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Plaid Premier Checking"], ["created_at", "2016-03-18 11:12:13.998755"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:13.998755"]]
1414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1415
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
1416
+  (0.1ms) SAVEPOINT active_record_1
1417
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Plaid Credit Card"], ["created_at", "2016-03-18 11:12:14.368077"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:14.368077"]]
1418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1419
+ Completed 200 OK in 1576ms (Views: 4.3ms | ActiveRecord: 5.0ms)
1420
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1421
+  (0.7ms) rollback transaction
1422
+  (0.1ms) begin transaction
1423
+ Processing by PlaidRails::AccountsController#new as HTML
1424
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
1425
+ Completed 200 OK in 365ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1426
+  (0.1ms) rollback transaction
1427
+  (0.1ms) begin transaction
1428
+  (0.1ms) SAVEPOINT active_record_1
1429
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-18 11:12:14.748411"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-18 11:12:14.748411"]]
1430
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1431
+ Processing by PlaidRails::AccountsController#destroy as HTML
1432
+ Parameters: {"id"=>"1"}
1433
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
1434
+  (0.0ms) SAVEPOINT active_record_1
1435
+ SQL (0.5ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
1436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1437
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.7ms)
1438
+  (0.6ms) rollback transaction
1439
+  (0.1ms) begin transaction
1440
+  (0.1ms) rollback transaction
1441
+  (0.1ms) begin transaction
1442
+  (0.1ms) rollback transaction
1443
+  (0.1ms) begin transaction
1444
+  (0.1ms) rollback transaction
1445
+  (0.1ms) begin transaction
1446
+  (0.1ms) SAVEPOINT active_record_1
1447
+ SQL (0.6ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2016-03-18 11:12:14.803719"], ["message", "hello"], ["updated_at", "2016-03-18 11:12:14.803719"]]
1448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1449
+  (0.3ms) rollback transaction
1450
+  (0.1ms) begin transaction
1451
+ Processing by PlaidRails::LinkController#authenticate as JS
1452
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1453
+ Completed 200 OK in 366ms (Views: 12.1ms | ActiveRecord: 0.0ms)
1454
+  (0.1ms) rollback transaction
1455
+  (0.1ms) begin transaction
1456
+ Processing by PlaidRails::LinkController#update as HTML
1457
+ Error: unauthorized product
1458
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1459
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1460
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1461
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
1462
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1463
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1464
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1465
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1466
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1467
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1468
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1469
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1470
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1471
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1472
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1473
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1474
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1475
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1476
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1477
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1478
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1479
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1480
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1481
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
1482
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
1483
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
1484
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
1485
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
1486
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
1487
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:35:in `block (2 levels) in <module:PlaidRails>'
1488
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1489
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1490
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1491
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1492
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1493
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1494
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1495
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1496
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1497
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1498
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1499
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1500
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1501
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1502
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1503
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1504
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1505
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1506
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1507
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1508
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1509
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1510
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1511
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1512
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1513
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1514
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1515
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1516
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1517
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1518
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1519
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1520
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1521
+ Completed 500 Internal Server Error in 357ms (Views: 5.8ms | ActiveRecord: 0.0ms)
1522
+  (0.1ms) rollback transaction
1523
+  (0.1ms) begin transaction
1524
+ Processing by PlaidRails::LinkController#authenticate as JS
1525
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1526
+ Error: unauthorized product
1527
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1528
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1529
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1530
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
1531
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1532
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1533
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1534
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1535
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1536
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1537
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1538
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1539
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1540
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1541
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1542
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1543
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1544
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1545
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1546
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1547
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1548
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1549
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1550
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
1551
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
1552
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1553
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1554
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1555
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1556
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1557
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1558
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1559
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1560
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1561
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1562
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1563
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1564
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1565
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1566
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1567
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1568
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1569
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1570
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1571
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1572
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1573
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1574
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1575
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1576
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1577
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1578
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1579
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1580
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1581
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1582
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1583
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1584
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1585
+ Completed 500 Internal Server Error in 336ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1586
+  (0.2ms) rollback transaction
1587
+  (0.1ms) begin transaction
1588
+ Processing by PlaidRails::LinkController#authenticate as HTML
1589
+ Error: unauthorized product
1590
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1591
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1592
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1593
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
1594
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1595
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1596
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1597
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1598
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1599
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1600
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1601
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1602
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1603
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1604
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1605
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1606
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1607
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1608
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1609
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1610
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1611
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1612
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1613
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
1614
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
1615
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
1616
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
1617
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
1618
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
1619
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:32:in `block (2 levels) in <module:PlaidRails>'
1620
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1621
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1622
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1623
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1624
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1625
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1626
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1627
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1628
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1629
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1630
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1631
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1632
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1633
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1634
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1635
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1636
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1637
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1638
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1639
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1640
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1641
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1642
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1643
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1644
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1645
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1646
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1647
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1648
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1649
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1650
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1651
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1652
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1653
+ Completed 500 Internal Server Error in 336ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1654
+  (0.1ms) rollback transaction
1655
+  (0.1ms) begin transaction
1656
+  (0.1ms) SAVEPOINT active_record_1
1657
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-18 11:12:16.221067"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-18 11:12:16.221067"]]
1658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1659
+ Processing by PlaidRails::LinkController#update as JS
1660
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1661
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
1662
+  (0.1ms) SAVEPOINT active_record_1
1663
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1664
+ Completed 200 OK in 340ms (Views: 8.0ms | ActiveRecord: 0.3ms)
1665
+  (0.5ms) rollback transaction
1666
+  (0.1ms) begin transaction
1667
+ Processing by PlaidRails::WebhooksController#create as HTML
1668
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
1669
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1670
+  (0.1ms) rollback transaction
1671
+  (0.1ms) begin transaction
1672
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1673
+  (0.1ms) SAVEPOINT active_record_1
1674
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Plaid Savings"], ["created_at", "2016-03-18 11:12:17.323323"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:17.323323"]]
1675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1676
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
1677
+  (0.0ms) SAVEPOINT active_record_1
1678
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Plaid Checking"], ["created_at", "2016-03-18 11:12:17.678710"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:17.678710"]]
1679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1680
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
1681
+  (0.1ms) SAVEPOINT active_record_1
1682
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Plaid Premier Checking"], ["created_at", "2016-03-18 11:12:18.053393"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:18.053393"]]
1683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1684
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
1685
+  (0.1ms) SAVEPOINT active_record_1
1686
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Plaid Credit Card"], ["created_at", "2016-03-18 11:12:18.419683"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-18 11:12:18.419683"]]
1687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1688
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
1689
+  (2.5ms) rollback transaction
1690
+  (0.1ms) begin transaction
1691
+  (0.1ms) rollback transaction
1692
+  (0.1ms) begin transaction
1693
+  (0.1ms) rollback transaction
1694
+  (0.1ms) begin transaction
1695
+  (0.1ms) rollback transaction
1696
+  (0.1ms) begin transaction
1697
+  (0.1ms) rollback transaction
1698
+  (0.1ms) begin transaction
1699
+  (0.1ms) rollback transaction
1700
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1701
+  (0.1ms) begin transaction
1702
+ Processing by PlaidRails::WebhooksController#create as HTML
1703
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
1704
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1705
+  (0.1ms) rollback transaction
1706
+  (0.1ms) begin transaction
1707
+ Processing by PlaidRails::AccountsController#create as HTML
1708
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
1709
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1710
+  (0.1ms) SAVEPOINT active_record_1
1711
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1712
+ Completed 500 Internal Server Error in 887ms (ActiveRecord: 0.9ms)
1713
+  (0.1ms) rollback transaction
1714
+  (0.1ms) begin transaction
1715
+  (0.1ms) SAVEPOINT active_record_1
1716
+ SQL (5.9ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:45:44.409908"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-23 12:45:44.409908"]]
1717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1718
+ Processing by PlaidRails::AccountsController#destroy as HTML
1719
+ Parameters: {"id"=>"1"}
1720
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
1721
+  (0.0ms) SAVEPOINT active_record_1
1722
+ SQL (1.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
1723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1724
+ Completed 200 OK in 78ms (Views: 74.2ms | ActiveRecord: 1.7ms)
1725
+  (0.7ms) rollback transaction
1726
+  (0.1ms) begin transaction
1727
+ Processing by PlaidRails::AccountsController#index as HTML
1728
+ Parameters: {"account"=>{"owner_id"=>"1"}}
1729
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
1730
+  (0.1ms) SAVEPOINT active_record_1
1731
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:45:44.505228"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-23 12:45:44.505228"]]
1732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1733
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
1734
+  (0.4ms) rollback transaction
1735
+  (0.1ms) begin transaction
1736
+ Processing by PlaidRails::AccountsController#new as HTML
1737
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
1738
+ Completed 200 OK in 360ms (Views: 4.5ms | ActiveRecord: 0.0ms)
1739
+  (0.1ms) rollback transaction
1740
+  (0.1ms) begin transaction
1741
+  (0.1ms) rollback transaction
1742
+  (0.1ms) begin transaction
1743
+  (0.1ms) rollback transaction
1744
+  (0.1ms) begin transaction
1745
+  (0.1ms) rollback transaction
1746
+  (0.1ms) begin transaction
1747
+  (0.1ms) SAVEPOINT active_record_1
1748
+ SQL (0.9ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2016-03-23 12:45:44.906938"], ["message", "hello"], ["updated_at", "2016-03-23 12:45:44.906938"]]
1749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1750
+  (0.4ms) rollback transaction
1751
+  (0.1ms) begin transaction
1752
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
1753
+  (0.1ms) SAVEPOINT active_record_1
1754
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1755
+  (0.1ms) rollback transaction
1756
+  (0.1ms) begin transaction
1757
+ Processing by PlaidRails::LinkController#authenticate as JS
1758
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1759
+ Error: unauthorized product
1760
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1761
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1762
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1763
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
1764
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1765
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1766
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1767
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1768
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1769
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1770
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1771
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1772
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1773
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1774
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1775
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1776
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1777
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1778
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1779
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1780
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1781
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1782
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1783
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
1784
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
1785
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1786
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1787
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1788
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1789
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1790
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1791
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1792
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1793
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1794
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1795
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1796
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1797
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1798
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1799
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1800
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1801
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1802
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1803
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1804
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1805
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1806
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1807
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1808
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1809
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1810
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1811
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1812
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1813
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1814
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1815
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1816
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1817
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1818
+ Completed 500 Internal Server Error in 338ms (Views: 6.2ms | ActiveRecord: 0.0ms)
1819
+  (0.1ms) rollback transaction
1820
+  (0.1ms) begin transaction
1821
+  (0.1ms) SAVEPOINT active_record_1
1822
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:45:46.196330"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-23 12:45:46.196330"]]
1823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1824
+ Processing by PlaidRails::LinkController#update as JS
1825
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1826
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
1827
+  (0.1ms) SAVEPOINT active_record_1
1828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1829
+ Completed 200 OK in 396ms (Views: 12.8ms | ActiveRecord: 0.3ms)
1830
+  (0.5ms) rollback transaction
1831
+  (0.1ms) begin transaction
1832
+ Processing by PlaidRails::LinkController#authenticate as JS
1833
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
1834
+ Completed 200 OK in 341ms (Views: 11.7ms | ActiveRecord: 0.0ms)
1835
+  (0.1ms) rollback transaction
1836
+  (0.1ms) begin transaction
1837
+ Processing by PlaidRails::LinkController#authenticate as HTML
1838
+ Error: unauthorized product
1839
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1840
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1841
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1842
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
1843
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1844
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1845
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1846
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1847
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1848
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1849
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1850
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1851
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1852
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1853
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1854
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1855
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1856
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1857
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1858
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1859
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1860
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1861
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1862
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
1863
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
1864
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
1865
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
1866
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
1867
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
1868
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:32:in `block (2 levels) in <module:PlaidRails>'
1869
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1870
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1871
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1872
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1873
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1874
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1875
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1876
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1877
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1878
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1879
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1880
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1881
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1882
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1883
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1884
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1885
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1886
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1887
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1888
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1889
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1890
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1891
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1892
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1893
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1894
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1895
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1896
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1897
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1898
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1899
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1900
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1901
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1902
+ Completed 500 Internal Server Error in 329ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1903
+  (0.1ms) rollback transaction
1904
+  (0.1ms) begin transaction
1905
+ Processing by PlaidRails::LinkController#update as HTML
1906
+ Error: unauthorized product
1907
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1908
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1909
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1910
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
1911
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1912
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
1913
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
1914
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1915
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
1916
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
1917
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
1918
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1919
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
1920
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1921
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
1922
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1923
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1924
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1925
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
1926
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
1927
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
1928
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
1929
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
1930
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
1931
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
1932
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
1933
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
1934
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
1935
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
1936
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:35:in `block (2 levels) in <module:PlaidRails>'
1937
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1938
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1939
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
1940
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
1941
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
1942
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1943
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1944
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1945
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1946
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
1947
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
1948
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
1949
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
1950
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
1951
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
1952
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
1953
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
1954
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
1955
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
1956
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
1957
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
1958
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
1959
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
1960
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
1961
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
1962
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
1963
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
1964
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
1965
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
1966
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
1967
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
1968
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
1969
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
1970
+ Completed 500 Internal Server Error in 336ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1971
+  (0.1ms) rollback transaction
1972
+  (0.1ms) begin transaction
1973
+  (0.1ms) rollback transaction
1974
+  (0.1ms) begin transaction
1975
+  (0.1ms) rollback transaction
1976
+  (0.1ms) begin transaction
1977
+  (0.0ms) rollback transaction
1978
+  (0.0ms) begin transaction
1979
+  (0.1ms) rollback transaction
1980
+  (0.1ms) begin transaction
1981
+  (0.1ms) rollback transaction
1982
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1983
+  (0.1ms) begin transaction
1984
+  (0.1ms) rollback transaction
1985
+  (0.1ms) begin transaction
1986
+  (0.1ms) rollback transaction
1987
+  (0.1ms) begin transaction
1988
+  (0.1ms) rollback transaction
1989
+  (0.1ms) begin transaction
1990
+  (0.1ms) rollback transaction
1991
+  (0.0ms) begin transaction
1992
+  (0.1ms) rollback transaction
1993
+  (0.0ms) begin transaction
1994
+ Processing by PlaidRails::LinkController#authenticate as HTML
1995
+ Error: unauthorized product
1996
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
1997
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
1998
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
1999
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
2000
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2001
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
2002
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
2003
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2004
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
2005
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2006
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
2007
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2008
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
2009
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2010
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
2011
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2012
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2013
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2014
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
2015
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
2016
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
2017
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
2018
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
2019
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
2020
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
2021
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
2022
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
2023
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
2024
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
2025
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:32:in `block (2 levels) in <module:PlaidRails>'
2026
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2027
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2028
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
2029
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
2030
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
2031
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2032
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2033
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
2034
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
2035
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
2036
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
2037
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
2038
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2039
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2040
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
2041
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
2042
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
2043
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
2044
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
2045
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
2046
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
2047
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
2048
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
2049
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
2050
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
2051
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
2052
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
2053
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
2054
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
2055
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
2056
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
2057
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
2058
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
2059
+ Rendered text template (0.0ms)
2060
+ Completed 500 Internal Server Error in 868ms (Views: 17.4ms | ActiveRecord: 0.0ms)
2061
+  (0.1ms) rollback transaction
2062
+  (0.1ms) begin transaction
2063
+ Processing by PlaidRails::LinkController#authenticate as JS
2064
+ Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
2065
+ Error: unauthorized product
2066
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
2067
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
2068
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
2069
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
2070
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2071
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
2072
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
2073
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2074
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
2075
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2076
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
2077
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2078
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
2079
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2080
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
2081
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2082
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2083
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2084
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
2085
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
2086
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
2087
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
2088
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
2089
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
2090
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
2091
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2092
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2093
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
2094
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
2095
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
2096
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2097
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2098
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
2099
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
2100
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
2101
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
2102
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
2103
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2104
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2105
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
2106
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
2107
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
2108
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
2109
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
2110
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
2111
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
2112
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
2113
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
2114
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
2115
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
2116
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
2117
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
2118
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
2119
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
2120
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
2121
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
2122
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
2123
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
2124
+ Completed 500 Internal Server Error in 321ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2125
+  (0.1ms) rollback transaction
2126
+  (0.1ms) begin transaction
2127
+ Processing by PlaidRails::LinkController#update as HTML
2128
+ Error: unauthorized product
2129
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:83:in `parse_response'
2130
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid/connection.rb:17:in `post'
2131
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/plaid-1.7.1/lib/plaid.rb:44:in `exchange_token'
2132
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
2133
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2134
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
2135
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
2136
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2137
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
2138
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
2139
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
2140
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2141
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
2142
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2143
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
2144
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2145
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2146
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2147
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
2148
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
2149
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
2150
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
2151
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
2152
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
2153
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
2154
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/forwardable.rb:201:in `with_doubles_activated'
2155
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
2156
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
2157
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
2158
+ /Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:35:in `block (2 levels) in <module:PlaidRails>'
2159
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2160
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2161
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
2162
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `call'
2163
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
2164
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2165
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2166
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
2167
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
2168
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `call'
2169
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
2170
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
2171
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
2172
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
2173
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
2174
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
2175
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `call'
2176
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:104:in `run'
2177
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
2178
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
2179
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
2180
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
2181
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
2182
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
2183
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
2184
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
2185
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
2186
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
2187
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
2188
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
2189
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
2190
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
2191
+ /Users/cwilhelm/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
2192
+ Completed 500 Internal Server Error in 339ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2193
+  (0.1ms) rollback transaction
2194
+  (0.1ms) begin transaction
2195
+  (0.1ms) SAVEPOINT active_record_1
2196
+ SQL (5.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:46:58.561387"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-23 12:46:58.561387"]]
2197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2198
+ Processing by PlaidRails::LinkController#update as JS
2199
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
2200
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1
2201
+  (0.1ms) SAVEPOINT active_record_1
2202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2203
+ Completed 200 OK in 358ms (Views: 8.3ms | ActiveRecord: 0.3ms)
2204
+  (0.5ms) rollback transaction
2205
+  (0.1ms) begin transaction
2206
+ Processing by PlaidRails::LinkController#authenticate as JS
2207
+ Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
2208
+ Completed 200 OK in 396ms (Views: 64.9ms | ActiveRecord: 0.0ms)
2209
+  (0.1ms) rollback transaction
2210
+  (0.1ms) begin transaction
2211
+  (0.1ms) rollback transaction
2212
+  (0.1ms) begin transaction
2213
+  (0.1ms) rollback transaction
2214
+  (0.0ms) begin transaction
2215
+  (0.1ms) rollback transaction
2216
+  (0.1ms) begin transaction
2217
+  (0.1ms) SAVEPOINT active_record_1
2218
+ SQL (0.7ms) INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2016-03-23 12:46:59.365444"], ["message", "hello"], ["updated_at", "2016-03-23 12:46:59.365444"]]
2219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2220
+  (0.3ms) rollback transaction
2221
+  (0.1ms) begin transaction
2222
+ Processing by PlaidRails::WebhooksController#create as HTML
2223
+ Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
2224
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
2225
+  (0.1ms) rollback transaction
2226
+  (0.1ms) begin transaction
2227
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
2228
+  (0.1ms) SAVEPOINT active_record_1
2229
+ SQL (0.7ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:00.337603"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:00.337603"]]
2230
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2231
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
2232
+  (0.1ms) SAVEPOINT active_record_1
2233
+ SQL (1.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:00.952634"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:00.952634"]]
2234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2235
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
2236
+  (0.1ms) SAVEPOINT active_record_1
2237
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:01.581820"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:01.581820"]]
2238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2239
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
2240
+  (0.1ms) SAVEPOINT active_record_1
2241
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:02.209629"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:02.209629"]]
2242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2243
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
2244
+  (0.8ms) rollback transaction
2245
+  (0.1ms) begin transaction
2246
+ Processing by PlaidRails::AccountsController#create as HTML
2247
+ Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
2248
+ PlaidRails::Account Exists (0.3ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
2249
+  (0.1ms) SAVEPOINT active_record_1
2250
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:03.499934"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:03.499934"]]
2251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2252
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
2253
+  (0.1ms) SAVEPOINT active_record_1
2254
+ SQL (0.6ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:04.136466"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:04.136466"]]
2255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2256
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
2257
+  (0.1ms) SAVEPOINT active_record_1
2258
+ SQL (0.2ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:04.746172"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:04.746172"]]
2259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2260
+ PlaidRails::Account Exists (0.2ms) SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
2261
+  (0.1ms) SAVEPOINT active_record_1
2262
+ SQL (0.1ms) INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:05.354895"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2016-03-23 12:47:05.354895"]]
2263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2264
+ Completed 200 OK in 2803ms (Views: 5.6ms | ActiveRecord: 2.7ms)
2265
+  (0.1ms) SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
2266
+ PlaidRails::Account Load (0.2ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User' ORDER BY "plaid_rails_accounts"."id" ASC LIMIT 1
2267
+  (0.7ms) rollback transaction
2268
+  (0.1ms) begin transaction
2269
+ Processing by PlaidRails::AccountsController#new as HTML
2270
+ Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
2271
+ Completed 200 OK in 368ms (Views: 4.4ms | ActiveRecord: 0.0ms)
2272
+  (0.1ms) rollback transaction
2273
+  (0.1ms) begin transaction
2274
+ Processing by PlaidRails::AccountsController#index as HTML
2275
+ Parameters: {"account"=>{"owner_id"=>"1"}}
2276
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
2277
+  (0.1ms) SAVEPOINT active_record_1
2278
+ SQL (0.5ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:05.744539"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-23 12:47:05.744539"]]
2279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2280
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1
2281
+  (0.4ms) rollback transaction
2282
+  (0.1ms) begin transaction
2283
+  (0.1ms) SAVEPOINT active_record_1
2284
+ SQL (0.4ms) INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2016-03-23 12:47:05.750298"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2016-03-23 12:47:05.750298"]]
2285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2286
+ Processing by PlaidRails::AccountsController#destroy as HTML
2287
+ Parameters: {"id"=>"1"}
2288
+ PlaidRails::Account Load (0.1ms) SELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1 [["id", 1]]
2289
+  (0.0ms) SAVEPOINT active_record_1
2290
+ SQL (0.4ms) DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
2291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2292
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)
2293
+  (0.7ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-18 00:00:00.000000000 Z
12
+ date: 2016-03-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails