Sha256: 9ca80d319cb7f98678a378708edf9144e13eb70003eb099c4a99fee67d1d7d39

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

require_relative "spec_helper"

describe YSI::Assertion do
  describe ".class_for_name" do
    it "creates VersionNumber class" do
      expect(YSI::Assertion.class_for_name("version")).
        to be(YSI::Version)
    end

    it "creates ChangeLog class" do
      expect(YSI::Assertion.class_for_name("change_log")).
        to be(YSI::ChangeLog)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yes_ship_it-0.0.2 spec/unit/assertion_spec.rb