spec/groupdocs/document/annotation_spec.rb in groupdocs-1.5.7 vs spec/groupdocs/document/annotation_spec.rb in groupdocs-1.5.8
- old
+ new
@@ -204,24 +204,11 @@
mock_api_server('{ "status": "Ok", "result": {}}')
end
it 'accepts access credentials hash' do
lambda do
- subject.move_marker!(10, 10, :client_id => 'client_id', :private_key => 'private_key')
+ subject.move_marker!(marker, :client_id => 'client_id', :private_key => 'private_key')
end.should_not raise_error(ArgumentError)
- end
-
- it 'updates box coordinates if it is set' do
- subject.box = { :x => 1, :y => 2 }
- subject.move_marker! 10, 10
- subject.box.x.should == 10
- subject.box.y.should == 10
- end
-
- it 'creates box coordinates if it is not set' do
- subject.move_marker! 10, 10
- subject.box.x.should == 10
- subject.box.y.should == 10
end
end
describe '#resize!' do
before(:each) do