Skip to content

Commit

Permalink
Fixing dependency graph and spec test.
Browse files Browse the repository at this point in the history
  • Loading branch information
anutron committed Oct 13, 2011
1 parent 51c6a8c commit ea7a2fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Delegators/Delegator.FxReveal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
---
description: Provides methods to reveal, dissolve, nix, and toggle using Fx.Reveal.
provides: [Delegator.Reveal, Delegator.ToggleReveal, Delegator.Dissolve, Delegator.Nix]
provides: [Delegator.FxReveal, Delegator.Reveal, Delegator.ToggleReveal, Delegator.Dissolve, Delegator.Nix]
requires: [Behavior/Delegator, More/Fx.Reveal]
script: Delegator.FxReveal.js
name: Delegator.FxReveal
Expand Down
4 changes: 2 additions & 2 deletions Tests/Specs/more-behaviors/Delegators/Delegator.SubmitLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
name: Delegator.SubmitLink Tests
description: n/a
requires: [More-Behaviors/Delegator.SubmitLink, More/Form.Request]
requires: [More-Behaviors/Delegator.SubmitLink, More/Form.Request, Core/JSON]
provides: [Delegator.SubmitLink.Tests]
...
*/
Expand All @@ -26,7 +26,7 @@ provides: [Delegator.SubmitLink.Tests]
del.trigger('submitLink', link, 'click');
waits(500);
runs(function(){
expect(div.get('html')).toBe('{"post_response": {"foo": "bar", "one": "1"}, "get_response": {}}');
expect(JSON.decode(div.get('html'))).toEqual({"post_response": {"foo": "bar", "one": "1"}, "get_response": {}});
});
});
});
Expand Down

0 comments on commit ea7a2fc

Please sign in to comment.