Sha256: 12a9246400d8a96a626c507588732dcd87d2da191df4fdae19822a7df9bb213b

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

require_relative '../spec_helper'

describe name_from_filename do
    include_examples 'plugin'

    it 'executes a Ruby script under the scope of the running plugin' do
        options.plugins[name_from_filename] = { 'path' => spec_path + 'fixtures/script_plugin.rb' }

        run
        results_for( name_from_filename ).should == 'I\'m a script!'
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arachni-0.4.2 spec/plugins/script_spec.rb