fix spec, mustache scoping issue in partial.

This commit is contained in:
danielgrippi 2012-02-05 21:23:45 -08:00
parent 7d60d96132
commit fafa74a222
2 changed files with 1 additions and 10 deletions

View file

@ -3,7 +3,7 @@
<a href="#" class="stream-photo-link"> <a href="#" class="stream-photo-link">
{{#with largePhoto}} {{#with largePhoto}}
<img src="{{sizes.large}}" class="stream-photo big_stream_photo" data-small-photo="{{sizes.small}}" data-full-photo="{{largePhoto.sizes.large}}" rel="lightbox"> <img src="{{sizes.large}}" class="stream-photo big_stream_photo" data-small-photo="{{sizes.small}}" data-full-photo="{{sizes.large}}" rel="lightbox">
{{/with}} {{/with}}
</a> </a>

View file

@ -1,9 +0,0 @@
require "spec_helper"
describe "template generation" do
it "generates templates", :fixture => true do
extend JasmineFixtureGeneration
templates = Haml::Engine.new(Rails.root.join("app", "views", "layouts", "_templates.haml").read).render
save_fixture(templates, "underscore_templates")
end
end