Sha256: caab576b45a11c4bbca468006b0851dc902f1a86b154d2f770c3480553263002

Contents?: true

Size: 355 Bytes

Versions: 10

Compression:

Stored size: 355 Bytes

Contents

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

describe Rib::Completion do
  paste :rib

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

  would '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

10 entries across 10 versions & 1 rubygems

Version Path
rib-1.5.1 test/core/test_completion.rb
rib-1.5.0 test/core/test_completion.rb
rib-1.4.0 test/core/test_completion.rb
rib-1.3.1 test/core/test_completion.rb
rib-1.3.0 test/core/test_completion.rb
rib-1.2.91 test/core/test_completion.rb
rib-1.2.9 test/core/test_completion.rb
rib-1.2.8 test/core/test_completion.rb
rib-1.2.7 test/core/test_completion.rb
rib-1.2.6 test/core/test_completion.rb