diff --git a/spec/classes/jira_config_spec.rb b/spec/classes/jira_config_spec.rb index 2e9a58d6..18976d76 100644 --- a/spec/classes/jira_config_spec.rb +++ b/spec/classes/jira_config_spec.rb @@ -29,7 +29,6 @@ with_content(%r{jdbc:postgresql://localhost:5432/jira}). with_content(%r{public}). without_content(%r{ 'https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.34.tar.gz', - 'extract_path' => '/opt/MySQL-connector', - 'creates' => '/opt/MySQL-connector/mysql-connector-java-5.1.34') + 'extract_path' => '/opt/MySQL-connector', + 'creates' => '/opt/MySQL-connector/mysql-connector-java-5.1.34') end end context 'mysql connector defaults Connector Version >8' do @@ -55,8 +55,8 @@ end it 'deploys mysql connector 8.0.23 from tar.gz' do is_expected.to contain_archive('/opt/MySQL-connector/mysql-connector-java-8.0.23.tar.gz').with('source' => 'https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.23.tar.gz', - 'extract_path' => '/opt/MySQL-connector', - 'creates' => '/opt/MySQL-connector/mysql-connector-java-8.0.23') + 'extract_path' => '/opt/MySQL-connector', + 'creates' => '/opt/MySQL-connector/mysql-connector-java-8.0.23') end end context 'mysql connector overwrite params' do @@ -82,8 +82,8 @@ end it 'deploys mysql connector 5.1.15 from zip' do is_expected.to contain_archive('/opt/foo/mysql-connector-java-5.1.15.zip').with('source' => 'http://example.co.za/foo/mysql-connector-java-5.1.15.zip', - 'extract_path' => '/opt/foo', - 'creates' => '/opt/foo/mysql-connector-java-5.1.15') + 'extract_path' => '/opt/foo', + 'creates' => '/opt/foo/mysql-connector-java-5.1.15') end end context 'mysql_connector_mangage equals false' do