qbo_rails 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/qbo_rails.rb +1 -1
- data/lib/qbo_rails/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +36 -0
- data/spec/dummy/log/test.log +1876 -0
- data/spec/requests/qbo_rails_spec.rb +3 -6
- metadata +2 -2
@@ -74,16 +74,13 @@ describe 'QBO request' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
it 'does not match a custom error handler and records error' do
|
77
|
+
it 'does not match a custom error handler and records error generated by quickbooks-ruby' do
|
78
78
|
account = create(:account)
|
79
79
|
record = create(:customer)
|
80
80
|
qbo_rails, qb_customer = map_to_qbo(account, record)
|
81
81
|
qb_customer.display_name = 'Emer:Rack'
|
82
|
-
|
83
|
-
|
84
|
-
expect{ qbo_rails.create_or_update(record, qb_customer) }.to change{ QboError.count }.by(1)
|
85
|
-
expect(qbo_rails.error).to_not be_nil
|
86
|
-
end
|
82
|
+
expect{ qbo_rails.create_or_update(record, qb_customer) }.to change{ QboError.count }.by(1)
|
83
|
+
expect(qbo_rails.error).to_not be_nil
|
87
84
|
end
|
88
85
|
|
89
86
|
# You can see this is error in spec/dummy/app/service/qbo_rails/error_handler.rb
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qbo_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Pelczarski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|