diff options
Diffstat (limited to 'spec/ruby/library')
95 files changed, 12 insertions, 105 deletions
diff --git a/spec/ruby/library/bigdecimal/finite_spec.rb b/spec/ruby/library/bigdecimal/finite_spec.rb index c7358b51a5..6685d589b6 100644 --- a/spec/ruby/library/bigdecimal/finite_spec.rb +++ b/spec/ruby/library/bigdecimal/finite_spec.rb @@ -32,4 +32,3 @@ describe "BigDecimal#finite?" do end end end - diff --git a/spec/ruby/library/bigdecimal/precs_spec.rb b/spec/ruby/library/bigdecimal/precs_spec.rb index b9745c67dd..f9320f2b9e 100644 --- a/spec/ruby/library/bigdecimal/precs_spec.rb +++ b/spec/ruby/library/bigdecimal/precs_spec.rb @@ -46,4 +46,3 @@ describe "BigDecimal#precs" do end end end - diff --git a/spec/ruby/library/bigdecimal/quo_spec.rb b/spec/ruby/library/bigdecimal/quo_spec.rb index 2034d9a0c2..a5c5651778 100644 --- a/spec/ruby/library/bigdecimal/quo_spec.rb +++ b/spec/ruby/library/bigdecimal/quo_spec.rb @@ -10,4 +10,3 @@ describe "BigDecimal#quo" do BigDecimal("NaN").quo(BigDecimal("1")).nan?.should == true end end - diff --git a/spec/ruby/library/bigdecimal/sign_spec.rb b/spec/ruby/library/bigdecimal/sign_spec.rb index 719888dca1..ae2c28e9fd 100644 --- a/spec/ruby/library/bigdecimal/sign_spec.rb +++ b/spec/ruby/library/bigdecimal/sign_spec.rb @@ -44,4 +44,3 @@ describe "BigDecimal#sign" do end end - diff --git a/spec/ruby/library/bigdecimal/split_spec.rb b/spec/ruby/library/bigdecimal/split_spec.rb index 108c135769..f9b4bab5f7 100644 --- a/spec/ruby/library/bigdecimal/split_spec.rb +++ b/spec/ruby/library/bigdecimal/split_spec.rb @@ -84,5 +84,3 @@ describe "BigDecimal#split" do end end - - diff --git a/spec/ruby/library/bigdecimal/to_f_spec.rb b/spec/ruby/library/bigdecimal/to_f_spec.rb index 5924bd554c..1cc25d5c40 100644 --- a/spec/ruby/library/bigdecimal/to_f_spec.rb +++ b/spec/ruby/library/bigdecimal/to_f_spec.rb @@ -52,4 +52,3 @@ describe "BigDecimal#to_f" do @zero_neg.to_f.to_s.should == "-0.0" end end - diff --git a/spec/ruby/library/bigdecimal/to_s_spec.rb b/spec/ruby/library/bigdecimal/to_s_spec.rb index 86ae1e61f6..acc2e943f0 100644 --- a/spec/ruby/library/bigdecimal/to_s_spec.rb +++ b/spec/ruby/library/bigdecimal/to_s_spec.rb @@ -70,4 +70,3 @@ describe "BigDecimal#to_s" do end end - diff --git a/spec/ruby/library/bigdecimal/uplus_spec.rb b/spec/ruby/library/bigdecimal/uplus_spec.rb index 6f287e57ce..77483046b7 100644 --- a/spec/ruby/library/bigdecimal/uplus_spec.rb +++ b/spec/ruby/library/bigdecimal/uplus_spec.rb @@ -15,6 +15,3 @@ describe "BigDecimal#+@" do fifth.send(:+@).should == fifth end end - - - diff --git a/spec/ruby/library/bigdecimal/zero_spec.rb b/spec/ruby/library/bigdecimal/zero_spec.rb index 2240897a3b..c5d3acb8c3 100644 --- a/spec/ruby/library/bigdecimal/zero_spec.rb +++ b/spec/ruby/library/bigdecimal/zero_spec.rb @@ -25,4 +25,3 @@ describe "BigDecimal#zero?" do end end - diff --git a/spec/ruby/library/date/commercial_spec.rb b/spec/ruby/library/date/commercial_spec.rb index dcb28706e2..d7fc34d74a 100644 --- a/spec/ruby/library/date/commercial_spec.rb +++ b/spec/ruby/library/date/commercial_spec.rb @@ -15,4 +15,3 @@ end # 17 18 19 20 21 22 23 # 24 25 26 27 28 29 30 # 31 - diff --git a/spec/ruby/library/date/gregorian_leap_spec.rb b/spec/ruby/library/date/gregorian_leap_spec.rb index f758cd0c64..c3d25cf90f 100644 --- a/spec/ruby/library/date/gregorian_leap_spec.rb +++ b/spec/ruby/library/date/gregorian_leap_spec.rb @@ -13,4 +13,3 @@ describe "Date#gregorian_leap?" do Date.gregorian_leap?(2002).should be_false end end - diff --git a/spec/ruby/library/date/ordinal_spec.rb b/spec/ruby/library/date/ordinal_spec.rb index 3177f3ae94..ec490fd49c 100644 --- a/spec/ruby/library/date/ordinal_spec.rb +++ b/spec/ruby/library/date/ordinal_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/ordinal' describe "Date.ordinal" do it_behaves_like :date_ordinal, :ordinal end - diff --git a/spec/ruby/library/date/valid_civil_spec.rb b/spec/ruby/library/date/valid_civil_spec.rb index 13646acebc..00f2c57205 100644 --- a/spec/ruby/library/date/valid_civil_spec.rb +++ b/spec/ruby/library/date/valid_civil_spec.rb @@ -7,4 +7,3 @@ describe "Date#valid_civil?" do it_behaves_like :date_valid_civil?, :valid_civil? end - diff --git a/spec/ruby/library/date/valid_commercial_spec.rb b/spec/ruby/library/date/valid_commercial_spec.rb index 8e33f81cbc..7e96782b6b 100644 --- a/spec/ruby/library/date/valid_commercial_spec.rb +++ b/spec/ruby/library/date/valid_commercial_spec.rb @@ -6,5 +6,3 @@ describe "Date#valid_commercial?" do it_behaves_like :date_valid_commercial?, :valid_commercial? end - - diff --git a/spec/ruby/library/date/valid_jd_spec.rb b/spec/ruby/library/date/valid_jd_spec.rb index 6ab128b2cb..aecaaabcf4 100644 --- a/spec/ruby/library/date/valid_jd_spec.rb +++ b/spec/ruby/library/date/valid_jd_spec.rb @@ -7,4 +7,3 @@ describe "Date.valid_jd?" do it_behaves_like :date_valid_jd?, :valid_jd? end - diff --git a/spec/ruby/library/date/valid_ordinal_spec.rb b/spec/ruby/library/date/valid_ordinal_spec.rb index e1374504e4..58d548c704 100644 --- a/spec/ruby/library/date/valid_ordinal_spec.rb +++ b/spec/ruby/library/date/valid_ordinal_spec.rb @@ -7,4 +7,3 @@ describe "Date.valid_ordinal?" do it_behaves_like :date_valid_ordinal?, :valid_ordinal? end - diff --git a/spec/ruby/library/digest/md5/block_length_spec.rb b/spec/ruby/library/digest/md5/block_length_spec.rb index 1f64859747..14fb050abd 100644 --- a/spec/ruby/library/digest/md5/block_length_spec.rb +++ b/spec/ruby/library/digest/md5/block_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::MD5#block_length" do end end - diff --git a/spec/ruby/library/digest/md5/digest_length_spec.rb b/spec/ruby/library/digest/md5/digest_length_spec.rb index 4d87716707..47e071e329 100644 --- a/spec/ruby/library/digest/md5/digest_length_spec.rb +++ b/spec/ruby/library/digest/md5/digest_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::MD5#digest_length" do end end - diff --git a/spec/ruby/library/digest/md5/equal_spec.rb b/spec/ruby/library/digest/md5/equal_spec.rb index 48b19cc7db..b0e36564cd 100644 --- a/spec/ruby/library/digest/md5/equal_spec.rb +++ b/spec/ruby/library/digest/md5/equal_spec.rb @@ -35,4 +35,3 @@ describe "Digest::MD5#==" do end end - diff --git a/spec/ruby/library/digest/md5/inspect_spec.rb b/spec/ruby/library/digest/md5/inspect_spec.rb index 37cfef7903..decc86fba5 100644 --- a/spec/ruby/library/digest/md5/inspect_spec.rb +++ b/spec/ruby/library/digest/md5/inspect_spec.rb @@ -9,4 +9,3 @@ describe "Digest::MD5#inspect" do end end - diff --git a/spec/ruby/library/digest/md5/length_spec.rb b/spec/ruby/library/digest/md5/length_spec.rb index cc63102306..b05b2a20fd 100644 --- a/spec/ruby/library/digest/md5/length_spec.rb +++ b/spec/ruby/library/digest/md5/length_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::MD5#length" do it_behaves_like :md5_length, :length end - diff --git a/spec/ruby/library/digest/md5/reset_spec.rb b/spec/ruby/library/digest/md5/reset_spec.rb index 67f96650a3..c937844f38 100644 --- a/spec/ruby/library/digest/md5/reset_spec.rb +++ b/spec/ruby/library/digest/md5/reset_spec.rb @@ -12,4 +12,3 @@ describe "Digest::MD5#reset" do end end - diff --git a/spec/ruby/library/digest/md5/size_spec.rb b/spec/ruby/library/digest/md5/size_spec.rb index 1f5f501d01..22e3272d36 100644 --- a/spec/ruby/library/digest/md5/size_spec.rb +++ b/spec/ruby/library/digest/md5/size_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::MD5#size" do it_behaves_like :md5_length, :size end - diff --git a/spec/ruby/library/digest/sha256/block_length_spec.rb b/spec/ruby/library/digest/sha256/block_length_spec.rb index e5298bf810..1e29e832cf 100644 --- a/spec/ruby/library/digest/sha256/block_length_spec.rb +++ b/spec/ruby/library/digest/sha256/block_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA256#block_length" do end end - diff --git a/spec/ruby/library/digest/sha256/digest_length_spec.rb b/spec/ruby/library/digest/sha256/digest_length_spec.rb index e24b57dccf..b5c8958e84 100644 --- a/spec/ruby/library/digest/sha256/digest_length_spec.rb +++ b/spec/ruby/library/digest/sha256/digest_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA256#digest_length" do end end - diff --git a/spec/ruby/library/digest/sha256/equal_spec.rb b/spec/ruby/library/digest/sha256/equal_spec.rb index 4b587d16e0..84662aa068 100644 --- a/spec/ruby/library/digest/sha256/equal_spec.rb +++ b/spec/ruby/library/digest/sha256/equal_spec.rb @@ -34,4 +34,3 @@ describe "Digest::SHA256#==" do end end - diff --git a/spec/ruby/library/digest/sha256/inspect_spec.rb b/spec/ruby/library/digest/sha256/inspect_spec.rb index 3c50706f15..ed606e4517 100644 --- a/spec/ruby/library/digest/sha256/inspect_spec.rb +++ b/spec/ruby/library/digest/sha256/inspect_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA256#inspect" do end end - diff --git a/spec/ruby/library/digest/sha256/length_spec.rb b/spec/ruby/library/digest/sha256/length_spec.rb index 100715f361..181ac564ad 100644 --- a/spec/ruby/library/digest/sha256/length_spec.rb +++ b/spec/ruby/library/digest/sha256/length_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::SHA256#length" do it_behaves_like :sha256_length, :length end - diff --git a/spec/ruby/library/digest/sha256/reset_spec.rb b/spec/ruby/library/digest/sha256/reset_spec.rb index da065c8fb6..f0eb4faea6 100644 --- a/spec/ruby/library/digest/sha256/reset_spec.rb +++ b/spec/ruby/library/digest/sha256/reset_spec.rb @@ -12,4 +12,3 @@ describe "Digest::SHA256#reset" do end end - diff --git a/spec/ruby/library/digest/sha256/size_spec.rb b/spec/ruby/library/digest/sha256/size_spec.rb index 0bfbf13aee..1028263342 100644 --- a/spec/ruby/library/digest/sha256/size_spec.rb +++ b/spec/ruby/library/digest/sha256/size_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::SHA256#size" do it_behaves_like :sha256_length, :size end - diff --git a/spec/ruby/library/digest/sha384/block_length_spec.rb b/spec/ruby/library/digest/sha384/block_length_spec.rb index a257825966..dff645ffb9 100644 --- a/spec/ruby/library/digest/sha384/block_length_spec.rb +++ b/spec/ruby/library/digest/sha384/block_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA384#block_length" do end end - diff --git a/spec/ruby/library/digest/sha384/digest_length_spec.rb b/spec/ruby/library/digest/sha384/digest_length_spec.rb index be0f041f6a..4067dd34af 100644 --- a/spec/ruby/library/digest/sha384/digest_length_spec.rb +++ b/spec/ruby/library/digest/sha384/digest_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA384#digest_length" do end end - diff --git a/spec/ruby/library/digest/sha384/equal_spec.rb b/spec/ruby/library/digest/sha384/equal_spec.rb index 1c18f48923..5d3483d79a 100644 --- a/spec/ruby/library/digest/sha384/equal_spec.rb +++ b/spec/ruby/library/digest/sha384/equal_spec.rb @@ -34,4 +34,3 @@ describe "Digest::SHA384#==" do end end - diff --git a/spec/ruby/library/digest/sha384/inspect_spec.rb b/spec/ruby/library/digest/sha384/inspect_spec.rb index cf44d31bde..8f9f946cc5 100644 --- a/spec/ruby/library/digest/sha384/inspect_spec.rb +++ b/spec/ruby/library/digest/sha384/inspect_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA384#inspect" do end end - diff --git a/spec/ruby/library/digest/sha384/length_spec.rb b/spec/ruby/library/digest/sha384/length_spec.rb index c1dfd10a89..33fed492ef 100644 --- a/spec/ruby/library/digest/sha384/length_spec.rb +++ b/spec/ruby/library/digest/sha384/length_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::SHA384#length" do it_behaves_like :sha384_length, :length end - diff --git a/spec/ruby/library/digest/sha384/reset_spec.rb b/spec/ruby/library/digest/sha384/reset_spec.rb index 37eb6911a6..991b90903d 100644 --- a/spec/ruby/library/digest/sha384/reset_spec.rb +++ b/spec/ruby/library/digest/sha384/reset_spec.rb @@ -12,4 +12,3 @@ describe "Digest::SHA384#reset" do end end - diff --git a/spec/ruby/library/digest/sha384/size_spec.rb b/spec/ruby/library/digest/sha384/size_spec.rb index c8811dfa43..4c3b14f7a0 100644 --- a/spec/ruby/library/digest/sha384/size_spec.rb +++ b/spec/ruby/library/digest/sha384/size_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::SHA384#size" do it_behaves_like :sha384_length, :size end - diff --git a/spec/ruby/library/digest/sha512/block_length_spec.rb b/spec/ruby/library/digest/sha512/block_length_spec.rb index c71d0d5b50..947af841dd 100644 --- a/spec/ruby/library/digest/sha512/block_length_spec.rb +++ b/spec/ruby/library/digest/sha512/block_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA512#block_length" do end end - diff --git a/spec/ruby/library/digest/sha512/digest_length_spec.rb b/spec/ruby/library/digest/sha512/digest_length_spec.rb index 18ac66a8bd..ff5956dd75 100644 --- a/spec/ruby/library/digest/sha512/digest_length_spec.rb +++ b/spec/ruby/library/digest/sha512/digest_length_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA512#digest_length" do end end - diff --git a/spec/ruby/library/digest/sha512/equal_spec.rb b/spec/ruby/library/digest/sha512/equal_spec.rb index 6c9502c962..5100ced6e8 100644 --- a/spec/ruby/library/digest/sha512/equal_spec.rb +++ b/spec/ruby/library/digest/sha512/equal_spec.rb @@ -34,4 +34,3 @@ describe "Digest::SHA512#==" do end end - diff --git a/spec/ruby/library/digest/sha512/inspect_spec.rb b/spec/ruby/library/digest/sha512/inspect_spec.rb index 324b8d8914..54a466043a 100644 --- a/spec/ruby/library/digest/sha512/inspect_spec.rb +++ b/spec/ruby/library/digest/sha512/inspect_spec.rb @@ -9,4 +9,3 @@ describe "Digest::SHA512#inspect" do end end - diff --git a/spec/ruby/library/digest/sha512/length_spec.rb b/spec/ruby/library/digest/sha512/length_spec.rb index 028cf21177..e9fde90577 100644 --- a/spec/ruby/library/digest/sha512/length_spec.rb +++ b/spec/ruby/library/digest/sha512/length_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::SHA512#length" do it_behaves_like :sha512_length, :length end - diff --git a/spec/ruby/library/digest/sha512/reset_spec.rb b/spec/ruby/library/digest/sha512/reset_spec.rb index bfe02066f9..24a936d4ba 100644 --- a/spec/ruby/library/digest/sha512/reset_spec.rb +++ b/spec/ruby/library/digest/sha512/reset_spec.rb @@ -12,4 +12,3 @@ describe "Digest::SHA512#reset" do end end - diff --git a/spec/ruby/library/digest/sha512/size_spec.rb b/spec/ruby/library/digest/sha512/size_spec.rb index ff72aa5b5d..6d0acdabdb 100644 --- a/spec/ruby/library/digest/sha512/size_spec.rb +++ b/spec/ruby/library/digest/sha512/size_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/length' describe "Digest::SHA512#size" do it_behaves_like :sha512_length, :size end - diff --git a/spec/ruby/library/erb/run_spec.rb b/spec/ruby/library/erb/run_spec.rb index 4ee2c5210a..c4b82b155e 100644 --- a/spec/ruby/library/erb/run_spec.rb +++ b/spec/ruby/library/erb/run_spec.rb @@ -94,4 +94,3 @@ END }.should raise_error(NameError) end end - diff --git a/spec/ruby/library/erb/util/html_escape_spec.rb b/spec/ruby/library/erb/util/html_escape_spec.rb index c4dc8dd397..1c15fb8791 100644 --- a/spec/ruby/library/erb/util/html_escape_spec.rb +++ b/spec/ruby/library/erb/util/html_escape_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/html_escape' describe "ERB::Util.html_escape" do it_behaves_like :erb_util_html_escape, :html_escape end - diff --git a/spec/ruby/library/erb/util/u_spec.rb b/spec/ruby/library/erb/util/u_spec.rb index 437829d74a..2a08451031 100644 --- a/spec/ruby/library/erb/util/u_spec.rb +++ b/spec/ruby/library/erb/util/u_spec.rb @@ -5,4 +5,3 @@ require_relative 'shared/url_encode' describe "ERB::Util.u" do it_behaves_like :erb_util_url_encode, :u end - diff --git a/spec/ruby/library/ipaddr/ipv4_conversion_spec.rb b/spec/ruby/library/ipaddr/ipv4_conversion_spec.rb index 61f5fa3e81..9d45055d76 100644 --- a/spec/ruby/library/ipaddr/ipv4_conversion_spec.rb +++ b/spec/ruby/library/ipaddr/ipv4_conversion_spec.rb @@ -42,5 +42,3 @@ describe "IPAddr#ipv4_mapped" do end end - - diff --git a/spec/ruby/library/net/http/http/head2_spec.rb b/spec/ruby/library/net/http/http/head2_spec.rb index c8bd987eef..606798e4af 100644 --- a/spec/ruby/library/net/http/http/head2_spec.rb +++ b/spec/ruby/library/net/http/http/head2_spec.rb @@ -6,4 +6,3 @@ require_relative 'shared/request_head' describe "Net::HTTP#head2" do it_behaves_like :net_ftp_request_head, :head2 end - diff --git a/spec/ruby/library/net/http/http/post_spec.rb b/spec/ruby/library/net/http/http/post_spec.rb index d6c9154a35..c8d41b9617 100644 --- a/spec/ruby/library/net/http/http/post_spec.rb +++ b/spec/ruby/library/net/http/http/post_spec.rb @@ -74,4 +74,3 @@ describe "Net::HTTP#post" do end end end - diff --git a/spec/ruby/library/net/http/httpheader/each_capitalized_spec.rb b/spec/ruby/library/net/http/httpheader/each_capitalized_spec.rb index 49298210bb..961a2d051f 100644 --- a/spec/ruby/library/net/http/httpheader/each_capitalized_spec.rb +++ b/spec/ruby/library/net/http/httpheader/each_capitalized_spec.rb @@ -6,4 +6,3 @@ require_relative 'shared/each_capitalized' describe "Net::HTTPHeader#each_capitalized" do it_behaves_like :net_httpheader_each_capitalized, :each_capitalized end - diff --git a/spec/ruby/library/net/http/httpresponse/read_body_spec.rb b/spec/ruby/library/net/http/httpresponse/read_body_spec.rb index f1fc0f519b..500155eb5b 100644 --- a/spec/ruby/library/net/http/httpresponse/read_body_spec.rb +++ b/spec/ruby/library/net/http/httpresponse/read_body_spec.rb @@ -83,4 +83,3 @@ describe "Net::HTTPResponse#read_body" do end end end - diff --git a/spec/ruby/library/pathname/absolute_spec.rb b/spec/ruby/library/pathname/absolute_spec.rb index a754505765..dce3ae72ee 100644 --- a/spec/ruby/library/pathname/absolute_spec.rb +++ b/spec/ruby/library/pathname/absolute_spec.rb @@ -20,4 +20,3 @@ describe "Pathname#absolute?" do end end - diff --git a/spec/ruby/library/pathname/equal_value_spec.rb b/spec/ruby/library/pathname/equal_value_spec.rb index 84e8d8f7ef..92d4767e76 100644 --- a/spec/ruby/library/pathname/equal_value_spec.rb +++ b/spec/ruby/library/pathname/equal_value_spec.rb @@ -12,4 +12,3 @@ describe "Pathname#==" do end end - diff --git a/spec/ruby/library/pathname/hash_spec.rb b/spec/ruby/library/pathname/hash_spec.rb index a0bfe811f6..da1b8f4f76 100644 --- a/spec/ruby/library/pathname/hash_spec.rb +++ b/spec/ruby/library/pathname/hash_spec.rb @@ -12,4 +12,3 @@ describe "Pathname#hash" do end end - diff --git a/spec/ruby/library/pathname/parent_spec.rb b/spec/ruby/library/pathname/parent_spec.rb index 5804f88dd0..3843bb22ed 100644 --- a/spec/ruby/library/pathname/parent_spec.rb +++ b/spec/ruby/library/pathname/parent_spec.rb @@ -16,4 +16,3 @@ describe "Pathname#parent" do end end - diff --git a/spec/ruby/library/pathname/relative_spec.rb b/spec/ruby/library/pathname/relative_spec.rb index f3976fcf0d..1a08891e6c 100644 --- a/spec/ruby/library/pathname/relative_spec.rb +++ b/spec/ruby/library/pathname/relative_spec.rb @@ -20,4 +20,3 @@ describe "Pathname#relative?" do end end - diff --git a/spec/ruby/library/pathname/root_spec.rb b/spec/ruby/library/pathname/root_spec.rb index d1c2dbb6ff..5fec0ee956 100644 --- a/spec/ruby/library/pathname/root_spec.rb +++ b/spec/ruby/library/pathname/root_spec.rb @@ -24,4 +24,3 @@ describe "Pathname#root?" do end end - diff --git a/spec/ruby/library/pathname/sub_spec.rb b/spec/ruby/library/pathname/sub_spec.rb index 2fb274e790..ad2900f62b 100644 --- a/spec/ruby/library/pathname/sub_spec.rb +++ b/spec/ruby/library/pathname/sub_spec.rb @@ -13,4 +13,3 @@ describe "Pathname#sub" do end end - diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb new file mode 100644 index 0000000000..caa557c32c --- /dev/null +++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb @@ -0,0 +1,11 @@ +require_relative '../../spec_helper' +require 'rbconfig' + +describe 'RbConfig::CONFIG values' do + it 'are all strings' do + RbConfig::CONFIG.each do |k, v| + k.should be_kind_of String + v.should be_kind_of String + end + end +end diff --git a/spec/ruby/library/rexml/attribute/inspect_spec.rb b/spec/ruby/library/rexml/attribute/inspect_spec.rb index 9ab3757db8..86a437ec74 100644 --- a/spec/ruby/library/rexml/attribute/inspect_spec.rb +++ b/spec/ruby/library/rexml/attribute/inspect_spec.rb @@ -17,4 +17,3 @@ describe "REXML::Attribute#inspect" do a.inspect.should == "&&='<>'" end end - diff --git a/spec/ruby/library/rexml/attribute/to_string_spec.rb b/spec/ruby/library/rexml/attribute/to_string_spec.rb index eb93cf9969..420913afeb 100644 --- a/spec/ruby/library/rexml/attribute/to_string_spec.rb +++ b/spec/ruby/library/rexml/attribute/to_string_spec.rb @@ -12,4 +12,3 @@ describe "REXML::Attribute#to_string" do attr_ns.to_string.should == "xmlns:ns='http://uri'" end end - diff --git a/spec/ruby/library/rexml/attribute/value_spec.rb b/spec/ruby/library/rexml/attribute/value_spec.rb index 8c8c1a2a0d..7763976881 100644 --- a/spec/ruby/library/rexml/attribute/value_spec.rb +++ b/spec/ruby/library/rexml/attribute/value_spec.rb @@ -12,4 +12,3 @@ describe "REXML::Attribute#value" do attr_empty.value.should == "" end end - diff --git a/spec/ruby/library/rexml/attribute/xpath_spec.rb b/spec/ruby/library/rexml/attribute/xpath_spec.rb index 2cb44f7548..beefb036cc 100644 --- a/spec/ruby/library/rexml/attribute/xpath_spec.rb +++ b/spec/ruby/library/rexml/attribute/xpath_spec.rb @@ -17,4 +17,3 @@ describe "REXML::Attribute#xpath" do lambda { @attr.xpath }.should raise_error(Exception) end end - diff --git a/spec/ruby/library/rexml/attributes/each_attribute_spec.rb b/spec/ruby/library/rexml/attributes/each_attribute_spec.rb index c71e3c3971..e84c8dbf51 100644 --- a/spec/ruby/library/rexml/attributes/each_attribute_spec.rb +++ b/spec/ruby/library/rexml/attributes/each_attribute_spec.rb @@ -20,6 +20,3 @@ describe "REXML::Attributes#each_attribute" do attributes.last.should == ns_uri end end - - - diff --git a/spec/ruby/library/rexml/attributes/each_spec.rb b/spec/ruby/library/rexml/attributes/each_spec.rb index 49c02a3255..ed60634b90 100644 --- a/spec/ruby/library/rexml/attributes/each_spec.rb +++ b/spec/ruby/library/rexml/attributes/each_spec.rb @@ -21,5 +21,3 @@ describe "REXML::Attributes#each" do attributes.last.should == ["xmlns:ns", "http://some_uri"] end end - - diff --git a/spec/ruby/library/rexml/attributes/element_reference_spec.rb b/spec/ruby/library/rexml/attributes/element_reference_spec.rb index a961935fad..dac7952669 100644 --- a/spec/ruby/library/rexml/attributes/element_reference_spec.rb +++ b/spec/ruby/library/rexml/attributes/element_reference_spec.rb @@ -16,4 +16,3 @@ describe "REXML::Attributes#[]" do @e.attributes["chunky bacon"].should == nil end end - diff --git a/spec/ruby/library/rexml/attributes/element_set_spec.rb b/spec/ruby/library/rexml/attributes/element_set_spec.rb index 0e19fda64f..1ed94dd2a1 100644 --- a/spec/ruby/library/rexml/attributes/element_set_spec.rb +++ b/spec/ruby/library/rexml/attributes/element_set_spec.rb @@ -23,4 +23,3 @@ describe "REXML::Attributes#[]=" do @e.attributes.length.should == 0 end end - diff --git a/spec/ruby/library/rexml/attributes/to_a_spec.rb b/spec/ruby/library/rexml/attributes/to_a_spec.rb index 7fb2326dab..1fbf71b683 100644 --- a/spec/ruby/library/rexml/attributes/to_a_spec.rb +++ b/spec/ruby/library/rexml/attributes/to_a_spec.rb @@ -17,4 +17,3 @@ describe "REXML::Attributes#to_a" do REXML::Element.new("root").attributes.to_a.should == [] end end - diff --git a/spec/ruby/library/rexml/element/add_namespace_spec.rb b/spec/ruby/library/rexml/element/add_namespace_spec.rb index 0aaf790de9..77c00eec46 100644 --- a/spec/ruby/library/rexml/element/add_namespace_spec.rb +++ b/spec/ruby/library/rexml/element/add_namespace_spec.rb @@ -21,4 +21,3 @@ describe "REXML::Element#add_namespace" do @elem.namespace.should == "some_uri" end end - diff --git a/spec/ruby/library/rexml/element/document_spec.rb b/spec/ruby/library/rexml/element/document_spec.rb index 16db64eeb7..24773580f2 100644 --- a/spec/ruby/library/rexml/element/document_spec.rb +++ b/spec/ruby/library/rexml/element/document_spec.rb @@ -14,5 +14,3 @@ describe "REXML::Element#document" do REXML::Element.new("standalone").document.should be_nil end end - - diff --git a/spec/ruby/library/rexml/node/parent_spec.rb b/spec/ruby/library/rexml/node/parent_spec.rb index a2fe48390f..d88ba69657 100644 --- a/spec/ruby/library/rexml/node/parent_spec.rb +++ b/spec/ruby/library/rexml/node/parent_spec.rb @@ -18,4 +18,3 @@ describe "REXML::Node#parent?" do e.parent?.should == false end end - diff --git a/spec/ruby/library/rexml/text/indent_text_spec.rb b/spec/ruby/library/rexml/text/indent_text_spec.rb index af0954b7a2..1b0ee5ab16 100644 --- a/spec/ruby/library/rexml/text/indent_text_spec.rb +++ b/spec/ruby/library/rexml/text/indent_text_spec.rb @@ -21,4 +21,3 @@ describe "REXML::Text#indent_text" do @t.indent_text("foo", 1, "\t", false).should == "foo" end end - diff --git a/spec/ruby/library/rexml/text/new_spec.rb b/spec/ruby/library/rexml/text/new_spec.rb index c069559a19..a1fdcddf28 100644 --- a/spec/ruby/library/rexml/text/new_spec.rb +++ b/spec/ruby/library/rexml/text/new_spec.rb @@ -46,4 +46,3 @@ describe "REXML::Text.new" do t.should == "<&>" end end - diff --git a/spec/ruby/library/rexml/text/read_with_substitution_spec.rb b/spec/ruby/library/rexml/text/read_with_substitution_spec.rb index c84778d8c4..a9b4d30bc5 100644 --- a/spec/ruby/library/rexml/text/read_with_substitution_spec.rb +++ b/spec/ruby/library/rexml/text/read_with_substitution_spec.rb @@ -10,4 +10,3 @@ describe "REXML::Text.read_with_substitution" do lambda {REXML::Text.read_with_substitution("this is illegal", /illegal/)}.should raise_error(Exception) end end - diff --git a/spec/ruby/library/rexml/text/to_s_spec.rb b/spec/ruby/library/rexml/text/to_s_spec.rb index 2ee9dd0ec7..14d7399a60 100644 --- a/spec/ruby/library/rexml/text/to_s_spec.rb +++ b/spec/ruby/library/rexml/text/to_s_spec.rb @@ -15,4 +15,3 @@ describe "REXML::Text#to_s" do t.to_s.should == "& < >" end end - diff --git a/spec/ruby/library/rexml/text/wrap_spec.rb b/spec/ruby/library/rexml/text/wrap_spec.rb index d958561634..0b60fd4151 100644 --- a/spec/ruby/library/rexml/text/wrap_spec.rb +++ b/spec/ruby/library/rexml/text/wrap_spec.rb @@ -18,4 +18,3 @@ describe "REXML::Text#wrap" do @t.wrap("abc def", 3, true).should == "\nabc\ndef" end end - diff --git a/spec/ruby/library/set/case_compare_spec.rb b/spec/ruby/library/set/case_compare_spec.rb index 31a0e5676a..193006dbda 100644 --- a/spec/ruby/library/set/case_compare_spec.rb +++ b/spec/ruby/library/set/case_compare_spec.rb @@ -12,4 +12,3 @@ ruby_version_is "2.5" do end end end - diff --git a/spec/ruby/library/socket/socket/getaddrinfo_spec.rb b/spec/ruby/library/socket/socket/getaddrinfo_spec.rb index 8eee1d75e7..64183b38d0 100644 --- a/spec/ruby/library/socket/socket/getaddrinfo_spec.rb +++ b/spec/ruby/library/socket/socket/getaddrinfo_spec.rb @@ -92,7 +92,7 @@ describe "Socket#getaddrinfo" do ["AF_INET6", 9, "::", "::", Socket::AF_INET6, Socket::SOCK_STREAM, Socket::IPPROTO_TCP], ["AF_INET6", 9, "0:0:0:0:0:0:0:0", "0:0:0:0:0:0:0:0", Socket::AF_INET6, Socket::SOCK_STREAM, Socket::IPPROTO_TCP] ] - res.each { |a| expected.should include (a) } + res.each { |a| expected.should include(a) } end it "accepts empty addresses for IPv6 non-passive sockets" do diff --git a/spec/ruby/library/stringio/each_codepoint_spec.rb b/spec/ruby/library/stringio/each_codepoint_spec.rb index c2eec90581..85aa34d9d8 100644 --- a/spec/ruby/library/stringio/each_codepoint_spec.rb +++ b/spec/ruby/library/stringio/each_codepoint_spec.rb @@ -7,4 +7,3 @@ require_relative 'shared/codepoints' describe "StringIO#each_codepoint" do it_behaves_like :stringio_codepoints, :codepoints end - diff --git a/spec/ruby/library/stringio/open_spec.rb b/spec/ruby/library/stringio/open_spec.rb index be24b06a82..f8f3feabee 100644 --- a/spec/ruby/library/stringio/open_spec.rb +++ b/spec/ruby/library/stringio/open_spec.rb @@ -205,4 +205,3 @@ describe "StringIO.open when passed no arguments" do StringIO.open.string.should == "" end end - diff --git a/spec/ruby/library/stringio/printf_spec.rb b/spec/ruby/library/stringio/printf_spec.rb index 42fa98d395..3978896621 100644 --- a/spec/ruby/library/stringio/printf_spec.rb +++ b/spec/ruby/library/stringio/printf_spec.rb @@ -68,4 +68,3 @@ describe "StringIO#printf when self is not writable" do lambda { io.printf("test") }.should raise_error(IOError) end end - diff --git a/spec/ruby/library/stringio/stringio_spec.rb b/spec/ruby/library/stringio/stringio_spec.rb index c32dc6c5a2..5ef42b3390 100644 --- a/spec/ruby/library/stringio/stringio_spec.rb +++ b/spec/ruby/library/stringio/stringio_spec.rb @@ -6,4 +6,3 @@ describe "StringIO" do StringIO.should include(Enumerable) end end - diff --git a/spec/ruby/library/stringscanner/element_reference_spec.rb b/spec/ruby/library/stringscanner/element_reference_spec.rb index 351dfbc59a..c3fab16bbc 100644 --- a/spec/ruby/library/stringscanner/element_reference_spec.rb +++ b/spec/ruby/library/stringscanner/element_reference_spec.rb @@ -58,4 +58,3 @@ describe "StringScanner#[]" do @s[:day].should == "13" end end - diff --git a/spec/ruby/library/stringscanner/peek_spec.rb b/spec/ruby/library/stringscanner/peek_spec.rb index 39366e0c21..cbb5630ff9 100644 --- a/spec/ruby/library/stringscanner/peek_spec.rb +++ b/spec/ruby/library/stringscanner/peek_spec.rb @@ -5,4 +5,3 @@ require 'strscan' describe "StringScanner#peek" do it_behaves_like :strscan_peek, :peek end - diff --git a/spec/ruby/library/tempfile/open_spec.rb b/spec/ruby/library/tempfile/open_spec.rb index f9ebdce458..062d1a3fc2 100644 --- a/spec/ruby/library/tempfile/open_spec.rb +++ b/spec/ruby/library/tempfile/open_spec.rb @@ -79,4 +79,3 @@ describe "Tempfile.open when passed a block" do @tempfile.closed?.should be_true end end - diff --git a/spec/ruby/library/uri/set_component_spec.rb b/spec/ruby/library/uri/set_component_spec.rb index 38da49dbd7..71ed6af278 100644 --- a/spec/ruby/library/uri/set_component_spec.rb +++ b/spec/ruby/library/uri/set_component_spec.rb @@ -43,5 +43,3 @@ describe "URI#select" do lambda { uri.query = 'bar' }.should raise_error(URI::InvalidURIError) end end - - diff --git a/spec/ruby/library/zlib/deflate/set_dictionary_spec.rb b/spec/ruby/library/zlib/deflate/set_dictionary_spec.rb index 53ee4a2ae4..0e461229c7 100644 --- a/spec/ruby/library/zlib/deflate/set_dictionary_spec.rb +++ b/spec/ruby/library/zlib/deflate/set_dictionary_spec.rb @@ -12,4 +12,3 @@ describe "Zlib::Deflate#set_dictionary" do 2, 0, 21, 134, 3, 248].pack('C*') end end - diff --git a/spec/ruby/library/zlib/gzipfile/close_spec.rb b/spec/ruby/library/zlib/gzipfile/close_spec.rb index e26f79d004..27eb34cdd9 100644 --- a/spec/ruby/library/zlib/gzipfile/close_spec.rb +++ b/spec/ruby/library/zlib/gzipfile/close_spec.rb @@ -19,4 +19,3 @@ describe "Zlib::GzipFile#close" do io.string[10..-1].should == ([3] + Array.new(9,0)).pack('C*') end end - diff --git a/spec/ruby/library/zlib/gzipfile/closed_spec.rb b/spec/ruby/library/zlib/gzipfile/closed_spec.rb index 8c5ef9a338..b885add485 100644 --- a/spec/ruby/library/zlib/gzipfile/closed_spec.rb +++ b/spec/ruby/library/zlib/gzipfile/closed_spec.rb @@ -14,4 +14,3 @@ describe "Zlib::GzipFile#closed?" do end end end - diff --git a/spec/ruby/library/zlib/gzipfile/comment_spec.rb b/spec/ruby/library/zlib/gzipfile/comment_spec.rb index d4cf086792..7493f74f1c 100644 --- a/spec/ruby/library/zlib/gzipfile/comment_spec.rb +++ b/spec/ruby/library/zlib/gzipfile/comment_spec.rb @@ -24,4 +24,3 @@ describe "Zlib::GzipFile#comment" do end end end - diff --git a/spec/ruby/library/zlib/gzipfile/orig_name_spec.rb b/spec/ruby/library/zlib/gzipfile/orig_name_spec.rb index a7a0990612..cae5305355 100644 --- a/spec/ruby/library/zlib/gzipfile/orig_name_spec.rb +++ b/spec/ruby/library/zlib/gzipfile/orig_name_spec.rb @@ -24,4 +24,3 @@ describe "Zlib::GzipFile#orig_name" do end end end - diff --git a/spec/ruby/library/zlib/gzipreader/pos_spec.rb b/spec/ruby/library/zlib/gzipreader/pos_spec.rb index 9b508de468..df7c78ad8f 100644 --- a/spec/ruby/library/zlib/gzipreader/pos_spec.rb +++ b/spec/ruby/library/zlib/gzipreader/pos_spec.rb @@ -24,4 +24,3 @@ describe "GzipReader#pos" do end end - diff --git a/spec/ruby/library/zlib/inflate/set_dictionary_spec.rb b/spec/ruby/library/zlib/inflate/set_dictionary_spec.rb index e5e347a6da..251cec44bb 100644 --- a/spec/ruby/library/zlib/inflate/set_dictionary_spec.rb +++ b/spec/ruby/library/zlib/inflate/set_dictionary_spec.rb @@ -18,4 +18,3 @@ describe "Zlib::Inflate#set_dictionary" do i.finish.should == 'abcdefghij' end end - diff --git a/spec/ruby/library/zlib/zstream/flush_next_out_spec.rb b/spec/ruby/library/zlib/zstream/flush_next_out_spec.rb index f80d8287ce..59a0622903 100644 --- a/spec/ruby/library/zlib/zstream/flush_next_out_spec.rb +++ b/spec/ruby/library/zlib/zstream/flush_next_out_spec.rb @@ -12,5 +12,3 @@ describe "Zlib::ZStream#flush_next_out" do zs.flush_next_out.should == '' end end - - |