Sha256: 378639112545ae1b91123ad86b6f305b396bad3747a031a35755fa8f0c9974ab
Contents?: true
Size: 542 Bytes
Versions: 20
Compression:
Stored size: 542 Bytes
Contents
require File.join(File.dirname(__FILE__), %w[.. .. .. spec_helper]) describe SC::Target, 'parent_target' do include SC::SpecHelpers before do @project = fixture_project(:real_world) end it "should return next direct parent when nested" do target = @project.target_for('sproutcore/costello') target.parent_target.should eql(@project.target_for(:sproutcore)) end it "should return project if top-level" do target = @project.target_for(:sproutcore) target.parent_target.should eql(@project) end end
Version data entries
20 entries across 20 versions & 2 rubygems