fixes conflicts with fork

This commit is contained in:
rgarcia
2016-06-17 19:40:30 +02:00
parent 9f195350a3
commit 98040e191e
8 changed files with 29 additions and 2 deletions

View File

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

View File

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