Sha256: 68d08db9d81933ffcfaf15d4cf4b4ceceabe893b509ef1df9bf679d11b8b245e

Contents?: true

Size: 367 Bytes

Versions: 44

Compression:

Stored size: 367 Bytes

Contents

require File.expand_path("../../../base", __FILE__)

require "vagrant/util/line_ending_helpers"

describe Vagrant::Util::LineEndingHelpers do
  let(:klass) do
    Class.new do
      extend Vagrant::Util::LineEndingHelpers
    end
  end

  it "should convert DOS to unix-style line endings" do
    klass.dos_to_unix("foo\r\nbar\r\n").should == "foo\nbar\n"
  end
end

Version data entries

44 entries across 44 versions & 11 rubygems

Version Path
tamtam-vagrant-reload-1.1.3 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/util/line_endings_helper_test.rb
tamtam-vagrant-reload-1.1.2 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/util/line_endings_helper_test.rb
tamtam-vagrant-reload-1.1.1 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/util/line_endings_helper_test.rb
tamtam-vagrant-reload-1.1 vendor/cache/vagrant-0ac2a8738841/test/unit/vagrant/util/line_endings_helper_test.rb
bmhatfield-vagrant-1.0.10 test/unit/vagrant/util/line_endings_helper_test.rb
bmhatfield-vagrant-1.0.9 test/unit/vagrant/util/line_endings_helper_test.rb
tnargav-1.3.6 test/unit/vagrant/util/line_endings_helper_test.rb
tnargav-1.3.3 test/unit/vagrant/util/line_endings_helper_test.rb
bmhatfield-vagrant-1.0.8 test/unit/vagrant/util/line_endings_helper_test.rb
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/line_endings_helper_test.rb
tnargav-1.2.3 test/unit/vagrant/util/line_endings_helper_test.rb
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/tnargav-1.2.2/test/unit/vagrant/util/line_endings_helper_test.rb
bmhatfield-vagrant-1.0.7 test/unit/vagrant/util/line_endings_helper_test.rb
vagrant-shell-0.2.6 vendor/bundle/gems/tnargav-1.2.2/test/unit/vagrant/util/line_endings_helper_test.rb
vagrant-shell-0.2.5 vendor/bundle/gems/tnargav-1.2.2/test/unit/vagrant/util/line_endings_helper_test.rb
tnargav-1.2.2 test/unit/vagrant/util/line_endings_helper_test.rb
vagrantup-1.1.3 test/unit/vagrant/util/line_endings_helper_test.rb
vagrantup-1.1.2 test/unit/vagrant/util/line_endings_helper_test.rb
vagrantup-1.1.1 test/unit/vagrant/util/line_endings_helper_test.rb
vagrantup-1.1.0 test/unit/vagrant/util/line_endings_helper_test.rb