Skip to content

Commit 5e2634f

Browse files
author
Tod Beardsley
committed
Merge the rest of rapid7#1765
This merge and commit f2838ee is for both. I was a little quick on the draw for the last merge, didn't catch the latest commit.
2 parents f2838ee + a12dbba commit 5e2634f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/lib/rex/proto/http/client_request_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
shared_context "with no evasions" do
7-
before(:all) do
7+
before(:each) do
88
client_request.opts['uri_dir_self_reference'] = false
99
client_request.opts['uri_fake_params_start'] = false
1010
client_request.opts['uri_full_url'] = false
@@ -17,7 +17,7 @@
1717

1818

1919
shared_context "with 'uri_dir_self_reference'" do
20-
before(:all) do
20+
before(:each) do
2121
client_request.opts['uri_dir_self_reference'] = true
2222
end
2323

@@ -29,7 +29,7 @@
2929

3030

3131
shared_context "with 'uri_dir_fake_relative'" do
32-
before(:all) do
32+
before(:each) do
3333
client_request.opts['uri_dir_fake_relative'] = true
3434
end
3535

@@ -43,7 +43,7 @@
4343

4444
shared_context "with 'uri_full_url'" do
4545

46-
before(:all) do
46+
before(:each) do
4747
client_request.opts['uri_full_url'] = true
4848
end
4949

0 commit comments

Comments
 (0)