Sha256: 85360ef40c8e8938f20737f7360b520f249a32a783ec5f1fd61c705b36d7cc83

Contents?: true

Size: 476 Bytes

Versions: 2

Compression:

Stored size: 476 Bytes

Contents

require 'spec_helper'

describe "dbd_onto_engine/ontologies/show.html.haml" do

  before(:each) do
    @ontology = 'foo'
  end

  it "talks about an ontology" do
    render
    rendered.should have_css('h1', text: 'Ontology Foo')
  end

  it "explains U" do
    render
    rendered.should have_css('p', text: 'U stands for "used to create new resources"')
  end

  it 'renders the links partial' do
    render.should render_template('dbd_onto_engine/shared/_links')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dbd_onto_engine-0.0.9 spec/views/dbd_onto_engine/ontologies/show.html.haml_spec.rb
dbd_onto_engine-0.0.8 spec/views/dbd_onto_engine/ontologies/show.html.haml_spec.rb