2016-09-22 23:37:12 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
describe("Fixtures", function() {
|
|
|
|
before(function(done) {
|
2016-09-24 03:15:47 +00:00
|
|
|
Whisper.Fixtures.saveAll().then(function() {
|
|
|
|
done();
|
|
|
|
});
|
2016-09-22 23:37:12 +00:00
|
|
|
});
|
|
|
|
it('renders', function(done) {
|
|
|
|
ConversationController.updateInbox().then(function() {
|
|
|
|
var view = new Whisper.InboxView({appWindow: {contentWindow: window}});
|
|
|
|
view.$el.prependTo($('#render-android'));
|
|
|
|
|
|
|
|
var view = new Whisper.InboxView({appWindow: {contentWindow: window}});
|
|
|
|
view.$el.removeClass('android').addClass('ios');
|
|
|
|
view.$el.prependTo($('#render-ios'));
|
|
|
|
}).then(done,done);
|
|
|
|
});
|
|
|
|
});
|