Sha256: f1f840f7c4ab1552da0a29992a82d0ed704ccd7a4282817699d482685b390442

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

require_relative '../spec_helper'
describe CodeLister do
  context "#files" do
    it 'works with non_exts option' do
      list = CodeLister::Main.run base_dir: 'spec/fixtures/',
                                  recursive: true,
                                  non_exts: %w(noexts1_zzz noexts2_zzz)
      expect(list).to eq [ "spec/fixtures/noexts1_zzz",
                           "spec/fixtures/noexts2_zzz" ]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_lister-0.0.6 spec/code_lister/main_spec.rb