Sha256: 0f6e52c8675ba6734f05755f10c501d68136ba5182da918f495ab316d31ae21e

Contents?: true

Size: 284 Bytes

Versions: 3

Compression:

Stored size: 284 Bytes

Contents

require_relative "../lib/jstgenerator"

describe JstGenerator::Engine do
  it "can glob for files" do
    engine = JstGenerator::Engine.new(:dir_glob => "spec/fixtures/*.hb")
    expect(engine.files.size).to eq 1
    expect(engine.files.first).to eq "spec/fixtures/test.hb"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jstgenerator-0.1.1 spec/engine_spec.rb
jstgenerator-0.1.0 spec/engine_spec.rb
jstgenerator-0.0.1 spec/engine_spec.rb