summaryrefslogtreecommitdiff
path: root/spec/views/profiles/keys/_form.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/profiles/keys/_form.html.haml_spec.rb')
-rw-r--r--spec/views/profiles/keys/_form.html.haml_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/profiles/keys/_form.html.haml_spec.rb b/spec/views/profiles/keys/_form.html.haml_spec.rb
index 624d7492aea..ba8394178d9 100644
--- a/spec/views/profiles/keys/_form.html.haml_spec.rb
+++ b/spec/views/profiles/keys/_form.html.haml_spec.rb
@@ -30,8 +30,8 @@ RSpec.describe 'profiles/keys/_form.html.haml' do
end
it 'has the title field', :aggregate_failures do
- expect(rendered).to have_field('Title', type: 'text', placeholder: 'e.g. My MacBook key')
- expect(rendered).to have_text('Give your individual key a title. This will be publicly visible.')
+ expect(rendered).to have_field('Title', type: 'text', placeholder: 'Example: MacBook key')
+ expect(rendered).to have_text('Key titles are publicly visible.')
end
it 'has the expires at field', :aggregate_failures do