spec/musterb/template_handler_spec.rb in musterb-1.0.0 vs spec/musterb/template_handler_spec.rb in musterb-1.0.1
- old
+ new
@@ -45,9 +45,9 @@
foo = "bye"
evaluate("{{foo}}", binding, :locals => ["foo"]).should eq "bye"
end
it "can set the initial context to a hash" do
- initial_context = 2
- evaluate("{{to_s}}", binding, :locals => ["initial_context"]).should eq "2"
+ mustache = 2
+ evaluate("{{to_s}}", binding, :locals => ["mustache"]).should eq "2"
end
end