Sha256: bda3af086d19315d71d970ca705b113acde3d15082fd20f822bfe5e1687546e1
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 Bytes
Contents
require 'spec_helper' require 'gobuster/hostname' describe Gobuster::Hostname do let(:name) { 'www.example.com' } subject { described_class.new(name) } describe "#initialize" do it "must set #name" do expect(subject.name).to eq(name) end end describe "#to_s" do it "must return #name" do expect(subject.to_s).to eq(name) end end describe "#to_str" do it "must return #name" do expect(subject.to_str).to eq(name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-gobuster-0.1.0 | spec/hostname_spec.rb |