spec/integration/folder_download_spec.rb in rmega-0.2.0 vs spec/integration/folder_download_spec.rb in rmega-0.2.1
- old
+ new
@@ -2,10 +2,10 @@
describe 'Folder download' do
context 'given a public mega url (folder)' do
- let(:url) { 'https://mega.co.nz/#F!IYERlQqa!pvqkX7UUsRGKBs3FWKXzUQ' }
+ let(:url) { 'https://mega.nz/#F!oQYEUaBD!QtYCjQDbBzefFeIM994FIg' }
it 'downloads the related file' do
Rmega.download(url, temp_folder)
list = Dir["#{temp_folder}/test_folder/**/*"].map do |p|
p.gsub("#{temp_folder}/test_folder/", "")