Sha256: 46c6e48ad11df1679bd702599aa1ac0bd2537c658d130dd70fcc80f07ff632cc
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
require 'spec_helper' require 'ronin/fuzzing/fuzzing' describe Fuzzing do describe "[]" do let(:method) { :bad_strings } it "should return Enumerators for fuzzing methods" do expect(subject[method]).to be_kind_of(Enumerable) end it "should raise NoMethodError for unknown methods" do expect { subject[:foo] }.to raise_error(NoMethodError) end it "should not allow accessing inherited methods" do expect { subject[:instance_eval] }.to raise_error(NoMethodError) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-support-0.5.2 | spec/fuzzing/fuzzing_spec.rb |