Skip to content

Commit

Permalink
fixups for config and add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atmos committed Aug 6, 2014
1 parent 00b6c50 commit fd86efa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"CAMO_KEY": {
"description": "The fully qualified domain name for camo to run on.",
"generator": "secret"
"generator": "secret",
"required": true
},
"CAMO_LENGTH_LIMIT": {
Expand Down
12 changes: 12 additions & 0 deletions test/app_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
require 'rubygems'
require 'json'
require 'test/unit'

class CamoAppTest < Test::Unit::TestCase
def test_heroku_app_json
app_file = File.expand_path("../../app.json", __FILE__)
assert_nothing_raised do
JSON.parse(File.read(app_file))
end
end
end

0 comments on commit fd86efa

Please sign in to comment.