Commit 86e23a584a025131eedb919c8f67f3e81a0f58f3

Authored by Dmitriy Zaporozhets
1 parent 2449bea2

spianch -> profile -> specify within block

Showing 1 changed file with 6 additions and 2 deletions   Show diff stats
features/steps/profile/profile.rb
@@ -67,11 +67,15 @@ class Profile < Spinach::FeatureSteps @@ -67,11 +67,15 @@ class Profile < Spinach::FeatureSteps
67 end 67 end
68 68
69 When "I change my application theme" do 69 When "I change my application theme" do
70 - choose "Violet" 70 + within '.application-theme' do
  71 + choose "Violet"
  72 + end
71 end 73 end
72 74
73 When "I change my code preview theme" do 75 When "I change my code preview theme" do
74 - choose "Dark code preview" 76 + within '.code-preview-theme' do
  77 + choose "Solarized Dark"
  78 + end
75 end 79 end
76 80
77 Then "I should see the theme change immediately" do 81 Then "I should see the theme change immediately" do