Sha256: b5631ce0caaf13c008b511d76e99ea4b9eb8b0cbee49317c12787009d5277bcb

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe 'dbd_data_engine/data/index.html.haml' do
  it 'renders' do
    render
  end

  it 'links to resources' do
    render
    rendered.should match(%r{<a href="/data/resources">resources</a>})
  end

  it 'links to contexts' do
    render
    rendered.should match(%r{<a href="/data/contexts">contexts</a>})
  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/data/index.html.haml_spec.rb
dbd_data_engine-0.0.9 spec/views/dbd_data_engine/data/index.html.haml_spec.rb
dbd_data_engine-0.0.8 spec/views/dbd_data_engine/data/index.html.haml_spec.rb
dbd_data_engine-0.0.7 spec/views/dbd_data_engine/data/index.html.haml_spec.rb
dbd_data_engine-0.0.6 spec/views/dbd_data_engine/data/index.html.haml_spec.rb