Make the dashboard choice text match the text in the sidebar

This commit is contained in:
Robert Speicher 2015-06-10 17:38:11 -04:00
parent bf9dd4327e
commit fb5271ddf1
2 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ module PreferencesHelper
orig = User.dashboards.keys
choices = [
['Projects (default)', orig[0]],
['Starred Projects', orig[1]]
['Your Projects (default)', orig[0]],
['Starred Projects', orig[1]]
]
if orig.size != choices.size

View File

@ -42,8 +42,8 @@ describe PreferencesHelper do
it 'provides better option descriptions' do
choices = dashboard_choices
expect(choices[0]).to eq ['Projects (default)', 'projects']
expect(choices[1]).to eq ['Starred Projects', 'stars']
expect(choices[0]).to eq ['Your Projects (default)', 'projects']
expect(choices[1]).to eq ['Starred Projects', 'stars']
end
end