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 cbffce5 commit 5b52201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/endpoints/ipfs_endpoints_spec.rb
Expand Up @@ -62,6 +62,7 @@
puts "\n" * 3
expect(response[:status]).to eq(200)
expect(response[:body][:ipfs_hash]).to eq(ipfs_path)
sleep 10
end
end
context 'when calls remove pinned_object method' do
Expand All @@ -73,7 +74,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 10 # To make sure that remove_pinned_object method finished work
sleep 20 # 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 5b52201

Please sign in to comment.