it("should contain publicPath prefix in [url] and resolve relatively to fileContext", function() {
	var fs = require("fs"),
			path = require("path");
	var source = fs.readFileSync(path.join(__dirname, "public/test.js"), "utf-8");
	expect(source).toMatch("//# sourceMappingURL=https://10.10.10.10/project/sourcemaps/test.js.map");
});

it("should write sourcemap file relative to fileContext", function() {
	var fs = require("fs"),
			path = require("path");
	expect(fs.existsSync(path.join(__dirname, "sourcemaps/test.js.map"))).toBe(true);
});
