activesalesforce 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/README +3 -1
  2. data/lib/asf_adapter.rb +21 -14
  3. data/lib/rforce.rb +5 -8
  4. data/test/unit/basic_test.rb +6 -2
  5. data/test/unit/config.yml +3 -7
  6. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_add_notes_to_contact.recording +1068 -875
  7. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_assignment_rule_id.recording +836 -697
  8. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_batch_insert.recording +852 -729
  9. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_client_id.recording +1236 -0
  10. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_count_contacts.recording +830 -2703
  11. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_create_a_contact.recording +831 -692
  12. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact.recording +831 -692
  13. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_first_name.recording +844 -949
  14. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_a_contact_by_id.recording +865 -730
  15. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_find_addresses.recording +841 -930
  16. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_get_created_by_from_contact.recording +2071 -1614
  17. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_master_detail.recording +1146 -701
  18. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_read_all_content_columns.recording +831 -692
  19. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_save_a_contact.recording +831 -692
  20. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_default_rule.recording +833 -695
  21. data/test/unit/recorded_results/AsfUnitTestsBasicTest.test_use_update_mru.recording +833 -695
  22. data/test/unit/recorded_test_case.rb +1 -3
  23. metadata +23 -35
  24. data/test/unit/config.yml~ +0 -8
  25. data/test/unit/profiler_results.txt +0 -1072
  26. data/test/unit/profiler_results_live.txt +0 -1347
  27. data/test/unit/test.html +0 -157
  28. data/test/unit/test.html~ +0 -183
data/test/unit/test.html DELETED
@@ -1,157 +0,0 @@
1
- <table>
2
- <tr>
3
- <td>Contact Owner</td>
4
- <td>
5
- @contact.owner_id
6
- </td>
7
- <td>Phone</td>
8
- <td>
9
- @contact.phone
10
- </td>
11
- </tr>
12
- <tr>
13
- <td>Name</td>
14
- <td>
15
- @contact.salutation
16
- @contact.first_name
17
- @contact.last_name
18
- </td>
19
- <td>Home Phone</td>
20
- <td>
21
- @contact.home_phone
22
- </td>
23
- </tr>
24
- <tr>
25
- <td>Account</td>
26
- <td>
27
- @contact.account_id
28
- </td>
29
- <td>Mobile</td>
30
- <td>
31
- @contact.mobile_phone
32
- </td>
33
- </tr>
34
- <tr>
35
- <td>Title</td>
36
- <td>
37
- @contact.title
38
- </td>
39
- <td>Other Phone</td>
40
- <td>
41
- @contact.other_phone
42
- </td>
43
- </tr>
44
- <tr>
45
- <td>Department</td>
46
- <td>
47
- @contact.department
48
- </td>
49
- <td>Fax</td>
50
- <td>
51
- @contact.fax
52
- </td>
53
- </tr>
54
- <tr>
55
- <td>Birthdate</td>
56
- <td>
57
- @contact.birthdate
58
- </td>
59
- <td>Email</td>
60
- <td>
61
- @contact.email
62
- </td>
63
- </tr>
64
- <tr>
65
- <td>Reports To</td>
66
- <td>
67
- @contact.reports_to_id
68
- </td>
69
- <td>Assistant</td>
70
- <td>
71
- @contact.assistant_name
72
- </td>
73
- </tr>
74
- <tr>
75
- <td>Lead Source</td>
76
- <td>
77
- @contact.lead_source
78
- </td>
79
- <td>Asst. Phone</td>
80
- <td>
81
- @contact.assistant_phone
82
- </td>
83
- </tr>
84
- <tr>
85
- <td>f1</td>
86
- <td>
87
- @contact.f1__c
88
- </td>
89
- <td></td>
90
- <td>
91
- </td>
92
- </tr>
93
- <tr>
94
- <td>f2</td>
95
- <td>
96
- @contact.f2__c
97
- </td>
98
- <td></td>
99
- <td>
100
- </td>
101
- </tr>
102
- <tr>
103
- <td>CustomUserRel</td>
104
- <td>
105
- @contact.custom_user_rel_id__c
106
- </td>
107
- <td></td>
108
- <td>
109
- </td>
110
- </tr>
111
- <tr>
112
- <td>Mailing Address</td>
113
- <td>
114
- @contact.mailing_street
115
- @contact.mailing_city
116
- @contact.mailing_state
117
- @contact.mailing_postal_code
118
- @contact.mailing_country
119
- </td>
120
- <td>Other Address</td>
121
- <td>
122
- @contact.other_street
123
- @contact.other_city
124
- @contact.other_state
125
- @contact.other_postal_code
126
- @contact.other_country
127
- </td>
128
- </tr>
129
- <tr>
130
- <td>Languages</td>
131
- <td>
132
- @contact.languages__c
133
- </td>
134
- <td>Level</td>
135
- <td>
136
- @contact.level__c
137
- </td>
138
- </tr>
139
- <tr>
140
- <td>Created By</td>
141
- <td>
142
- @contact.created_by_id
143
- @contact.created_date
144
- </td>
145
- <td>Last Modified By</td>
146
- <td>
147
- @contact.last_modified_by_id
148
- @contact.last_modified_date
149
- </td>
150
- </tr>
151
- <tr>
152
- <td>Description</td>
153
- <td>
154
- @contact.description
155
- </td>
156
- </tr>
157
- </table>
data/test/unit/test.html~ DELETED
@@ -1,183 +0,0 @@
1
- Loaded suite asf_scaffold_generator_test
2
- Started
3
-
4
- Starting test 'AsfUnitTestsAsfScaffoldGeneratorTest.test_describe_layout'
5
- Opening recorded binding ./recorded_results/AsfUnitTestsAsfScaffoldGeneratorTest.test_describe_layout.recording
6
-
7
- Using ActiveSalesforce connection
8
-
9
- via provided binding #<MockBinding:0x2aaaaccc07d8>
10
-
11
- Creating ActiveRecord stub for the referenced entity 'Account'
12
- Creating ActiveRecord stub for the referenced entity 'RecordType'
13
- Creating ActiveRecord stub for the referenced entity 'User'
14
- Creating ActiveRecord stub for the referenced entity 'AccountContactRole'
15
- Creating ActiveRecord stub for the referenced entity 'CampaignMember'
16
- Creating ActiveRecord stub for the referenced entity 'ContractContactRole'
17
- Creating ActiveRecord stub for the referenced entity 'Event'
18
- Creating ActiveRecord stub for the referenced entity 'EventAttendee'
19
- Creating ActiveRecord stub for the referenced entity 'Note'
20
- Creating ActiveRecord stub for the referenced entity 'OpportunityContactRole'
21
- Creating ActiveRecord stub for the referenced entity 'Task'
22
- get_entity_def() (0.015255) Retrieving metadata for 'Contact'
23
- <table>
24
- <tr>
25
- <td>Contact Owner</td>
26
- <td>
27
- @contact.owner_id
28
- </td>
29
- <td>Phone</td>
30
- <td>
31
- @contact.phone
32
- </td>
33
- </tr>
34
- <tr>
35
- <td>Name</td>
36
- <td>
37
- @contact.salutation
38
- @contact.first_name
39
- @contact.last_name
40
- </td>
41
- <td>Home Phone</td>
42
- <td>
43
- @contact.home_phone
44
- </td>
45
- </tr>
46
- <tr>
47
- <td>Account</td>
48
- <td>
49
- @contact.account_id
50
- </td>
51
- <td>Mobile</td>
52
- <td>
53
- @contact.mobile_phone
54
- </td>
55
- </tr>
56
- <tr>
57
- <td>Title</td>
58
- <td>
59
- @contact.title
60
- </td>
61
- <td>Other Phone</td>
62
- <td>
63
- @contact.other_phone
64
- </td>
65
- </tr>
66
- <tr>
67
- <td>Department</td>
68
- <td>
69
- @contact.department
70
- </td>
71
- <td>Fax</td>
72
- <td>
73
- @contact.fax
74
- </td>
75
- </tr>
76
- <tr>
77
- <td>Birthdate</td>
78
- <td>
79
- @contact.birthdate
80
- </td>
81
- <td>Email</td>
82
- <td>
83
- @contact.email
84
- </td>
85
- </tr>
86
- <tr>
87
- <td>Reports To</td>
88
- <td>
89
- @contact.reports_to_id
90
- </td>
91
- <td>Assistant</td>
92
- <td>
93
- @contact.assistant_name
94
- </td>
95
- </tr>
96
- <tr>
97
- <td>Lead Source</td>
98
- <td>
99
- @contact.lead_source
100
- </td>
101
- <td>Asst. Phone</td>
102
- <td>
103
- @contact.assistant_phone
104
- </td>
105
- </tr>
106
- <tr>
107
- <td>f1</td>
108
- <td>
109
- @contact.f1__c
110
- </td>
111
- <td></td>
112
- <td>
113
- </td>
114
- </tr>
115
- <tr>
116
- <td>f2</td>
117
- <td>
118
- @contact.f2__c
119
- </td>
120
- <td></td>
121
- <td>
122
- </td>
123
- </tr>
124
- <tr>
125
- <td>CustomUserRel</td>
126
- <td>
127
- @contact.custom_user_rel_id__c
128
- </td>
129
- <td></td>
130
- <td>
131
- </td>
132
- </tr>
133
- <tr>
134
- <td>Mailing Address</td>
135
- <td>
136
- @contact.mailing_street
137
- @contact.mailing_city
138
- @contact.mailing_state
139
- @contact.mailing_postal_code
140
- @contact.mailing_country
141
- </td>
142
- <td>Other Address</td>
143
- <td>
144
- @contact.other_street
145
- @contact.other_city
146
- @contact.other_state
147
- @contact.other_postal_code
148
- @contact.other_country
149
- </td>
150
- </tr>
151
- <tr>
152
- <td>Languages</td>
153
- <td>
154
- @contact.languages__c
155
- </td>
156
- <td>Level</td>
157
- <td>
158
- @contact.level__c
159
- </td>
160
- </tr>
161
- <tr>
162
- <td>Created By</td>
163
- <td>
164
- @contact.created_by_id
165
- @contact.created_date
166
- </td>
167
- <td>Last Modified By</td>
168
- <td>
169
- @contact.last_modified_by_id
170
- @contact.last_modified_date
171
- </td>
172
- </tr>
173
- <tr>
174
- <td>Description</td>
175
- <td>
176
- @contact.description
177
- </td>
178
- </tr>
179
- </table>
180
- .
181
- Finished in 0.038965 seconds.
182
-
183
- 1 tests, 0 assertions, 0 failures, 0 errors