Pre-creation of actual test

1333_auth_rate - multiple cyles of api auth requests at different
speeds.
Fast auth attempts should block
Solwer attempts, when valid should succeed

	modified:   Rakefile
	renamed:    test/api/beef_rest.rb -> test/api/1333_auth_rate.rb
This commit is contained in:
Bucky Wilson
2017-12-12 12:23:31 +10:00
parent 8c8dd6c9c3
commit c13a011cd8
2 changed files with 18 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ desc 'rest test examples'
task :rest_test do
Rake::Task['beef_start'].invoke
sh 'cd test/api/; ruby -W2 beef_rest.rb"
sh 'cd test/api/; ruby -W2 1333_auth_rate.rb'
Rake::Task['beef_stop'].invoke
end