Sha256: 53b252cfa44a44fbfd1bb814c65ff01e67e32e42e44a3418c09947231cc70c24

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe Hall do
  subject { Hall::Client.new("fake_room_token", "form_name") }

  describe '#post_message' do
    it 'shold successfully post a message' do
      VCR.use_cassette('hall_api') do
        subject.post_message('my text').response.code.should eq "201"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hall-0.0.3 spec/hall_spec.rb