This commit is contained in:
Loic Nageleisen 2014-12-10 18:33:15 +01:00
commit 32b99b62bf
20 changed files with 644 additions and 0 deletions

5
spec/support/matchers.rb Normal file
View file

@ -0,0 +1,5 @@
RSpec::Matchers.define :have_constant do |const|
match do |owner|
owner.const_defined?(const)
end
end