Sha256: c6c5acf5ade0fc053ff02140d1961462cb905cba0d3dc17d64875e75baca902a
Contents?: true
Size: 558 Bytes
Versions: 7
Compression:
Stored size: 558 Bytes
Contents
Around '@footer' do |scenario, block| previous_footer = ActiveAdmin.application.footer begin block.call ensure ActiveAdmin.application.footer = previous_footer end end Then /^I should see the default footer$/ do expect(page).to have_css '#footer', text: "Powered by Active Admin #{ActiveAdmin::VERSION}" end Then /^I should see the footer "([^"]*)"$/ do |footer| expect(page).to have_css '#footer', text: footer end Then /^I should not see the footer "([^"]*)"$/ do |footer| expect(page).to_not have_css '#footer', text: footer end
Version data entries
7 entries across 7 versions & 2 rubygems