Sha256: 16f2ff0c7f44c002c29aa22859335c2c032886f47ebd554af3a25c56a3ee83cc
Contents?: true
Size: 419 Bytes
Versions: 5
Compression:
Stored size: 419 Bytes
Contents
module Render describe Attribute do describe "#default_value" do before(:each) do Render.stub({ live: false }) end describe "String" do it "uses attribute name for context" do name = "some identifier" faux_value = HashAttribute.new({ name => { type: String } }).default_value faux_value.should include(name) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems