Skip to content

Commit

Permalink
Tagged failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
krekoten committed May 20, 2013
1 parent 3743ee5 commit d9011f4
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/tags/command_line/dash_n_tags.txt
@@ -0,0 +1 @@
fails:The -n command line option
1 change: 1 addition & 0 deletions spec/tags/command_line/dash_upper_f_tags.txt
@@ -0,0 +1 @@
fails:the -F command line option
7 changes: 7 additions & 0 deletions spec/tags/core/array/shuffle_tags.txt
@@ -1,3 +1,10 @@
fails:Array#shuffle attempts coercion via #to_hash
fails:Array#shuffle uses default random generator
fails:Array#shuffle uses given random generator
fails:Array#shuffle calls #rand on the Object passed by the :random key in the arguments Hash
fails:Array#shuffle ignores an Object passed for the RNG if it does not define #rand
fails:Array#shuffle accepts a Float for the value returned by #rand
fails:Array#shuffle calls #to_f on the Object returned by #rand
fails:Array#shuffle raises a RangeError if the random generator returns a value less than 0.0
fails:Array#shuffle raises a RangeError if the random generator returns a value equal to 1.0
fails:Array#shuffle raises a RangeError if the random generator returns a value greater than 1.0
11 changes: 11 additions & 0 deletions spec/tags/core/file/open_tags.txt
Expand Up @@ -3,3 +3,14 @@ fails:File.open opens file when call with a block (basic case)
fails:File.open opens a file with mode string and block
fails:File.open opens the file when passed mode, num and permissions
fails:File.open opens a file with mode num and block
fails:File.open opens the file when passed mode, num, permissions and block
fails:File.open creates the file and returns writable descriptor when called with 'w' mode and r-o permissions
fails:File.open opens the existing file, does not change permissions even when they are specified
fails:File.open creates a new write-only file when invoked with 'w' and '0222'
fails:File.open opens a file that no exists when use File::WRONLY mode
fails:File.open opens a file that no exists when use File::RDONLY mode
fails:File.open opens a file that no exists when use 'r' mode
fails:File.open opens a file that no exists when use File::EXCL mode
fails:File.open opens a file that no exists when use File::NONBLOCK mode
fails:File.open opens a file that no exists when use File::TRUNC mode
fails:File.open opens a file that no exists when use File::NOCTTY mode

0 comments on commit d9011f4

Please sign in to comment.