Skip to content

Commit

Permalink
Failing spec for Encryptor.update
Browse files Browse the repository at this point in the history
  • Loading branch information
kerryb committed Mar 24, 2013
1 parent ba515da commit 1942b0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/javascripts/dummy_spec.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe "Encryptor", ->
describe ".update", ->
it "sets the #encrypted-text element's value to the supplied data's text attribute", ->
window.Encryptor.update {text: "foo"}
expect($("#encrypted-text").val()).toEqual "foo"

0 comments on commit 1942b0c

Please sign in to comment.