Skip to content

(PUP-6295) Acceptance test for corrective_change flag#1

Open
sheenaajay wants to merge 1 commit into
james-stocks:masterfrom
sheenaajay:PUP-6295_acceptance
Open

(PUP-6295) Acceptance test for corrective_change flag#1
sheenaajay wants to merge 1 commit into
james-stocks:masterfrom
sheenaajay:PUP-6295_acceptance

Conversation

@sheenaajay

Copy link
Copy Markdown

Thie commit adds new acceptance test for corrective_change flag

[skip ci]

require 'puppet/acceptance/environment_utils'
extend Puppet::Acceptance::EnvironmentUtils

app_type = File.basename(__FILE__, '.*')

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name "app_type" isn't self-descriptive. I think it was used in the existing test code by mistake. It should be changed to something more self-descriptive. I think this variable stores the name of this test file... so possibly rename this to "test_file_name"?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you James for the valuable comments.
The comment is incorporated to the file
test_file_name = File.basename(FILE, '.*')
tmp_environment = mk_tmp_environment_with_teardown(master, test_file_name)

@sheenaajay sheenaajay force-pushed the PUP-6295_acceptance branch from 8fa7202 to a5d6993 Compare August 10, 2016 11:12
Thie commit adds new acceptance test for corrective_change flag

[skip ci]
@sheenaajay sheenaajay force-pushed the PUP-6295_acceptance branch from a5d6993 to b643f5f Compare August 10, 2016 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants