Sha256: 6958465202a8f7d7db042258ac5ae0e2d3d9fb8c0fbba17ebbeaec1976167acc
Contents?: true
Size: 435 Bytes
Versions: 5
Compression:
Stored size: 435 Bytes
Contents
require 'spec_helper' require 'ostruct' describe 'dbd_data_engine/contexts/create.html.haml' do before(:each) do a = OpenStruct.new(predicate: 'foo', object: 'bar') assign(:context, [a]) end it 'renders the links partial' do render.should render_template('dbd_data_engine/shared/_links') end it 'renders the context partial' do render.should render_template('dbd_data_engine/contexts/_context') end end
Version data entries
5 entries across 5 versions & 1 rubygems