Sha256: cfe72de78de682183a4f7c3a397b56811bf98b04b07b970276277821cdee9974

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

require 'spec_helper'

describe 'dbd_onto_engine/shared/_links.html.haml' do

  before(:each) do
    render 'dbd_onto_engine/shared/links'
  end

  it 'renders the link to ontologies' do
    rendered.should have_css('a[href="/ontologies"]', text: 'ontologies')
  end

  it 'renders the link to resources' do
    rendered.should have_css('a[href="/data/resources"]', text: 'resources')
  end

  it 'renders the link to contexts' do
    rendered.should have_css('a[href="/data/contexts"]', text: 'contexts')
  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/shared/_links.html.haml_spec.rb
dbd_onto_engine-0.0.8 spec/views/dbd_onto_engine/shared/_links.html.haml_spec.rb