Sha256: c4f74dd55421a60d784a2ee5fb13ae4f5a287d195ebb208fa4f7ab5f5260791f
Contents?: true
Size: 857 Bytes
Versions: 65
Compression:
Stored size: 857 Bytes
Contents
require "spec_helper" describe SC::Target, 'config' do include SC::SpecHelpers before do @project = fixture_project(:real_world) end it "should pickup global config setting when target does not override" do # required property is defined in real_world/Buildfile @target = @project.target_for :contacts @target.config.required.should eql(:sproutcore) end it "should pickup config setting overidden in target's Buildfile config" do # define in real_world/frameworks/sproutcore/Buildfile @target = @project.target_for :sproutcore @target.config.required.should eql(:desktop) end it "should pickup config from parent buildfiles" do # define in real_world/frameworks/sproutcore/Buildfile @target = @project.target_for 'sproutcore/foundation' @target.config.required.should eql(:costello) end end
Version data entries
65 entries across 65 versions & 1 rubygems