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.9.4.7 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.4.6 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.4.5 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.4.3 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.4.2 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.4.1 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.4 lib/cantango/rspec/matchers/have_license.rb
cantango-0.9.3.2 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.9.5 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.9.4 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.9.3 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.9.2 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.9.1 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.9 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.8.1 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.8 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.7 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.6.2 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.6.1 lib/cantango/rspec/matchers/have_license.rb
cantango-0.8.6 lib/cantango/rspec/matchers/have_license.rb