Sha256: 489d36c7f593e9722eb1349162080b45fa352cf23cf61a37688fd971adab345b
Contents?: true
Size: 845 Bytes
Versions: 1
Compression:
Stored size: 845 Bytes
Contents
require 'spec_helper' module DbdOntoEngine describe "Ontologies" do describe "GET /ontologies" do context "routing" do it "when the engine is mounted under /" do dbd_onto_engine.ontologies_path.should == '/ontologies' end end context "page content" do before(:each) do visit(dbd_onto_engine.ontologies_path) end it "shows the ontologies" do expect(page).to have_text('Ontologies') end it "shows the link to the context ontology" do #expect(page).to have_link(url_for(action: 'show', id: 'context')) # have_text('Context') expect(page).to have_text('Context') end it "shows the link to the meta ontology" do expect(page).to have_text('Meta') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dbd_onto_engine-0.0.3 | spec/features/dbd_onto_engine/ontologies_spec.rb |