Sha256: 0805c6b88a9201cb62445a2aeaf0c9413526592e6a78b7b6e7447f55f8f3414e
Contents?: true
Size: 585 Bytes
Versions: 5
Compression:
Stored size: 585 Bytes
Contents
require 'spec_helper' describe 'dbd_data_engine/contexts/_context.html.haml' do let(:context) do graph = TestFactories::Graph.full context = graph.to_a[0..1] end before(:each) { render 'dbd_data_engine/contexts/context', context: context } it 'shows a predicate' do rendered.should have_css('div.context td', text: 'context:visibility') end it 'shows an object' do rendered.should have_css('div.context td', text: 'public') end it 'shows the context_summary' do rendered.should have_css('div.context h3', text: 'public 2013-10-13') end end
Version data entries
5 entries across 5 versions & 1 rubygems