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

Version Path
dbd_data_engine-0.0.10 spec/views/dbd_data_engine/contexts/create.html.haml_spec.rb
dbd_data_engine-0.0.9 spec/views/dbd_data_engine/contexts/create.html.haml_spec.rb
dbd_data_engine-0.0.8 spec/views/dbd_data_engine/contexts/create.html.haml_spec.rb
dbd_data_engine-0.0.7 spec/views/dbd_data_engine/contexts/create.html.haml_spec.rb
dbd_data_engine-0.0.6 spec/views/dbd_data_engine/contexts/create.html.haml_spec.rb