Sha256: 9f4f45246d9b5ca01480b702295ea1b30c885f42562a4292824c87a3af9d961c

Contents?: true

Size: 367 Bytes

Versions: 32

Compression:

Stored size: 367 Bytes

Contents

shared_examples_for GroupDocs::Api::Helpers::Status do
  it { should have_accessor(:status) }

  describe '#status' do
    it 'returns converted to human-readable format status' do
      subject.should_receive(:parse_status).with('InProgress').and_return(:in_progress)
      subject.status = 'InProgress'
      subject.status.should == :in_progress
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
groupdocs-2.2.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-2.1.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-2.0.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.9.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.8.1 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.8.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.7.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.6.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.9 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.8 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.7 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.6 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.5 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.4 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.3 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.2 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.1 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.5.0 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.4.2 spec/support/shared_examples/api/helpers/status_helper.rb
groupdocs-1.4.1 spec/support/shared_examples/api/helpers/status_helper.rb