Skip to content

Commit

Permalink
Fix website_spec.rb spec descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AI-Mozi authored and postmodern committed Sep 1, 2024
1 parent 0bdd630 commit 23675fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/values/website_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
context "and the string starts with 'http://'" do
let(:scheme) { 'http' }

it "must return a Values::Website object with a 'http' scheme, host, and port of 443" do
it "must return a Values::Website object with a 'http' scheme, host, and port of 80" do
value = subject.parse(string)

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

it "must return true" do
it "must return false" do
expect(subject.eql?(other)).to be(false)
end
end

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

it "must return true" do
it "must return false" do
expect(subject.eql?(other)).to be(false)
end
end

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

it "must return true" do
it "must return false" do
expect(subject.eql?(other)).to be(false)
end
end
Expand Down

0 comments on commit 23675fe

Please sign in to comment.