raise error if user constructs an Environment before configuration is complete

This commit is contained in:
josh committed 2019-04-14 20:45:31 -04:00
1 parent 3115e55739
commit 787b3249a7
4 files changed
+10 -7

No files matched your search

+4
View File
@@ -1,5 +1,9 @@
module Rscons
describe Environment do
before(:each) do
Cache.instance["configuration_data"] = {"configured" => true}
end
describe "#initialize" do
it "adds the default builders when they are not excluded" do
env = Environment.new