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 67 end
68 68  
69 69 When "I change my application theme" do
70   - choose "Violet"
  70 + within '.application-theme' do
  71 + choose "Violet"
  72 + end
71 73 end
72 74  
73 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 79 end
76 80  
77 81 Then "I should see the theme change immediately" do
... ...