Skip to content

Commit

Permalink
Clarify test names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Dec 12, 2013
1 parent 89d79d5 commit db454c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/controller.filters.before.data.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var Controller = require('../lib/controller')

describe('Controller#before', function() {

describe('filters declared above action, that use data arguments', function() {
describe('filters that pass data declared above action', function() {
var app = new MockApplication();
var controller = new Controller();
controller.order = [];
Expand Down Expand Up @@ -77,7 +77,7 @@ describe('Controller#before', function() {
});
});

describe('filters declared below action, that use data arguments', function() {
describe('filters that pass data declared below action', function() {
var app = new MockApplication();
var controller = new Controller();
controller.order = [];
Expand Down Expand Up @@ -147,7 +147,7 @@ describe('Controller#before', function() {
});
});

describe('filters for multiple actions, declared above action, that use data arguments', function() {
describe('filters that pass data, for multiple actions, declared above action', function() {
var app = new MockApplication();
var proto = new Controller();

Expand Down Expand Up @@ -296,7 +296,7 @@ describe('Controller#before', function() {
});
});

describe('filters for multiple actions, declared below action, that use data arguments', function() {
describe('filters that pass data, for multiple actions, declared below action', function() {
var app = new MockApplication();
var proto = new Controller();

Expand Down Expand Up @@ -445,7 +445,7 @@ describe('Controller#before', function() {
});
});

describe('filters for all actions declared above action, that use data arguments', function() {
describe('filters that pass data, for all actions, declared above action', function() {
var app = new MockApplication();
var proto = new Controller();

Expand Down Expand Up @@ -595,7 +595,7 @@ describe('Controller#before', function() {
});
});

describe('filters for all actions, declared below action, that use data arguments', function() {
describe('filters that pass data, for all actions, declared below action', function() {
var app = new MockApplication();
var proto = new Controller();

Expand Down Expand Up @@ -745,7 +745,7 @@ describe('Controller#before', function() {
});
});

describe('filter chain with data arguments that halts due to error', function() {
describe('filter chain passing data that halts due to error', function() {
var app = new MockApplication();
var controller = new Controller();
controller.order = [];
Expand Down Expand Up @@ -807,7 +807,7 @@ describe('Controller#before', function() {
});
});

describe('filter chain with data arguments that halts due to exception', function() {
describe('filter chain passing data that halts due to exception', function() {
var app = new MockApplication();
var controller = new Controller();
controller.order = [];
Expand Down

0 comments on commit db454c1

Please sign in to comment.