Skip to content

Commit

Permalink
a test for notifications as a subresource of a call instance
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbenton committed Oct 13, 2011
1 parent f4ac6e3 commit 14e0c7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/twilio_spec.rb
Expand Up @@ -169,10 +169,10 @@
call.recordings.instance_variable_get('@uri').should == 'someUri/Recordings'
end

it 'should set up a recordings resources object' do
it 'should set up a notifications resources object' do
call = Twilio::REST::Call.new('someUri', 'someClient')
call.respond_to?(:transcriptions).should == true
call.transcriptions.instance_variable_get('@uri').should == 'someUri/Transcriptions'
call.respond_to?(:notifications).should == true
call.notifications.instance_variable_get('@uri').should == 'someUri/Notifications'
end
end

Expand Down

0 comments on commit 14e0c7b

Please sign in to comment.