Sha256: 8a01daf90c66553fa101ef97dd146033c71a57d57276eee81b13f3f8b340bf6f

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

require_relative '../spec_helper'

describe name_from_filename do
    include_examples 'plugin'

    it 'should execute 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

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.4.1.3 spec/plugins/script_spec.rb
arachni-0.4.1.2 spec/plugins/script_spec.rb
arachni-0.4.1.1 spec/plugins/script_spec.rb
arachni-0.4.1 spec/plugins/script_spec.rb