Sha256: c45a2b540070d357fe5d3c4fdd812bb220523d2fec3cfbabd4d96effd495e3dd

Contents?: true

Size: 288 Bytes

Versions: 33

Compression:

Stored size: 288 Bytes

Contents

require 'volt/page/sub_context'

describe Volt::SubContext do
  it 'should respond_to correctly on locals' do
    sub_context = Volt::SubContext.new(name: 'Name')

    expect(sub_context.respond_to?(:name)).to eq(true)
    expect(sub_context.respond_to?(:missing)).to eq(false)
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
volt-0.9.1.pre3 spec/page/sub_context_spec.rb
volt-0.9.1.pre2 spec/page/sub_context_spec.rb
volt-0.9.1.pre1 spec/page/sub_context_spec.rb
volt-0.9.0 spec/page/sub_context_spec.rb
volt-0.9.0.pre7 spec/page/sub_context_spec.rb
volt-0.9.0.pre6 spec/page/sub_context_spec.rb
volt-0.9.0.pre5 spec/page/sub_context_spec.rb
volt-0.9.0.pre4 spec/page/sub_context_spec.rb
volt-0.9.0.pre3 spec/page/sub_context_spec.rb
volt-0.9.0.pre2 spec/page/sub_context_spec.rb
volt-0.9.0.pre1 spec/page/sub_context_spec.rb
volt-0.8.27.beta9 spec/page/sub_context_spec.rb
volt-0.8.27.beta8 spec/page/sub_context_spec.rb
volt-0.8.27.beta7 spec/page/sub_context_spec.rb
volt-0.8.27.beta6 spec/page/sub_context_spec.rb
volt-0.8.27.beta5 spec/page/sub_context_spec.rb
volt-0.8.27.beta4 spec/page/sub_context_spec.rb
volt-0.8.27.beta3 spec/page/sub_context_spec.rb
volt-0.8.27.beta2 spec/page/sub_context_spec.rb
volt-0.8.27.beta1 spec/page/sub_context_spec.rb