Sha256: 469f48856051e7b7d450e2c564e85afbea5bf15946280bc69f3eec6d4a9f38aa

Contents?: true

Size: 363 Bytes

Versions: 29

Compression:

Stored size: 363 Bytes

Contents

require 'rib/test'
require 'rib/core/completion'

describe Rib::Completion do
  behaves_like :rib

  before do
    @completion = Class.new do
      include Rib::Completion
    end.new
  end

  should 'find correct ripl plugins' do
    $LOADED_FEATURES << '/dir/ripl/some_plugin.rb'
    @completion.send(:ripl_plugins).should.eq ['ripl/some_plugin.rb']
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
rib-1.2.5 test/core/test_completion.rb
rib-1.2.4 test/core/test_completion.rb
rib-1.2.3 test/core/test_completion.rb
rib-1.2.2 test/core/test_completion.rb
rib-1.2.1 test/core/test_completion.rb
rib-1.2.0 test/core/test_completion.rb
rib-1.1.6 test/core/test_completion.rb
rib-1.1.5 test/core/test_completion.rb
rib-1.1.4 test/core/test_completion.rb
rib-1.1.3 test/core/test_completion.rb
rib-1.1.2 test/core/test_completion.rb
rib-1.1.1 test/core/test_completion.rb
rib-1.1.0 test/core/test_completion.rb
rib-1.0.5 test/core/test_completion.rb
rib-1.0.4 test/core/test_completion.rb
rib-1.0.3 test/core/test_completion.rb
rib-1.0.2 test/core/test_completion.rb
rib-1.0.1 test/core/test_completion.rb
rib-1.0.0 test/core/test_completion.rb
rib-0.9.9 test/core/test_completion.rb