Sha256: f8d1626858403985a123a8cad47004124714743d5ae56d41284b6aace545fd77

Contents?: true

Size: 378 Bytes

Versions: 10

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'plugin'

    it 'executes a Ruby script under the scope of the running plugin' do
        options.url = web_server_url_for(:framework)
        options.plugins[component_name] = { 'path' => fixtures_path + '/script_plugin.rb' }

        run
        actual_results.should == 'I\'m a script!'
    end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arachni-1.2.1 spec/components/plugins/script_spec.rb
arachni-1.2 spec/components/plugins/script_spec.rb
arachni-1.1 spec/components/plugins/script_spec.rb
arachni-1.0.6 spec/components/plugins/script_spec.rb
arachni-1.0.5 spec/components/plugins/script_spec.rb
arachni-1.0.4 spec/components/plugins/script_spec.rb
arachni-1.0.3 spec/components/plugins/script_spec.rb
arachni-1.0.2 spec/components/plugins/script_spec.rb
arachni-1.0.1 spec/components/plugins/script_spec.rb
arachni-1.0 spec/components/plugins/script_spec.rb