Skip to content

Commit

Permalink
Move spec folder up so it can be shared.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdiamond committed Aug 13, 2013
1 parent 837f95b commit 6d006d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -1,3 +1,6 @@
[submodule "Nustache.Compilation.Tests/spec"] [submodule "Nustache.Compilation.Tests/spec"]
path = Nustache.Compilation.Tests/spec path = Nustache.Compilation.Tests/spec
url = https://github.com/mustache/spec.git url = https://github.com/mustache/spec.git
[submodule "spec"]
path = spec
url = https://github.com/mustache/spec.git
2 changes: 1 addition & 1 deletion Nustache.Compilation.Tests/Mustache_Spec/MustacheSpec.cs
Expand Up @@ -21,7 +21,7 @@ public class MustacheSpec


public MustacheSpec(string name) public MustacheSpec(string name)
{ {
rawSpecs = File.ReadAllText(String.Format("../../spec/specs/{0}.json", name)); rawSpecs = File.ReadAllText(String.Format("../../../spec/specs/{0}.json", name));
jsonSpecs = JObject.Parse(rawSpecs); jsonSpecs = JObject.Parse(rawSpecs);
this.Tests = jsonSpecs["tests"].ToArray(); this.Tests = jsonSpecs["tests"].ToArray();
this.StronglyTypedExamples = GetSpecs(this.Tests); this.StronglyTypedExamples = GetSpecs(this.Tests);
Expand Down

0 comments on commit 6d006d8

Please sign in to comment.