Sha256: 13f34da7e01adc4f4bc6d75149af4a0194f6c72f11ccf64fa255ef8e33b28c16

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

require 'spec_helper'

describe ActivityStreams::Object::Audio do
  context 'when invalid attributes given' do
    let(:invalid_attributes) do
      {:stream => 'invalid'}
    end

    it do
      expect { ActivityStreams::Object::Audio.new invalid_attributes }.should raise_error ActivityStreams::InvalidAttribute
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activitystreams-0.0.4 spec/activitystreams/object/audio_spec.rb
activitystreams-0.0.3 spec/activitystreams/object/audio_spec.rb
activitystreams-0.0.2 spec/activitystreams/object/audio_spec.rb