Sha256: a30987dd33248f70ed6de1727475efb50dae2beee7bdabdc80fbbc9e29d8a5c0

Contents?: true

Size: 236 Bytes

Versions: 22

Compression:

Stored size: 236 Bytes

Contents

module RSpec::RubyContentMatchers
  module License
    def have_license name
      have_call :licenses, :args => [name.to_sym]
    end

    def have_licenses *names
      have_call :licenses, :args => names.to_symbols
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
cantango-0.8.5.1 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.0 lib/cantango/rspec/matchers/have_license.rb