-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a list of all predefined colours available to formatting meth…
…ods. Fixes #179
- Loading branch information
1 parent
65896c3
commit a097135
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<cfscript> | ||
describe( "getPresetColorNames", function(){ | ||
it( "returns an alphabetical array of preset color names available for use in color formatting options", function() { | ||
expect( s.getPresetColorNames() ).toHaveLength( 48 ); | ||
expect( s.getPresetColorNames()[ 1 ] ).toBe( "AQUA" ); | ||
expect( s.getPresetColorNames()[ 48 ] ).toBe( "YELLOW" ); | ||
}); | ||
}); | ||
</cfscript> |