Sha256: 126fad81176aa6df23fcb5e5f16c602ec26647285787c66f6d01c50da257748b

Contents?: true

Size: 320 Bytes

Versions: 44

Compression:

Stored size: 320 Bytes

Contents

require 'spec_helper'

describe Twilio::REST::Feedback do
  before do
    @call = Twilio::REST::Call.new('someUri', 'someClient')
  end

  it 'sets up a feedback resources object' do
    expect(@call).to respond_to(:feedback)
    expect(@call.feedback.instance_variable_get('@path')).to eq('someUri/Feedback')
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
twilio-ruby-4.13.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.12.1 spec/rest/call_feedback_spec.rb
twilio-ruby-4.11.1 spec/rest/call_feedback_spec.rb
twilio-ruby-4.11.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.10.0.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.10.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.9.1 spec/rest/call_feedback_spec.rb
twilio-ruby-4.9.1.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.9.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.9.0.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.8.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.7.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.8.3.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.8.2.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.8.1.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.8.0.edge spec/rest/call_feedback_spec.rb
twilio-ruby-4.6.2 spec/rest/call_feedback_spec.rb
twilio-ruby-4.6.1 spec/rest/call_feedback_spec.rb
twilio-ruby-4.6.0 spec/rest/call_feedback_spec.rb
twilio-ruby-4.7.0.edge spec/rest/call_feedback_spec.rb