spec/rest/account_spec.rb in twilio-ruby-3.14.1 vs spec/rest/account_spec.rb in twilio-ruby-3.14.2
- old
+ new
@@ -69,6 +69,13 @@
expect(@account).to respond_to(:notifications)
expect(@account.notifications.instance_variable_get('@path')).to eq(
'someUri/Notifications'
)
end
+
+ it 'sets up a tokens resources object' do
+ expect(@account).to respond_to(:tokens)
+ expect(@account.tokens.instance_variable_get('@path')).to eq(
+ 'someUri/Tokens'
+ )
+ end
end