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
|
end
|
||||||
|
|
||||||
When "I change my application theme" do
|
When "I change my application theme" do
|
||||||
|
within '.application-theme' do
|
||||||
choose "Violet"
|
choose "Violet"
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
When "I change my code preview theme" do
|
When "I change my code preview theme" do
|
||||||
choose "Dark code preview"
|
within '.code-preview-theme' do
|
||||||
|
choose "Solarized Dark"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
Then "I should see the theme change immediately" do
|
Then "I should see the theme change immediately" do
|
||||||
|
|
Loading…
Add table
Reference in a new issue