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

These use a shared spec (`time_gmtime`) with tests like this: ```ruby it "converts self to UTC, modifying the receiver" do # Testing with America/Regina here because it doesn't have DST...

Add specifications for all the reserved keywords, documenting which of them can be used as: 1. local variables 2. instance variables 3. global variables 4. positional parameter names 5. keyword...

This was a really common pattern that I needed to repeat several times in #1187. I noticed it repeated a bunch (69 times), and could be simplified really nicely with...

This documents behaviour like: ```ruby def do_something(if:) # Behaves like `binding.local_variable_get(:if)`, but faster. condition = { if: }[:if] end ```

It looks like there was a lot of copy-paste in this one, often the description did not match the actual test. The descriptions have been updated to use the shortest...

ruby/spec already contains some specs for 3.4, but we should aim to cover all new features and important changes. This will improve the test coverage of these features (and maybe...

Hacktoberfest
help wanted

For #1216 This is very much a work in progress, I had this file hanging around in Natalie. It's mostly just a PoC, and misses a lot of cases. The...

ruby/spec already contains some specs for 3.3, but we should aim to cover all new features and important changes. This will improve the test coverage of these features (and maybe...

help wanted

from https://github.com/ruby/ruby/pull/13037 Ruby CI is no longer support Solaris platform today. We don't need to maintain related code.