Sha256: c4c75eeba7f374e6cb38672a88f2e7e2212112323f3b226a3d3056d979596276

Contents?: true

Size: 417 Bytes

Versions: 5

Compression:

Stored size: 417 Bytes

Contents

require 'bind/command_helpers'
require 'ostruct'

describe Bind do
  describe "Helpers" do
    
    describe "#expand_path" do
      it "should expand local files to an asolute path" do
        expand_path('History.rdoc').should include('bind/History.rdoc')
      end
      
      it "should leave uris as they are" do
        expand_path('http://foo.com').should == 'http://foo.com'
      end
    end
    
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
visionmedia-bind-0.2.4 spec/command_helper_spec.rb
visionmedia-bind-0.2.5 spec/command_helper_spec.rb
visionmedia-bind-0.2.6 spec/command_helper_spec.rb
bind-0.2.7 spec/command_helper_spec.rb
bind-0.2.6 spec/command_helper_spec.rb