diff options
-rw-r--r-- | features/steps/profile/profile.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/features/steps/profile/profile.rb b/features/steps/profile/profile.rb index e5a39abcc78..a02ed057d9d 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 |