Sha256: 349ecda31cad73954d0612dd9ad9e1e963c3b00dd2740689820c5ad2a25adefa

Contents?: true

Size: 181 Bytes

Versions: 6

Compression:

Stored size: 181 Bytes

Contents

require "#{File.dirname __FILE__}/helper"
require "ruby_ext/array"

describe 'Array' do
  it 'sfilter' do
    %w{alfa betta gamma}.sfilter('lfa', /et/).should == ['gamma']
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ruby_ext-0.4.7 spec/array_spec.rb
ruby_ext-0.4.6 spec/array_spec.rb
ruby-ext-0.4.6 spec/array_spec.rb
ruby-ext-0.4.4 spec/array_spec.rb
ruby-ext-0.4.3 spec/ruby_ext/array_spec.rb
ruby-ext-0.4.2 spec/ruby_ext/array_spec.rb