Skip to content

Commit

Permalink
Update specs for idomysql and idopgsql
Browse files Browse the repository at this point in the history
  • Loading branch information
bobapple committed Feb 1, 2017
1 parent 6b21cc7 commit 2575ba0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions spec/classes/idomysql_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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


Expand Down
8 changes: 4 additions & 4 deletions spec/classes/idopgsql_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 2575ba0

Please sign in to comment.