Sha256: c590ca541e3877b89159ddfc9859abaa4a7e199ffc365efb376c30ff00c54526
Contents?: true
Size: 333 Bytes
Versions: 6
Compression:
Stored size: 333 Bytes
Contents
RSpec.describe Dry::Transaction::StepAdapters::Map, :adapter do subject { described_class.new } let(:options) { {} } let(:operation) { -> (input) { input.upcase } } describe "#call" do it "return a Success value" do expect(subject.(operation, options, 'input')).to eql(Success('INPUT')) end end end
Version data entries
6 entries across 6 versions & 1 rubygems