rarebreed / quartermaster

0 stars 0 forks source link

Make a beforeAll and afterAll function to rename the rhsm.conf file #7

Closed rarebreed closed 7 years ago

rarebreed commented 7 years ago

When running the integration test to test the configuration interface, we need to "clean" any changes that happen via setRhsmConf commands.

rarebreed commented 7 years ago

Actually, I changed how this works. The configuration service tests will run in their own describe() suite. There will be a beforeEach and afterEach to do setup/teardown.

I implemented this for file clean up by invoking the cockpit.spawn library.