spec/functional_spec.rb in cocoapods-keys-1.4.0 vs spec/functional_spec.rb in cocoapods-keys-1.5.0
- old
+ new
@@ -27,9 +27,16 @@
system('pod keys set UnusedKey - --silent')
system('pod install --silent --no-repo-update --no-integrate')
end
end
+ after :all do
+ KeyringLiberator.get_all_keyrings_named('TestProject').each do |keyring|
+ file = KeyringLiberator.yaml_path_for_path(keyring.path)
+ FileUtils.rm(file) if File.exist?(file)
+ end
+ end
+
it 'does not directly encode the keys into the implementation file' do
source = File.read(File.join(@tmpdir, 'Pods/CocoaPodsKeys/TestProjectKeys.m'))
expect(source).to_not include('such-data')
expect(source).to_not include('other-data')
end