spec icon indicating copy to clipboard operation
spec copied to clipboard

The Ruby Spec Suite aka ruby/spec

Results 57 spec issues
Sort by recently updated
recently updated
newest added

Before v1.12, IRB avoids loading `~/.irbrc` if the project folder has a `.irbrc` file. So to avoid loading dev's `~/.irbrc`, cfe908c added an empty irbrc fixture as a workaround. However,...

So I'm making a tool which runs specs many times, and specs that set consts seems to often not cleanup after themselves. This makes the repeat have annoying warnings about...

This is currently failing in JRuby (see jruby/jruby#7272).

The methods are aliases, so we probably shouldn't have two separate specs hanging around.

These have been copied from the specs of Kernel#caller_locations

This is going to take a bit of time, so I would like to have an approval for the idea before I actually spend a few hours on this. Ruby...

This is one of the pending issues for Ruby 3.0 (#823). This one has @aardvark179 in front of it, so I'm adding the same disclaimer as I did in #1064:...

These are the very basic specs, set a value, get a value. The actual behaviour change is not tested, I tried the example of https://ruby-doc.org/3.2.2/IO.html#method-i-autoclose-3D and a couple of variations,...

…IO.new The encoding option takes precedence over the binmode/textmode options. There are similar tests for passing the binmode argument in the mode argument.