Skip to content

Commit c0c38b4

Browse files
committed
Fix website_spec.rb spec descriptions
1 parent 73eba0c commit c0c38b4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/values/website_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
context "and the string starts with 'http://'" do
6464
let(:scheme) { 'http' }
6565

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
6767
value = subject.parse(string)
6868

6969
expect(value).to be_kind_of(Ronin::Recon::Values::Website)
@@ -128,23 +128,23 @@
128128
context "but the other Website object has a different #scheme" do
129129
let(:other) { described_class.new('https',host,port) }
130130

131-
it "must return true" do
131+
it "must return false" do
132132
expect(subject.eql?(other)).to be(false)
133133
end
134134
end
135135

136136
context "but the other Website object has a different #host" do
137137
let(:other) { described_class.new(scheme,'other.com',port) }
138138

139-
it "must return true" do
139+
it "must return false" do
140140
expect(subject.eql?(other)).to be(false)
141141
end
142142
end
143143

144144
context "but the other Website object has a different #port" do
145145
let(:other) { described_class.new(scheme,host,8000) }
146146

147-
it "must return true" do
147+
it "must return false" do
148148
expect(subject.eql?(other)).to be(false)
149149
end
150150
end

0 commit comments

Comments
 (0)