Sha256: ea1955564058442bafcd2d46b236a8fe2049a431685e6c6da7de9646bfbd5b73

Contents?: true

Size: 238 Bytes

Versions: 1

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

describe String do
  describe '#extract_option' do
    specify { 'foo:bar'.extract_option.should eq('bar') }
  end
  
  describe '#remove_option' do
    specify { 'foo:bar'.remove_option.should eq('foo') }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
relish-0.1.0 spec/relish/core_ext_spec.rb