diff options
Diffstat (limited to 'spec/ruby/library/digest/sha384')
-rw-r--r-- | spec/ruby/library/digest/sha384/append_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/block_length_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/digest_bang_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/digest_length_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/digest_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/equal_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/file_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/hexdigest_bang_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/hexdigest_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/inspect_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/length_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/reset_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/size_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/to_s_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/digest/sha384/update_spec.rb | 6 |
15 files changed, 35 insertions, 35 deletions
diff --git a/spec/ruby/library/digest/sha384/append_spec.rb b/spec/ruby/library/digest/sha384/append_spec.rb index 6849bd0a9c..2bc0c5b90b 100644 --- a/spec/ruby/library/digest/sha384/append_spec.rb +++ b/spec/ruby/library/digest/sha384/append_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) -require File.expand_path('../shared/update', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' +require_relative 'shared/update' describe "Digest::SHA384#<<" do it_behaves_like :sha384_update, :<< diff --git a/spec/ruby/library/digest/sha384/block_length_spec.rb b/spec/ruby/library/digest/sha384/block_length_spec.rb index 070715b27e..a257825966 100644 --- a/spec/ruby/library/digest/sha384/block_length_spec.rb +++ b/spec/ruby/library/digest/sha384/block_length_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#block_length" do diff --git a/spec/ruby/library/digest/sha384/digest_bang_spec.rb b/spec/ruby/library/digest/sha384/digest_bang_spec.rb index 83b68ae7c2..8711913deb 100644 --- a/spec/ruby/library/digest/sha384/digest_bang_spec.rb +++ b/spec/ruby/library/digest/sha384/digest_bang_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#digest!" do diff --git a/spec/ruby/library/digest/sha384/digest_length_spec.rb b/spec/ruby/library/digest/sha384/digest_length_spec.rb index a57616b44c..be0f041f6a 100644 --- a/spec/ruby/library/digest/sha384/digest_length_spec.rb +++ b/spec/ruby/library/digest/sha384/digest_length_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#digest_length" do diff --git a/spec/ruby/library/digest/sha384/digest_spec.rb b/spec/ruby/library/digest/sha384/digest_spec.rb index 3a5cd3a5d7..d0e2825934 100644 --- a/spec/ruby/library/digest/sha384/digest_spec.rb +++ b/spec/ruby/library/digest/sha384/digest_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#digest" do diff --git a/spec/ruby/library/digest/sha384/equal_spec.rb b/spec/ruby/library/digest/sha384/equal_spec.rb index a54d328edc..1c18f48923 100644 --- a/spec/ruby/library/digest/sha384/equal_spec.rb +++ b/spec/ruby/library/digest/sha384/equal_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#==" do diff --git a/spec/ruby/library/digest/sha384/file_spec.rb b/spec/ruby/library/digest/sha384/file_spec.rb index 7e7c8f9565..376d819040 100644 --- a/spec/ruby/library/digest/sha384/file_spec.rb +++ b/spec/ruby/library/digest/sha384/file_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) -require File.expand_path('../../../../core/file/shared/read', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' +require_relative '../../../core/file/shared/read' describe "Digest::SHA384.file" do diff --git a/spec/ruby/library/digest/sha384/hexdigest_bang_spec.rb b/spec/ruby/library/digest/sha384/hexdigest_bang_spec.rb index 68da8c7200..8efceec3eb 100644 --- a/spec/ruby/library/digest/sha384/hexdigest_bang_spec.rb +++ b/spec/ruby/library/digest/sha384/hexdigest_bang_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#hexdigest!" do diff --git a/spec/ruby/library/digest/sha384/hexdigest_spec.rb b/spec/ruby/library/digest/sha384/hexdigest_spec.rb index a7724d1663..07ea05c541 100644 --- a/spec/ruby/library/digest/sha384/hexdigest_spec.rb +++ b/spec/ruby/library/digest/sha384/hexdigest_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#hexdigest" do diff --git a/spec/ruby/library/digest/sha384/inspect_spec.rb b/spec/ruby/library/digest/sha384/inspect_spec.rb index 554a22d135..cf44d31bde 100644 --- a/spec/ruby/library/digest/sha384/inspect_spec.rb +++ b/spec/ruby/library/digest/sha384/inspect_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#inspect" do diff --git a/spec/ruby/library/digest/sha384/length_spec.rb b/spec/ruby/library/digest/sha384/length_spec.rb index 63a57ce9ca..c1dfd10a89 100644 --- a/spec/ruby/library/digest/sha384/length_spec.rb +++ b/spec/ruby/library/digest/sha384/length_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) -require File.expand_path('../shared/length', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' +require_relative 'shared/length' describe "Digest::SHA384#length" do it_behaves_like :sha384_length, :length diff --git a/spec/ruby/library/digest/sha384/reset_spec.rb b/spec/ruby/library/digest/sha384/reset_spec.rb index 8abe39d7e2..37eb6911a6 100644 --- a/spec/ruby/library/digest/sha384/reset_spec.rb +++ b/spec/ruby/library/digest/sha384/reset_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#reset" do diff --git a/spec/ruby/library/digest/sha384/size_spec.rb b/spec/ruby/library/digest/sha384/size_spec.rb index 9aea3ef592..c8811dfa43 100644 --- a/spec/ruby/library/digest/sha384/size_spec.rb +++ b/spec/ruby/library/digest/sha384/size_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) -require File.expand_path('../shared/length', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' +require_relative 'shared/length' describe "Digest::SHA384#size" do it_behaves_like :sha384_length, :size diff --git a/spec/ruby/library/digest/sha384/to_s_spec.rb b/spec/ruby/library/digest/sha384/to_s_spec.rb index f45f2ee915..68ea9c013f 100644 --- a/spec/ruby/library/digest/sha384/to_s_spec.rb +++ b/spec/ruby/library/digest/sha384/to_s_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' describe "Digest::SHA384#to_s" do diff --git a/spec/ruby/library/digest/sha384/update_spec.rb b/spec/ruby/library/digest/sha384/update_spec.rb index 9917f86b86..a1d0dd6068 100644 --- a/spec/ruby/library/digest/sha384/update_spec.rb +++ b/spec/ruby/library/digest/sha384/update_spec.rb @@ -1,6 +1,6 @@ -require File.expand_path('../../../../spec_helper', __FILE__) -require File.expand_path('../shared/constants', __FILE__) -require File.expand_path('../shared/update', __FILE__) +require_relative '../../../spec_helper' +require_relative 'shared/constants' +require_relative 'shared/update' describe "Digest::SHA384#update" do it_behaves_like :sha384_update, :update |