diaspora/spec/javascripts/app/views/small_frame_view_spec.js
danielgrippi ab7ac667d8 only focus on photos for now with ratios. one thing at a time, yo.
i've temporarily removed all the arbitrary text switching for now (which is still in version control // which we will get to later)
also moved photo dimensions into a dimensions hash in photo.rb.
2012-04-21 20:42:50 -07:00

21 lines
No EOL
561 B
JavaScript

describe("app.views.SmallFrame", function(){
beforeEach(function(){
this.model = factory.post({
photos : [
factory.photoAttrs({sizes : {large : "http://tieguy.org/me.jpg"}}),
factory.photoAttrs({sizes : {large : "http://whatthefuckiselizabethstarkupto.com/none_knows.gif"}}) //SIC
]
})
this.view = new app.views.SmallFrame({model : this.model})
})
describe("rendering", function(){
beforeEach(function(){
this.view.render()
});
})
describe("photos", function() {
// ratio pending...
})
});