Sha256: 7b690d662feea7accd980a28dba9847df9b2dbd999b9bb370dd3f92bd66c96fb
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
require 'spec_helper' describe XcodeprojUtils do it 'should have a version number' do XcodeprojUtils::VERSION.should_not be_nil end describe XcodeprojUtils::Project do it "raise RuntimeError for a non-existing project" do expect { XcodeprojUtils::Project.new('Non-existing.xcodeproj', 'Target1') }.to raise_error(RuntimeError) end it "raise ArgumentError for a non-existing target" do expect { XcodeprojUtils::Project.new(fixture_path('RSpecTest/RSpecTest.xcodeproj'), 'Non-Existing Target') }.to raise_error(ArgumentError) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xcodeproj_utils-0.1.2 | spec/xcodeproj_utils_spec.rb |