Skip to content

Commit

Permalink
trace
Browse files Browse the repository at this point in the history
  • Loading branch information
danielparks committed Feb 15, 2024
1 parent 22b0bfc commit d6544ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/acceptance/user_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@
it 'can remove itself after the user was deleted' do
expect(user('rustup_test')).not_to exist

apply_manifest(<<~'END', catch_failures: true)
ENV['RSPEC_DEBUG'] = '1'
apply_manifest(<<~'END', catch_failures: true, debug: true, prefix_command: 'RUSTUP_TRACE=1')
user { 'rustup_test':
ensure => present,
managehome => true,
Expand All @@ -388,6 +389,7 @@
rustup { 'rustup_test': }
rustup::toolchain { 'rustup_test: stable': }
END
ENV.delete('RSPEC_DEBUG')

expect(user('rustup_test')).to exist
expect(file('/home/rustup_test/.cargo/bin/rustup')).to exist
Expand Down

0 comments on commit d6544ea

Please sign in to comment.