Sha256: 11f80a3353a9376896649ce6c37dd7b0001c7ac400f1efa184c0fd8a230fc59d

Contents?: true

Size: 120 Bytes

Versions: 25

Compression:

Stored size: 120 Bytes

Contents

RSpec::Matchers.define :have_windows_line_endings do
  match do |file|
    file.content.include?("\r\n")
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
octopus-serverspec-extensions-0.7.2 lib/octopus_serverspec_extensions/matcher/have_windows_line_endings.rb
octopus-serverspec-extensions-0.7.1 lib/octopus_serverspec_extensions/matcher/have_windows_line_endings.rb
octopus-serverspec-extensions-0.7.0 lib/octopus_serverspec_extensions/matcher/have_windows_line_endings.rb
octopus-serverspec-extensions-0.6.1 lib/octopus_serverspec_extensions/matcher/have_windows_line_endings.rb
octopus-serverspec-extensions-0.6.0 lib/octopus_serverspec_extensions/matcher/have_windows_line_endings.rb