spianch -> profile -> specify within block

5-0-stable
Dmitriy Zaporozhets 2013-03-15 16:05:07 +02:00
parent 2449bea2c4
commit 86e23a584a
1 changed files with 6 additions and 2 deletions

View File

@ -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