fixes conflicts with fork
This commit is contained in:
@@ -37,6 +37,7 @@ feature 'Account' do
|
||||
check 'account_email_on_comment_reply'
|
||||
uncheck 'account_email_digest'
|
||||
uncheck 'account_email_on_direct_message'
|
||||
check 'account_official_position_badge'
|
||||
click_button 'Save changes'
|
||||
|
||||
expect(page).to have_content "Changes saved"
|
||||
@@ -48,6 +49,7 @@ feature 'Account' do
|
||||
expect(find("#account_email_on_comment_reply")).to be_checked
|
||||
expect(find("#account_email_digest")).to_not be_checked
|
||||
expect(find("#account_email_on_direct_message")).to_not be_checked
|
||||
expect(find("#account_official_position_badge")).to be_checked
|
||||
end
|
||||
|
||||
scenario 'Edit Organization' do
|
||||
|
||||
@@ -95,6 +95,12 @@ describe User do
|
||||
expect(subject.email_on_direct_message).to eq(true)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'official_position_badge' do
|
||||
it 'should be false by default' do
|
||||
expect(subject.official_position_badge).to eq(false)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe "administrator?" do
|
||||
|
||||
Reference in New Issue
Block a user