Sha256: ca96b7f23404fa1746d508c5f3b289fb3cde508b25b760461a75be0f8c641d20

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

require 'rspec/core'
require 'rspec_virtus/matcher'
require 'rspec_virtus/version'

module RSpec
  module Virtus
    # rubocop:disable Style/PredicateName
    def have_attribute(attribute_name)
      Matcher.new(attribute_name)
    end
  end
end

RSpec.configure do |config|
  config.include RSpec::Virtus
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_virtus-1.1.0 lib/rspec_virtus.rb