Module: RSpec::RubyContentMatchers::LicenseFile

Defined in:
lib/cancan-permits/rspec/matchers/have_license_file.rb

Defined Under Namespace

Classes: HaveLicenseFile, HaveLicenseFiles

Instance Method Summary collapse

Instance Method Details

#have_license_file(name) ⇒ Object



40
41
42
# File 'lib/cancan-permits/rspec/matchers/have_license_file.rb', line 40

def have_license_file name
  HaveLicenseFile.new name
end

#have_license_files(*names) ⇒ Object



78
79
80
# File 'lib/cancan-permits/rspec/matchers/have_license_file.rb', line 78

def have_license_files *names
  HaveLicenseFiles.new names
end