Sha256: d9f24813bf6dcddea77447c387accefe29bd386de38e8c6f8660195cc10f3a4d
Contents?: true
Size: 941 Bytes
Versions: 1
Compression:
Stored size: 941 Bytes
Contents
require 'test_helper' require 'vedeu/parsing/view' module Vedeu describe View do describe '.render' do # it 'returns when the type is :erb' do # output = '' # View.render(:erb, output).must_equal('') # end # it 'returns when the type is :json' do # output = '' # View.render(:json, output).must_equal('') # end # it 'returns when the type is :hash' do # output = '' # View.render(:hash, output).must_equal('') # end # it 'returns when the type is :menu' do # output = '' # View.render(:menu, output).must_equal('') # end # it 'returns when the type is not set' do # output = '' # View.render(nil, output).must_equal('') # end # it 'returns when the type is not recognised' do # output = '' # View.render(:unknown, output).must_equal('') # end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.1.1 | test/lib/vedeu/parsing/view_test.rb |