Sha256: 169ef6ba3ac7c825b58023f5aca92718c14aa126f4c4091779b66e701d8d6ac5

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

require 'spec_helper'
require 'gobuster/s3_bucket'

describe Gobuster::S3Bucket do
  let(:url) { 'http://test.s3.amazonaws.com/' }

  subject { described_class.new(url) }

  describe "#initialize" do
    it "must set #url" do
      expect(subject.url).to eq(url)
    end
  end

  describe "#to_s" do
    it "must return #url" do
      expect(subject.to_s).to eq(url)
    end
  end

  describe "#to_str" do
    it "must return #url" do
      expect(subject.to_str).to eq(url)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-gobuster-0.1.0 spec/s3_bucket_spec.rb