summaryrefslogtreecommitdiff
path: root/web-ui/test
diff options
context:
space:
mode:
authorJefferson Stachelski <jeffhsta@riseup.net>2015-07-28 19:06:02 -0300
committerJefferson Stachelski <jeffhsta@riseup.net>2015-07-28 19:06:02 -0300
commit1754f695588d1b4f7235535c067fe375b658ad2c (patch)
treecb2187bc7b88a2805974eb4de721bb27436c3e22 /web-ui/test
parent3dfa4b9db8da54c1f64edb9bcb01ec0d4a1d3f70 (diff)
Removed unnecessary beforeEach
Diffstat (limited to 'web-ui/test')
-rw-r--r--web-ui/test/spec/mail_view/ui/draft_box.spec.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/web-ui/test/spec/mail_view/ui/draft_box.spec.js b/web-ui/test/spec/mail_view/ui/draft_box.spec.js
index 03098018..be3b4039 100644
--- a/web-ui/test/spec/mail_view/ui/draft_box.spec.js
+++ b/web-ui/test/spec/mail_view/ui/draft_box.spec.js
@@ -24,11 +24,8 @@ describeComponent('mail_view/ui/draft_box', function () {
});
describe('after initialize', function () {
- beforeEach(function () {
- this.setupComponent({mailIdent: '1'});
- });
-
it('renders the compose box when mail is received', function () {
+ this.setupComponent({mailIdent: '1'});
var templates = require('views/templates');
spyOn(this.component, 'render');