@subject =
case kind
when 'SingleOntology'
when 'DistributedOntology'
when 'child Ontology'
when 'Symbol'
when 'Mapping'
when 'Theorem'
when 'ProofAttempt'
when 'ProverOutput'
end
end
visit @subject.locid
end
Given(/^I visit my subject's (\S+) command$/) do |command|
end
end
expect(page.title).to include(@subject.send(attribute))
end
ontology = @subject.ontology
expect(page.title).to include(ontology.send(attribute))
end
Then(/^the active tab in the navigation level (\d+) should be "([^"]+)"$/) do |level, text|
expect(page.find_all(".nav_tab_level#{level} > .nav-tabs > li.active").last.text).
to eq(text)
end
theorem = @subject.theorem
end
Then(/^a headline should include "Prover Output for \[theorem's name\]'s proof attempt #\[proof attempt's number\]"$/) do
search_string = "Prover Output for #{theorem.name}'s proof attempt ##{proof_attempt.number}"
end