spec/groupdocs/storage/folder_spec.rb in groupdocs-0.3.9 vs spec/groupdocs/storage/folder_spec.rb in groupdocs-0.3.10
- old
+ new
@@ -112,13 +112,13 @@
subject.stub(name: 'Test1')
subject.move!('/Test2')
end
it 'returns moved to folder path' do
- moved = subject.move!('/Test2')
+ moved = subject.move!('/Test2/Test1')
moved.should be_a(String)
- moved.should == '/Test2'
+ moved.should == '/Test2/Test1/'
end
end
describe '#rename!' do
it 'accepts access credentials hash' do
@@ -161,12 +161,12 @@
subject.stub(name: 'Test1')
subject.copy!('/Test2')
end
it 'returns moved to folder path' do
- moved = subject.copy!('/Test2')
+ moved = subject.copy!('/Test2/Test1')
moved.should be_a(String)
- moved.should == '/Test2'
+ moved.should == '/Test2/Test1/'
end
end
describe '#list!' do
before(:each) do