Skip to content

Commit

Permalink
E2E fix rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Unisay committed Jul 10, 2023
1 parent 4c8b8e3 commit 1a5e59e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/e2e/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ task :start_node_and_wallet, [:env] do |_task, args|
cmd start_node
cmd start_wallet
else
start_node =<<~CMD
start_node = <<~CMD
#{bin_dir}cardano-node run \
--config #{config_dir}/config.json \
--topology #{config_dir}/topology.json \
--database-path #{node_db_dir} \
--socket-path #{node_db_dir}/node.socket
CMD
start_wallet =<<~CMD
start_wallet = <<~CMD
#{bin_dir}cardano-wallet serve #{network} \
--port #{WALLET_PORT} \
--node-socket #{node_db_dir}/node.socket \
Expand Down
8 changes: 4 additions & 4 deletions test/e2e/spec/shelley_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -415,15 +415,15 @@

eventually "Pools have metadata when 'pool_metadata_source' => 'direct'" do
sps = pools.list({ stake: 1000 })
!sps.select { |p| p['metadata'] }.empty?
!sps.none? { |p| p['metadata'] }
end

s = settings.update({ pool_metadata_source: 'none' })
expect(s).to be_correct_and_respond 204

eventually "Pools have no metadata when 'pool_metadata_source' => 'none'" do
sps = pools.list({ stake: 1000 })
sps.select { |p| p['metadata'] }.empty?
sps.none? { |p| p['metadata'] }
end
end

Expand All @@ -436,15 +436,15 @@

eventually "Pools have metadata when 'pool_metadata_source' => '#{ENV.fetch('TESTS_E2E_SMASH', nil)}'" do
sps = pools.list({ stake: 1000 })
!sps.select { |p| p['metadata'] }.empty?
!sps.none? { |p| p['metadata'] }
end

s = settings.update({ pool_metadata_source: 'none' })
expect(s).to be_correct_and_respond 204

eventually "Pools have no metadata when 'pool_metadata_source' => 'none'" do
sps = pools.list({ stake: 1000 })
sps.select { |p| p['metadata'] }.empty?
sps.none? { |p| p['metadata'] }
end
end
end
Expand Down

0 comments on commit 1a5e59e

Please sign in to comment.