Skip to content

Commit

Permalink
Fixed specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
shajith committed May 25, 2011
1 parent 277d5ac commit 495261a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/CreationSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ describe('A Flapjack', function() {
$list = $('#cheeses').flapjack();
flapjack = $list.data('flapjack');
menu = $list.data('menu');
$input = $list.prevAll('input[type="text"]').first();
$button = $list.prevAll('button').first();
$input = $list.prev().find('input[type="text"]').first();
$button = $list.prev().find('button').first();
});

it('should have a reference to the list', function() {
Expand Down

0 comments on commit 495261a

Please sign in to comment.