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
134f7bf6
authored
2012-07-21 16:12:50 -0700
by
Michael Richards
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove selected/unselected specs.
1 parent
6205d410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
32 deletions
spec/rivets/routines.js
spec/rivets/routines.js
View file @
134f7bf
...
...
@@ -134,36 +134,4 @@ describe('Routines', function() {
});
});
});
describe
(
'selected'
,
function
()
{
describe
(
'with a truthy value'
,
function
()
{
it
(
'selects the element'
,
function
()
{
rivets
.
routines
.
selected
(
el
,
true
);
expect
(
el
.
selected
).
toBe
(
true
);
});
});
describe
(
'with a falsey value'
,
function
()
{
it
(
'unselects the element'
,
function
()
{
rivets
.
routines
.
selected
(
el
,
false
);
expect
(
el
.
selected
).
toBe
(
false
);
});
});
});
describe
(
'unselected'
,
function
()
{
describe
(
'with a truthy value'
,
function
()
{
it
(
'unselects the element'
,
function
()
{
rivets
.
routines
.
unselected
(
el
,
true
);
expect
(
el
.
selected
).
toBe
(
false
);
});
});
describe
(
'with a falsey value'
,
function
()
{
it
(
'selects the element'
,
function
()
{
rivets
.
routines
.
unselected
(
el
,
false
);
expect
(
el
.
selected
).
toBe
(
true
);
});
});
});
});
...
...
Please
register
or
sign in
to post a comment