mirror of
https://github.com/lloeki/package-ruby.git
synced 2025-12-06 10:04:39 +01:00
preview
This commit is contained in:
commit
32b99b62bf
20 changed files with 644 additions and 0 deletions
5
spec/support/matchers.rb
Normal file
5
spec/support/matchers.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
RSpec::Matchers.define :have_constant do |const|
|
||||
match do |owner|
|
||||
owner.const_defined?(const)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue