Module: RSpec::RubyContentMatchers::License
- Defined in:
- lib/cantango/rspec/matchers/have_license.rb
Instance Method Summary collapse
Instance Method Details
#have_license(name) ⇒ Object
3 4 5 |
# File 'lib/cantango/rspec/matchers/have_license.rb', line 3 def have_license name have_call :licenses, :args => [name.to_sym] end |
#have_licenses(*names) ⇒ Object
7 8 9 |
# File 'lib/cantango/rspec/matchers/have_license.rb', line 7 def have_licenses *names have_call :licenses, :args => names.to_symbols end |