spec/netsuite/configuration_spec.rb in netsuite-0.0.17 vs spec/netsuite/configuration_spec.rb in netsuite-0.0.18

- old
+ new

@@ -50,10 +50,17 @@ it 'returns a hash representation of the authentication header' do config.auth_header.should eql({ 'platformMsgs:passport' => { 'platformCore:email' => 'user@example.com', 'platformCore:password' => 'myPassword', - 'platformCore:account' => '1234' + 'platformCore:account' => '1234', + 'platformCore:role' => {}, + :attributes! => { + 'platformCore:role' => { + :internalId => '3', + :type => 'role' + } + } } }) end end