Sha256: 508b6d58a290275ba6863226cf0b81c721586165a9d9835e717507dd41dab54f
Contents?: true
Size: 541 Bytes
Versions: 8
Compression:
Stored size: 541 Bytes
Contents
require 'spec_helper' describe Microscope::InstanceMethod do describe :ClassMethods do describe :past_participle_to_infinitive do let(:past_participles) { ['liked', 'loved', 'gateway_canceled', 'started', 'fed'] } let(:infinitives) { ['like', 'love', 'gateway_cancel', 'start', 'feed'] } let(:mapped_past_participles) { past_participles.map { |v| Microscope::InstanceMethod.past_participle_to_infinitive(v) } } specify do expect(mapped_past_participles).to eql infinitives end end end end
Version data entries
8 entries across 8 versions & 1 rubygems