From 86e23a584a025131eedb919c8f67f3e81a0f58f3 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 15 Mar 2013 16:05:07 +0200 Subject: [PATCH] spianch -> profile -> specify within block --- features/steps/profile/profile.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index e5a39ab..a02ed05 100644 --- a/features/steps/profile/profile.rb +++ b/features/steps/profile/profile.rb @@ -67,11 +67,15 @@ class Profile < Spinach::FeatureSteps end When "I change my application theme" do - choose "Violet" + within '.application-theme' do + choose "Violet" + end end When "I change my code preview theme" do - choose "Dark code preview" + within '.code-preview-theme' do + choose "Solarized Dark" + end end Then "I should see the theme change immediately" do -- libgit2 0.21.2