Sha256: 4b11e7a23c79ee260a552f949e9ddb7b9db78cb14b97a48c0bb72b6a53cdb823

Contents?: true

Size: 722 Bytes

Versions: 8

Compression:

Stored size: 722 Bytes

Contents

require 'spec_helper'

describe CanvasWebex::Meeting do
  let(:client) {CanvasWebex::Service.new('meeting', 'proserv_instructure', 'foo', '123', 'instructure', nil, 'test')}
  subject{CanvasWebex::Meeting.retrieve(123, client)}

  before(:each) do
    stub_call('get_meeting')
  end

  it 'returns the meeting name' do
    subject.conf_name.should == "test"
  end

  it 'returns the meeting key' do
    subject.meeting_key.should == "807833538"
  end

  it 'returns the start date' do
    subject.start_date.should == "10/22/2013 10:59:19"
  end

  it 'returns the host_joined value' do
    subject.host_joined.should == "false"
  end

  it 'returns the status' do
    subject.status.should == "NOT_INPROGRESS"
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
canvas_webex-0.18.2 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.18.1 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.18.0 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.17 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.16 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.15 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.14 spec/lib/canvas_webex/meeting_spec.rb
canvas_webex-0.13 spec/lib/canvas_webex/meeting_spec.rb