version_spec.cr 264 B

12345678910111213
  1. require "yaml"
  2. require "./spec_helper"
  3. describe Luce do
  4. it "matches the version defined in shard.yml" do
  5. yaml = File.open("shard.yml") { |file| YAML.parse file }
  6. yaml["version"]?.should_not be_nil
  7. yaml["version"].should eq Luce::VERSION
  8. end
  9. end