Sha256: 68c68ff94a67e1d317d979f9ea62cef682b798f57d36c8c92251a88800c164b9

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

include Fathom::Distributions

class DemoEnforcedNameNode < Node
  include EnforcedName
end

describe EnforcedName do
  
  it "should ensure that we have a name as a UID if one is not provided" do
    n = DemoEnforcedNameNode.new
    n.name.should_not be_nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fathom-0.3.0 spec/fathom/enforced_name_spec.rb
fathom-0.2.3 spec/fathom/enforced_name_spec.rb