Sha256: 9e94c6e385940a6e645ee5a9918e69ce130ed5e34842ebfd04ccb5af7943b1b7
Contents?: true
Size: 681 Bytes
Versions: 15
Compression:
Stored size: 681 Bytes
Contents
require 'sitehub/collection/split_route_collection/split.rb' class SiteHub class Collection class SplitRouteCollection < Collection describe Split do describe '#update_value' do subject do described_class.new(:lower, :upper, :original) end it 'sets the value to be the out of the supplied block' do subject.update_value { :new } expect(subject.value).to eq(:new) end it 'passes the current value to the block' do subject.update_value do |value| expect(value).to eq(:original) end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems