fix spec, mustache scoping issue in partial.
This commit is contained in:
parent
7d60d96132
commit
fafa74a222
2 changed files with 1 additions and 10 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<a href="#" class="stream-photo-link">
|
||||
{{#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}}
|
||||
</a>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in a new issue