start on specs for configure command

This commit is contained in:
josh committed 2018-11-03 23:19:54 -04:00
1 parent 9bd9abcad1
commit 5288a47bfb
2 files changed
+11

No files matched your search

+1
View File
@@ -0,0 +1 @@
check_c_compiler "gcc"
+10
View File
@@ -1481,4 +1481,14 @@ EOF
expect(result.status).to_not eq 0
end
end
context "configure" do
it "raises a method not found error for configure methods called outside a configure block" do
test_dir "configure"
result = run_rscons(rsconsfile: "scope.rb")
expect(result.stderr).to match /NoMethodError/
expect(result.status).to_not eq 0
end
end
end