bin/rest-assured in rest-assured-0.3.2 vs bin/rest-assured in rest-assured-1.0.0.rc1
- old
+ new
@@ -49,12 +49,12 @@
opts.on('-l', '--logfile FILENAME', "Path to logfile. Defaults to ./rest-assured.log") do |logfile|
user_opts[:logfile] = logfile
end
- opts.on('--ssl', "Whether or not to run on https. Defaults to false (http)") do |use_ssl|
- user_opts[:use_ssl] = true
+ opts.on('--ssl', "Whether or not to run on https. Defaults to false (http)") do
+ user_opts[:ssl] = true
end
opts.on('-c', '--ssl_cert FILENAME', "Path to ssl_cert. Defaults to self signed certificate shipped with rest-assured") do |ssl_cert|
user_opts[:ssl_cert] = ssl_cert
end
@@ -69,7 +69,7 @@
end
end.parse!
RestAssured::Config.build(user_opts)
-require 'rest-assured'
+require 'rest-assured/application'
RestAssured::Application.run!