Sha256: 7475105086e804664a9e3287a4492f5ec143e848c7ccf0e6c9701028e52e3289

Contents?: true

Size: 324 Bytes

Versions: 2

Compression:

Stored size: 324 Bytes

Contents

require 'spec_helper'

describe Restcomm::REST::Feedback do
  before do
    @call = Restcomm::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

2 entries across 2 versions & 1 rubygems

Version Path
restcomm-ruby-1.2.1 spec/rest/call_feedback_spec.rb
restcomm-ruby-1.2.0 spec/rest/call_feedback_spec.rb