Skip to content

Commit

Permalink
merging with master and fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
subnetmarco committed May 20, 2015
1 parent 422cc8d commit af31b0e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion kong.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ plugins_available:
- tcplog
- udplog
- filelog
- httplog
- cors
- request_transformer
- httplog

## The Kong working directory
## (Make sure you have read and write permissions)
Expand Down
4 changes: 2 additions & 2 deletions spec/integration/cli/start_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ describe("CLI", function()
}
}

replace_conf_property("plugins_available", {"ssl", "keyauth", "basicauth", "tcplog", "udplog", "filelog", "request_transformer"})
replace_conf_property("plugins_available", {"ssl", "keyauth", "basicauth", "tcplog", "udplog", "filelog", "httplog", "request_transformer"})

assert.has_error(function()
spec_helper.start_kong(SERVER_CONF, true)
end, "You are using a plugin that has not been enabled in the configuration: ratelimiting")
end)

it("should work the used plugins are enabled", function()
replace_conf_property("plugins_available", {"ssl", "keyauth", "basicauth", "tcplog", "udplog", "filelog", "request_transformer", "ratelimiting", "cors"})
replace_conf_property("plugins_available", {"ssl", "keyauth", "basicauth", "tcplog", "udplog", "filelog", "httplog", "request_transformer", "ratelimiting", "cors"})

local _, exit_code = spec_helper.start_kong(SERVER_CONF, true)
assert.are.same(0, exit_code)
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/statics_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ plugins_available:
- tcplog
- udplog
- filelog
- httplog
- cors
- request_transformer
- httplog
## The Kong working directory
## (Make sure you have read and write permissions)
Expand Down

0 comments on commit af31b0e

Please sign in to comment.