Skip to content

Commit

Permalink
Experimental check tests
Browse files Browse the repository at this point in the history
  • Loading branch information
18bitmood committed Sep 24, 2021
1 parent b8fec8d commit 9dd13f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/endpoints/ipfs_endpoints_spec.rb
Expand Up @@ -54,7 +54,7 @@
end
context 'when calls get_localstorage_pinned_object method' do
it 'returns status 200 and response body ipfs hash is eq path from add_a_file' do
sleep 5 # To make sure that pin_object method finished work
sleep 10 # To make sure that pin_object method finished work
response = blockfrost_ipfs.get_localstorage_pinned_object(ipfs_path)
puts "\n" * 3
puts response
Expand All @@ -72,7 +72,7 @@
end
context 'when calls get_localstorage_pinned_objects_list method' do
it 'returns status 200 and response body doesn\'t include hash from add a file' do
sleep 1 # To make sure that remove_pinned_object method finished work
sleep 10 # To make sure that remove_pinned_object method finished work
response = blockfrost_ipfs.get_localstorage_pinned_objects_list
expect(response[:status]).to eq(200)
pinned_hashes = response[:body].map { |el| el[:ipfs_hash] }
Expand Down

0 comments on commit 9dd13f0

Please sign in to comment.