Sha256: 52670097ca1f2da73be35ba5d290b7946e1601f230750d17053158d0eadeb2c6

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

require 'ronin/exploits/mixins/loot'

require 'ronin/exploits/exploit'

describe Ronin::Exploits::Mixins::Loot do
  module TestLootMixin
    class TestExploit < Ronin::Exploits::Exploit
      include Ronin::Exploits::Mixins::Loot
    end
  end

  let(:exploit_class) { TestLootMixin::TestExploit }
  subject { exploit_class.new }

  describe "#initialize" do
    it "must initialize #loot to a Ronin::Exploits::Loot object" do
      expect(subject.loot).to be_kind_of(Ronin::Exploits::Loot)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ronin-exploits-1.0.0.beta2 spec/mixins/loot_spec.rb
ronin-exploits-1.0.0.beta1 spec/mixins/loot_spec.rb