Skip to content
Permalink
Browse files

skip new specs

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 27, 2013
1 parent 3a37bf5 commit 02956f5b82c674015054754a272b32e80f6cddbf
@@ -17,3 +17,21 @@ fails:Array#sample uses default random generator
fails:Array#sample uses given random generator
fails:Array#sample uses default random generator and return proper array size
fails:Array#sample uses given random generator and return proper array size
fails:Array#sample returns nil for an empty Array
fails:Array#sample returns a single value when not passed a count
fails:Array#sample returns an empty Array when passed zero
fails:Array#sample returns an Array of elements when passed a count
fails:Array#sample returns elements from the Array
fails:Array#sample returns at most the number of elements in the Array
fails:Array#sample does not return the same value if the Array has unique values
fails:Array#sample may return the same value if the array is not unique
fails:Array#sample calls #to_int to convert the count when passed an Object
fails:Array#sample raises ArgumentError when passed a negative count
fails:Array#sample does not return subclass instances with Array subclass
fails:Array#sample calls #to_hash to convert the passed Object
fails:Array#sample calls #to_int on the first argument and #to_hash on the second when passed Objects
fails:Array#sample calls #rand on the Object passed by the :random key in the arguments Hash
fails:Array#sample calls #to_f on the Object returned by #rand
fails:Array#sample raises a RangeError if the random generator returns a value less than 0.0
fails:Array#sample raises a RangeError if the random generator returns a value equal to 1.0
fails:Array#sample raises a RangeError if the random generator returns a value greater than 1.0
@@ -45,3 +45,4 @@ fails:Kernel.load
fails:Kernel.load (path resolution) calls #to_str on non-String objects returned by #to_path
fails:Kernel.load (path resolution) loads a path with duplicate path separators
fails:Kernel.load (path resolution) with an unreadable file raises a LoadError
fails:Kernel#load (path resolution) does not load file twice after $LOAD_PATH change
@@ -49,3 +49,5 @@ fails:Kernel.require ($LOAD_FEATURES) when a non-extensioned file is in $LOADED_
fails:Kernel.require ($LOAD_FEATURES) when a non-extensioned file is in $LOADED_FEATURES returns false when passed a path and the file is not found
fails:Kernel.require (shell expansion) performs tilde expansion on a .rb file before storing paths in $LOADED_FEATURES
fails:Kernel.require (shell expansion) performs tilde expansion on a non-extensioned file before storing paths in $LOADED_FEATURES
fails:Kernel#require (path resolution) does not load file twice after $LOAD_PATH change
fails:Kernel.require (path resolution) does not load file twice after $LOAD_PATH change
@@ -72,3 +72,4 @@ fails:String#[]= with Fixnum index, count raises a TypeError of #to_str does not
fails:String#[]= with Fixnum index, count raises an IndexError if |idx| is greater than the length of the string
fails:String#[]= with Fixnum index, count raises an IndexError if count < 0
fails:String#[]= with Fixnum index, count raises a TypeError if other_str is a type other than String
fails:String#[]= with a Regexp index with 3 arguments when the optional capture does not match raises an IndexError before setting the replacement

0 comments on commit 02956f5

Please sign in to comment.