spec/integrator_spec.rb in objc-obfuscator-0.2.3 vs spec/integrator_spec.rb in objc-obfuscator-0.2.4
- old
+ new
@@ -1,7 +1,8 @@
require 'objc-obfuscator/integrator'
require 'fileutils'
+require 'xcodeproj'
describe "StringEncryptor" do
include ObjC_Obfuscator::Integrator
# before do
@@ -11,7 +12,10 @@
it "integrates the encryptor with xcode" do
Dir.mktmpdir do |dir|
FileUtils.cp_r 'spec/support/sample_project', dir
project_path = File.join dir, 'sample_project', 'TestProject', 'TestProject.xcodeproj'
podfile_path = File.join dir, 'sample_project', 'Podfile'
+ target_name = 'TestProject'
+
+ integrate_xcode
end
end