Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
rivets
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
850e478e
authored
2013-10-16 18:56:53 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove spec for #38 (feature regressed).
1 parent
3a149eea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
spec/rivets/binding.js
spec/rivets/binding.js
View file @
850e478
...
...
@@ -258,12 +258,6 @@ describe('Rivets.Binding', function() {
expect
(
binding
.
formattedValue
(
'hat'
)).
toBe
(
'awesome hat'
);
});
it
(
'uses formatters on the model'
,
function
()
{
model
.
modelAwesome
=
function
(
value
)
{
return
'model awesome '
+
value
;
};
binding
.
formatters
.
push
(
'modelAwesome'
);
expect
(
binding
.
formattedValue
(
'hat'
)).
toBe
(
'model awesome hat'
);
});
describe
(
'with a multi-argument formatter string'
,
function
()
{
beforeEach
(
function
()
{
view
.
formatters
.
awesome
=
function
(
value
,
prefix
)
{
...
...
Please
register
or
sign in
to post a comment