Sha256: 0c49b52c4a4d78f090eadff81c7250575efc989ebb7760803894416d55f2589c

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

require 'spec_helper'

module Jschematic
  module Attributes
    describe Format do
      it "returns a NullFormat when the format is not found" do
        format = Format.new("i-don't-exist")
        format.should be_an_instance_of(Format::NullFormat)
        format.format.should == "i-don't-exist"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jschematic-0.1.0 spec/jschematic/attributes/format_spec.rb
jschematic-0.0.9 spec/jschematic/attributes/format_spec.rb
jschematic-0.0.6 spec/jschematic/attributes/format_spec.rb
jschematic-0.0.5 spec/jschematic/attributes/format_spec.rb