From 290f2276cd28417f917ff11ebf7f31fefca16729 Mon Sep 17 00:00:00 2001 From: Rob H Date: Thu, 14 Feb 2013 14:03:14 +1100 Subject: [PATCH] Update cms_admin spec work after Spree 1.3 upgrade broke it --- spec/features/admin/cms_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/features/admin/cms_spec.rb b/spec/features/admin/cms_spec.rb index 0db46cd70b..8faa8c37fb 100644 --- a/spec/features/admin/cms_spec.rb +++ b/spec/features/admin/cms_spec.rb @@ -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