Sha256: 773c2de4251adb218c413de3e191b9a70ebc7becbf7de6151aff3c710788d1bd
Contents?: true
Size: 287 Bytes
Versions: 14
Compression:
Stored size: 287 Bytes
Contents
require 'spec_helper' describe Mutant::Differ, '.build' do let(:object) { described_class } subject { object.build(old_string, new_string) } let(:old_string) { "foo\nbar" } let(:new_string) { "bar\nbaz" } it { should eql(Mutant::Differ.new(%w(foo bar), %w(bar baz))) } end
Version data entries
14 entries across 14 versions & 1 rubygems