Sha256: d33e04c1a27eee06b0ab112e8501fdf77d8040657154bdee921dd7e93e2c5856
Contents?: true
Size: 784 Bytes
Versions: 5
Compression:
Stored size: 784 Bytes
Contents
Given /^content exists$/ do @_content = Factory(:page_a) end When /^I create a new root$/ do visit new_noodall_admin_node_path end Then /^I should be able select a template from the following:$/ do |table| table.hashes.each do |row| visit new_noodall_admin_node_path choose(row['Template']) fill_in("Title", :with => "A title") click_button "Create" page.should have_content "#{row['Template']} 'A title' was successfully created." end end Then /^I should see a tree style list that contains all content$/ do #Roots page.should have_css("ol#sitemap-node-tree-root li:nth(#{Noodall::Node.roots.count})") page.should have_css("ol#sitemap-node-tree-root li li") end Then /^I should see a page of xml$/ do page.should have_xpath("//urlset") end
Version data entries
5 entries across 5 versions & 1 rubygems