diff --git a/spec/classes/idomysql_spec.rb b/spec/classes/idomysql_spec.rb index a36540c2a..82d6ba53c 100644 --- a/spec/classes/idomysql_spec.rb +++ b/spec/classes/idomysql_spec.rb @@ -316,14 +316,14 @@ context "#{os} with import_schema => true" do let(:params) { {:import_schema => true} } - it { is_expected.to contain_exec('idomysql_import_schema') } + it { is_expected.to contain_exec('idomysql-import-schema') } end context "#{os} with import_schema => false" do let(:params) { {:import_schema => false} } - it { should_not contain_exec('idomysql_import_schema') } + it { should_not contain_exec('idomysql-import-schema') } end @@ -655,14 +655,14 @@ context "Windows 2012 R2 with import_schema => true" do let(:params) { {:import_schema => true} } - it { is_expected.to contain_exec('idomysql_import_schema') } + it { is_expected.to contain_exec('idomysql-import-schema') } end context "Windows 2012 R2 with import_schema => false" do let(:params) { {:import_schema => false} } - it { should_not contain_exec('idomysql_import_schema') } + it { should_not contain_exec('idomysql-import-schema') } end diff --git a/spec/classes/idopgsql_spec.rb b/spec/classes/idopgsql_spec.rb index f881fe5a1..e6c11411b 100644 --- a/spec/classes/idopgsql_spec.rb +++ b/spec/classes/idopgsql_spec.rb @@ -177,14 +177,14 @@ context "#{os} with import_schema => true" do let(:params) { {:import_schema => true} } - it { is_expected.to contain_exec('idopgsql_import_schema') } + it { is_expected.to contain_exec('idopgsql-import-schema') } end context "#{os} with import_schema => false" do let(:params) { {:import_schema => false} } - it { should_not contain_exec('idopgsql_import_schema') } + it { should_not contain_exec('idopgsql-import-schema') } end @@ -379,14 +379,14 @@ context "Windows 2012 R2 with import_schema => true" do let(:params) { {:import_schema => true} } - it { is_expected.to contain_exec('idopgsql_import_schema') } + it { is_expected.to contain_exec('idopgsql-import-schema') } end context "Windows 2012 R2 with import_schema => false" do let(:params) { {:import_schema => false} } - it { should_not contain_exec('idopgsql_import_schema') } + it { should_not contain_exec('idopgsql-import-schema') } end