Skip to content

Commit

Permalink
use setLocale helper method in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
makeusabrew committed Feb 22, 2015
1 parent 150bdda commit f9e368f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/locales.test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ describe "bootbox locales", ->
beforeEach ->

@setLocale = (locale) ->
bootbox.setDefaults locale: locale
bootbox.setLocale locale

d1 = bootbox.alert "foo"
d2 = bootbox.confirm "foo", -> true
Expand Down

0 comments on commit f9e368f

Please sign in to comment.