spianch -> profile -> specify within block
This commit is contained in:
parent
2449bea2c4
commit
86e23a584a
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue