Sha256: 669afc50cd85715804e496be6c99be728cbe58b6f663c38435aa494519a3f03d

Contents?: true

Size: 421 Bytes

Versions: 7

Compression:

Stored size: 421 Bytes

Contents

require 'spec_helper'
Dir["#{File.expand_path('../../../examples', __FILE__)}/**/*.alf"].each do |file|

  describe "Alf example: #{file}" do
    let(:example_path){ file }
    let(:example_dir) { File.dirname(file) }
    let(:example_env) { Alf::Environment.folder(example_dir) }

    it "should run without error" do
      Alf.lispy(example_env).compile(File.read(example_path), example_path).to_rel
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
alf-0.12.2 spec/integration/test_examples.rb
alf-0.12.1 spec/integration/test_examples.rb
alf-0.12.0 spec/integration/test_examples.rb
alf-0.11.1 spec/integration/test_examples.rb
alf-0.11.0 spec/integration/test_examples.rb
alf-0.10.1 spec/integration/test_examples.rb
alf-0.10.0 spec/integration/test_examples.rb