Skip to content

Commit

Permalink
fix broken unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jul 13, 2017
1 parent 1dda28b commit f6b9c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/defines/unit_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
:path => '/usr/lib/systemd/system',
:content => 'some-content',
:source => 'some-source',
:target => 'some-target',
:target => '/some/target',
} }

it 'creates the unit file' do
should contain_file('/usr/lib/systemd/system/fancy.service').with({
'ensure' => 'absent',
'content' => 'some-content',
'source' => 'some-source',
'target' => 'some-target',
'target' => '/some/target',
})
end

Expand Down

0 comments on commit f6b9c7a

Please sign in to comment.