Skip to content

Commit 21a8ef7

Browse files
committed
Use with_source instead
1 parent af3abe9 commit 21a8ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spec/classes/license_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
let(:params) { { source: file_uri } }
1111

1212
it { is_expected.to compile }
13-
it { is_expected.to contain_class('zend_common::license').with(source: file_uri) }
13+
it { is_expected.to contain_class('zend_common::license').with_source(file_uri) }
1414

1515
describe 'creates license file' do
1616
it { is_expected.to contain_file('/opt/zend/zendphp/etc/license').with_source(file_uri) }

0 commit comments

Comments
 (0)