Sha256: 55d84d104a32f160e13cc591e94821d291f7a235b911659a11d0c8441049f7d1
Contents?: true
Size: 575 Bytes
Versions: 4
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe Normalizy::RSpec::Matcher, '.description' do let!(:matcher) { described_class.new :name } context 'with no :with expectation' do specify do matcher.from :from matcher.to :to expect(matcher.description).to eq 'normalizy name from "from" to "to"' end end context 'with :with expectation' do specify do matcher.with :blank matcher.from :from matcher.to :to expect(matcher.description).to eq 'normalizy name with blank' end end end
Version data entries
4 entries across 4 versions & 1 rubygems