mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update cms_admin spec work after Spree 1.3 upgrade broke it
This commit is contained in:
@@ -11,11 +11,12 @@ feature %q{
|
||||
|
||||
scenario "admin can access CMS admin and return to Spree admin" do
|
||||
login_to_admin_section
|
||||
click_link 'Configuration'
|
||||
click_link 'CMS Admin'
|
||||
page.should have_content "ComfortableMexicanSofa"
|
||||
|
||||
click_link 'Spree Admin'
|
||||
page.should have_selector 'h1', :text => 'Administration'
|
||||
current_path.should == spree.admin_path
|
||||
end
|
||||
|
||||
scenario "anonymous user can't access CMS admin" do
|
||||
|
||||
Reference in New Issue
Block a user