Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,22 @@
"rainbow/version"
]
},
"rspec-core": {
"dependencies": [
"rspec"
],
"requires": [
"rspec"
]
},
"rspec-expectations": {
"dependencies": [
"rspec"
],
"requires": [
"rspec"
]
},
"shopify-money": {
"requires": [
"money"
Expand Down
11 changes: 11 additions & 0 deletions rbi/annotations/rspec-core.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# typed: true

class RSpec::Core::ExampleGroup
class << self
sig { params(args: T.untyped, example_group_block: T.proc.bind(T.class_of(RSpec::Core::ExampleGroup)).void).void }
def describe(*args, &example_group_block); end

sig { params(all_args: T.untyped, block: T.proc.bind(RSpec::Matchers).void).void }
def it(*all_args, &block); end
end
end
8 changes: 8 additions & 0 deletions rbi/annotations/rspec-expectations.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# typed: true

module RSpec
class << self
sig { params(args: T.untyped, example_group_block: T.proc.bind(T.class_of(RSpec::Core::ExampleGroup)).void).void }
def describe(*args, &example_group_block); end
end
end