add Environment#add_target and use it from Environment#method_missing

This commit is contained in:
josh committed 2014-03-26 11:29:02 -04:00
1 parent 92a9982988
commit b2c970c9ca
2 files changed
+15 -11

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ module Rscons
target = env.instance_variable_get(:@targets)["target"]
target.should_not be_nil
target[:builder].is_a?(Builder).should be_true
target[:source].should == ["src1", "src2"]
target[:sources].should == ["src1", "src2"]
target[:vars].should == {var: "val"}
target[:args].should == []
end