spec/support/shared_examples/api/helpers/status_helper.rb in groupdocs-1.1.0 vs spec/support/shared_examples/api/helpers/status_helper.rb in groupdocs-1.2.0
- old
+ new
@@ -1,7 +1,6 @@
shared_examples_for GroupDocs::Api::Helpers::Status do
- it { should respond_to(:status) }
- it { should respond_to(:status=) }
+ 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'