Skip to content

Commit

Permalink
tests(request-transformer) spec helpers usage (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
gszr authored Jun 20, 2018
1 parent 9bff596 commit f8e5a50
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions spec/02-access_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ describe("Plugin: request-transformer-advanced(access)", function()
})

assert(helpers.start_kong({
custom_plugins = "request-transformer-advanced",
nginx_conf = "spec/fixtures/custom_nginx.template",
}))
end)
Expand Down
1 change: 1 addition & 0 deletions spec/03-api_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe("Plugin: request-transformer-advanced(API)", function()
})

assert(helpers.start_kong({
custom_plugins = "request-transformer-advanced",
nginx_conf = "spec/fixtures/custom_nginx.template",
}))
admin_client = helpers.admin_client()
Expand Down
3 changes: 2 additions & 1 deletion spec/04-feature_flag_limit_body_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ describe("Plugin: request-transformer-advanced(feature_flags) ", function()
assert(helpers.start_kong({
nginx_conf = "spec/fixtures/custom_nginx.template",
feature_conf_path = "spec/fixtures/ee/feature_request_transformer_advanced_limit_body.conf",
enabled_plugins = "request-transformer-advanced"
enabled_plugins = "request-transformer-advanced",
custom_plugins = "request-transformer-advanced",
}))
end)

Expand Down

0 comments on commit f8e5a50

Please sign in to comment.