diff options
Diffstat (limited to 'spec/ruby/core/file/stat')
-rw-r--r-- | spec/ruby/core/file/stat/dev_major_spec.rb | 8 | ||||
-rw-r--r-- | spec/ruby/core/file/stat/dev_minor_spec.rb | 8 | ||||
-rw-r--r-- | spec/ruby/core/file/stat/rdev_major_spec.rb | 8 | ||||
-rw-r--r-- | spec/ruby/core/file/stat/rdev_minor_spec.rb | 8 |
4 files changed, 12 insertions, 20 deletions
diff --git a/spec/ruby/core/file/stat/dev_major_spec.rb b/spec/ruby/core/file/stat/dev_major_spec.rb index 845c883a42..4966d609e2 100644 --- a/spec/ruby/core/file/stat/dev_major_spec.rb +++ b/spec/ruby/core/file/stat/dev_major_spec.rb @@ -9,11 +9,9 @@ describe "File::Stat#dev_major" do rm_r @name end - ruby_version_is "2.4" do - platform_is_not :windows do - it "returns the major part of File::Stat#dev" do - File.stat(@name).dev_major.should be_kind_of(Integer) - end + platform_is_not :windows do + it "returns the major part of File::Stat#dev" do + File.stat(@name).dev_major.should be_kind_of(Integer) end end diff --git a/spec/ruby/core/file/stat/dev_minor_spec.rb b/spec/ruby/core/file/stat/dev_minor_spec.rb index ddfb6a7b6a..ea79c12b99 100644 --- a/spec/ruby/core/file/stat/dev_minor_spec.rb +++ b/spec/ruby/core/file/stat/dev_minor_spec.rb @@ -9,11 +9,9 @@ describe "File::Stat#dev_minor" do rm_r @name end - ruby_version_is "2.4" do - platform_is_not :windows do - it "returns the minor part of File::Stat#dev" do - File.stat(@name).dev_minor.should be_kind_of(Integer) - end + platform_is_not :windows do + it "returns the minor part of File::Stat#dev" do + File.stat(@name).dev_minor.should be_kind_of(Integer) end end diff --git a/spec/ruby/core/file/stat/rdev_major_spec.rb b/spec/ruby/core/file/stat/rdev_major_spec.rb index 3d7f6ef759..f8a8d1b107 100644 --- a/spec/ruby/core/file/stat/rdev_major_spec.rb +++ b/spec/ruby/core/file/stat/rdev_major_spec.rb @@ -17,11 +17,9 @@ describe "File::Stat#rdev_major" do end end - ruby_version_is "2.4" do - platform_is_not :windows do - it "returns the major part of File::Stat#rdev" do - File.stat(@name).rdev_major.should be_kind_of(Integer) - end + platform_is_not :windows do + it "returns the major part of File::Stat#rdev" do + File.stat(@name).rdev_major.should be_kind_of(Integer) end end diff --git a/spec/ruby/core/file/stat/rdev_minor_spec.rb b/spec/ruby/core/file/stat/rdev_minor_spec.rb index e25c61ca86..dc30c1f56c 100644 --- a/spec/ruby/core/file/stat/rdev_minor_spec.rb +++ b/spec/ruby/core/file/stat/rdev_minor_spec.rb @@ -17,11 +17,9 @@ describe "File::Stat#rdev_minor" do end end - ruby_version_is "2.4" do - platform_is_not :windows do - it "returns the minor part of File::Stat#rdev" do - File.stat(@name).rdev_minor.should be_kind_of(Integer) - end + platform_is_not :windows do + it "returns the minor part of File::Stat#rdev" do + File.stat(@name).rdev_minor.should be_kind_of(Integer) end end |