quickbooks_web_connector 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/quickbooks_web_connector/qwc/qwc.xml.builder +2 -2
- data/lib/quickbooks_web_connector/config.rb +6 -0
- data/lib/quickbooks_web_connector/version.rb +1 -1
- data/spec/config/config_spec.rb +32 -0
- data/spec/dummy/log/test.log +384 -0
- data/spec/support/redis/stdout +71010 -0
- data/spec/views/quickbooks_web_connector/qwc/qwc.xml.builder_spec.rb +7 -3
- metadata +2 -4
- data/spec/support/redis/dump.rdb +0 -1
@@ -4,7 +4,11 @@ require 'rexml/document'
|
|
4
4
|
describe 'quickbooks_web_connector/qwc/qwc' do
|
5
5
|
|
6
6
|
before do
|
7
|
-
QuickbooksWebConnector.configure
|
7
|
+
QuickbooksWebConnector.configure do |c|
|
8
|
+
c.username = 'jsmith'
|
9
|
+
c.app_name = 'My Connector'
|
10
|
+
c.app_description = 'Sample description for app'
|
11
|
+
end
|
8
12
|
|
9
13
|
render
|
10
14
|
end
|
@@ -18,7 +22,7 @@ describe 'quickbooks_web_connector/qwc/qwc' do
|
|
18
22
|
end
|
19
23
|
|
20
24
|
it 'includes the app name' do
|
21
|
-
expect(root.text('AppName')).to eq('My
|
25
|
+
expect(root.text('AppName')).to eq('My Connector')
|
22
26
|
end
|
23
27
|
|
24
28
|
it 'includes the app ID' do
|
@@ -30,7 +34,7 @@ describe 'quickbooks_web_connector/qwc/qwc' do
|
|
30
34
|
end
|
31
35
|
|
32
36
|
it 'includes the description' do
|
33
|
-
expect(root.text('AppDescription')).to eq('
|
37
|
+
expect(root.text('AppDescription')).to eq('Sample description for app')
|
34
38
|
end
|
35
39
|
|
36
40
|
it 'includes the support url' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickbooks_web_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
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: 2014-
|
12
|
+
date: 2014-03-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -163,7 +163,6 @@ files:
|
|
163
163
|
- spec/lib/quickbooks_web_connector_spec.rb
|
164
164
|
- spec/routing/quickbooks_web_connector_spec.rb
|
165
165
|
- spec/spec_helper.rb
|
166
|
-
- spec/support/redis/dump.rdb
|
167
166
|
- spec/support/redis/redis-test.conf
|
168
167
|
- spec/support/redis/stdout
|
169
168
|
- spec/views/quickbooks_web_connector/qwc/qwc.xml.builder_spec.rb
|
@@ -233,7 +232,6 @@ test_files:
|
|
233
232
|
- spec/lib/quickbooks_web_connector_spec.rb
|
234
233
|
- spec/routing/quickbooks_web_connector_spec.rb
|
235
234
|
- spec/spec_helper.rb
|
236
|
-
- spec/support/redis/dump.rdb
|
237
235
|
- spec/support/redis/redis-test.conf
|
238
236
|
- spec/support/redis/stdout
|
239
237
|
- spec/views/quickbooks_web_connector/qwc/qwc.xml.builder_spec.rb
|
data/spec/support/redis/dump.rdb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
REDIS0006�ܳC�Z��V
|