Sha256: 67449ffdb999ed20df630299b223c8b1cd8dba119f7fd56057515ba701a64734

Contents?: true

Size: 368 Bytes

Versions: 1

Compression:

Stored size: 368 Bytes

Contents

require File.expand_path('../motion_stub.rb', __FILE__)
require 'bubble-wrap'

describe BubbleWrap do
  describe '.root' do
    it 'returns an absolute path' do
      BubbleWrap.root[0].should == '/'
    end
  end

  describe '.require' do
    it 'delegates to Requirement.scan' do
      BW::Requirement.should_receive(:scan)
      BW.require('foo')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bubble-wrap-0.4.0 lib_spec/bubble-wrap_spec.rb