fix notes specs
This commit is contained in:
parent
fd1b9fdc12
commit
dfe2a742c2
2 changed files with 7 additions and 7 deletions
|
@ -21,9 +21,9 @@ describe "On the project wall", js: true do
|
|||
it { within(".js-main-target-form") { should_not have_link("Cancel") } }
|
||||
|
||||
# notifiactions
|
||||
it { within(".js-main-target-form") { should have_checked_field("Project team") } }
|
||||
it { within(".js-main-target-form") { should_not have_checked_field("Commit author") } }
|
||||
it { within(".js-main-target-form") { should_not have_unchecked_field("Commit author") } }
|
||||
it { within(".js-main-target-form") { should have_checked_field("Notify team via email") } }
|
||||
it { within(".js-main-target-form") { should_not have_checked_field("Notify commit author") } }
|
||||
it { within(".js-main-target-form") { should_not have_unchecked_field("Notify commit author") } }
|
||||
|
||||
describe "without text" do
|
||||
it { within(".js-main-target-form") { should have_css(".js-note-preview-button", visible: false) } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue