diff options
Diffstat (limited to 'spec/ruby/library/etc')
-rw-r--r-- | spec/ruby/library/etc/endgrent_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/etc/endpwent_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/etc/getgrent_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/etc/getgrgid_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/getgrnam_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/getlogin_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/getpwent_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/etc/getpwnam_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/getpwuid_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/group_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/etc/nprocessors_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/struct_group_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/etc/struct_passwd_spec.rb | 2 |
13 files changed, 18 insertions, 18 deletions
diff --git a/spec/ruby/library/etc/endgrent_spec.rb b/spec/ruby/library/etc/endgrent_spec.rb index 4b9fd0d017..88de231d87 100644 --- a/spec/ruby/library/etc/endgrent_spec.rb +++ b/spec/ruby/library/etc/endgrent_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/windows', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/windows' require 'etc' describe "Etc.endgrent" do diff --git a/spec/ruby/library/etc/endpwent_spec.rb b/spec/ruby/library/etc/endpwent_spec.rb index 8875f4387d..e4e564d251 100644 --- a/spec/ruby/library/etc/endpwent_spec.rb +++ b/spec/ruby/library/etc/endpwent_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/windows', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/windows' require 'etc' describe "Etc.endpwent" do diff --git a/spec/ruby/library/etc/getgrent_spec.rb b/spec/ruby/library/etc/getgrent_spec.rb index f0031b17ad..45a4442262 100644 --- a/spec/ruby/library/etc/getgrent_spec.rb +++ b/spec/ruby/library/etc/getgrent_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/windows', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/windows' require 'etc' describe "Etc.getgrent" do diff --git a/spec/ruby/library/etc/getgrgid_spec.rb b/spec/ruby/library/etc/getgrgid_spec.rb index 9b6b283d52..b5e4132de8 100644 --- a/spec/ruby/library/etc/getgrgid_spec.rb +++ b/spec/ruby/library/etc/getgrgid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' platform_is :windows do diff --git a/spec/ruby/library/etc/getgrnam_spec.rb b/spec/ruby/library/etc/getgrnam_spec.rb index 46193f49d6..3fe94ed5f5 100644 --- a/spec/ruby/library/etc/getgrnam_spec.rb +++ b/spec/ruby/library/etc/getgrnam_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' platform_is :windows do diff --git a/spec/ruby/library/etc/getlogin_spec.rb b/spec/ruby/library/etc/getlogin_spec.rb index f5da1039f5..7a4fd79ae2 100644 --- a/spec/ruby/library/etc/getlogin_spec.rb +++ b/spec/ruby/library/etc/getlogin_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' describe "Etc.getlogin" do diff --git a/spec/ruby/library/etc/getpwent_spec.rb b/spec/ruby/library/etc/getpwent_spec.rb index 635aa8a478..9a911aed8f 100644 --- a/spec/ruby/library/etc/getpwent_spec.rb +++ b/spec/ruby/library/etc/getpwent_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/windows', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/windows' require 'etc' describe "Etc.getpwent" do diff --git a/spec/ruby/library/etc/getpwnam_spec.rb b/spec/ruby/library/etc/getpwnam_spec.rb index 8610b5da91..2062ee51aa 100644 --- a/spec/ruby/library/etc/getpwnam_spec.rb +++ b/spec/ruby/library/etc/getpwnam_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' platform_is :windows do diff --git a/spec/ruby/library/etc/getpwuid_spec.rb b/spec/ruby/library/etc/getpwuid_spec.rb index f1c7218c0b..3f6866ddc6 100644 --- a/spec/ruby/library/etc/getpwuid_spec.rb +++ b/spec/ruby/library/etc/getpwuid_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' platform_is :windows do diff --git a/spec/ruby/library/etc/group_spec.rb b/spec/ruby/library/etc/group_spec.rb index 62596398e1..1524454333 100644 --- a/spec/ruby/library/etc/group_spec.rb +++ b/spec/ruby/library/etc/group_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/windows', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/windows' require 'etc' describe "Etc.group" do diff --git a/spec/ruby/library/etc/nprocessors_spec.rb b/spec/ruby/library/etc/nprocessors_spec.rb index 2a22aaafdf..ec7ffc81da 100644 --- a/spec/ruby/library/etc/nprocessors_spec.rb +++ b/spec/ruby/library/etc/nprocessors_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' describe "Etc.nprocessors" do diff --git a/spec/ruby/library/etc/struct_group_spec.rb b/spec/ruby/library/etc/struct_group_spec.rb index c33a177a98..030692116a 100644 --- a/spec/ruby/library/etc/struct_group_spec.rb +++ b/spec/ruby/library/etc/struct_group_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' describe "Struct::Group" do diff --git a/spec/ruby/library/etc/struct_passwd_spec.rb b/spec/ruby/library/etc/struct_passwd_spec.rb index 3e4bfee828..93ad9dfa2a 100644 --- a/spec/ruby/library/etc/struct_passwd_spec.rb +++ b/spec/ruby/library/etc/struct_passwd_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'etc' describe "Struct::Passwd" do |