Sha256: 222155fd7e9ef426e1e42c5fe3ad10daa9d3c071f034dcb7bb8e68ec23734524
Contents?: true
Size: 414 Bytes
Versions: 10
Compression:
Stored size: 414 Bytes
Contents
shared_examples_for GroupDocs::Api::Helpers::AccessMode do it { should respond_to(:access) } it { should respond_to(:access=) } describe '#access' do it 'returns converted to human-readable format access mode' do subject.should_receive(:parse_access_mode).with('Restricted').and_return(:restricted) subject.access = 'Restricted' subject.access.should == :restricted end end end
Version data entries
10 entries across 10 versions & 1 rubygems