1
0
Fork 0

[#25] Moved MemberBuilderValidator/MethodTest's helper functions into caseSetUp()

closure/master
Mike Gerwitz 2011-10-22 16:49:51 -04:00
parent 2da2247c86
commit 9fe26e7582
1 changed files with 7 additions and 3 deletions

View File

@ -24,12 +24,10 @@
require( 'common' ).testCase(
{
setUp: function()
caseSetUp: function()
{
var _self = this;
this.sut = this.require( 'MemberBuilderValidator' )();
/**
* Tests to ensure that a method with the given keywords fails
* validation with an error message partially matching the provided
@ -145,6 +143,12 @@ require( 'common' ).testCase(
},
setUp: function()
{
this.sut = this.require( 'MemberBuilderValidator' )();
},
/**
* Private, abstract methods do not make sense. Private methods cannot be
* overridden.