Sha256: c40d157f81877932b3affffa5c5dcc7183e879d3d72bd3ebca37bb2e0a16667c
Contents?: true
Size: 312 Bytes
Versions: 3
Compression:
Stored size: 312 Bytes
Contents
require 'spec_helper' describe Druid::Elements::Media do let(:element) { double 'element' } let(:media) { Druid::Elements::Media.new(element) } it "should return controls" do expect(media).to receive(:attribute).with(:controls).and_return(true) expect(media.has_controls?).to eq(true) end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
druid-s-1.0.0 | spec/druid/elements/media_spec.rb |
druid-ts-1.2.6 | spec/druid/elements/media_spec.rb |
druid-ts-1.2.5 | spec/druid/elements/media_spec.rb |