lib/aruba/matchers/path/have_permissions.rb in aruba-1.0.4 vs lib/aruba/matchers/path/have_permissions.rb in aruba-1.1.0

- old
+ new

@@ -1,6 +1,6 @@ -require 'rspec/expectations/version' +require "rspec/expectations/version" # @!method have_permissions(permissions) # This matchers checks if <file> or <directory> has <perm> permissions # # @param [Fixnum, String] permissions @@ -41,10 +41,10 @@ @expected = case expected when Integer expected.to_s(8) when String - expected.gsub(/^0*/, '') + expected.gsub(/^0*/, "") else expected end values_match? @expected, @actual