Skip to content

Commit 3b8dfce

Browse files
committed
Adding rough documentation on test helper usage
1 parent 774bdf8 commit 3b8dfce

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,18 @@ Implement `changed_attributes` in your non-AR backed model
215215
require 'netsuite_rails/spec/spec_helper'
216216
```
217217

218+
Using the helpers:
219+
220+
```ruby
221+
it 'does something' do
222+
# setup...
223+
224+
# action
225+
226+
ns_customer = get_last_netsuite_object(NetSuite::Records::Customer)
227+
end
228+
```
229+
218230
# Syncing Using Rake Tasks
219231

220232
```ruby

0 commit comments

Comments
 (0)