File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 63
63
context "and the string starts with 'http://'" do
64
64
let ( :scheme ) { 'http' }
65
65
66
- it "must return a Values::Website object with a 'http' scheme, host, and port of 443 " do
66
+ it "must return a Values::Website object with a 'http' scheme, host, and port of 80 " do
67
67
value = subject . parse ( string )
68
68
69
69
expect ( value ) . to be_kind_of ( Ronin ::Recon ::Values ::Website )
128
128
context "but the other Website object has a different #scheme" do
129
129
let ( :other ) { described_class . new ( 'https' , host , port ) }
130
130
131
- it "must return true " do
131
+ it "must return false " do
132
132
expect ( subject . eql? ( other ) ) . to be ( false )
133
133
end
134
134
end
135
135
136
136
context "but the other Website object has a different #host" do
137
137
let ( :other ) { described_class . new ( scheme , 'other.com' , port ) }
138
138
139
- it "must return true " do
139
+ it "must return false " do
140
140
expect ( subject . eql? ( other ) ) . to be ( false )
141
141
end
142
142
end
143
143
144
144
context "but the other Website object has a different #port" do
145
145
let ( :other ) { described_class . new ( scheme , host , 8000 ) }
146
146
147
- it "must return true " do
147
+ it "must return false " do
148
148
expect ( subject . eql? ( other ) ) . to be ( false )
149
149
end
150
150
end
You can’t perform that action at this time.
0 commit comments