Commit 1e73ebc0 authored by gfyoung's avatar gfyoung Committed by Thong Kuah

Fix typo in create_snippet_spec.rb

reuiqred --> required
parent 71c8f443
...@@ -52,7 +52,7 @@ describe 'Projects > Snippets > Create Snippet', :js do ...@@ -52,7 +52,7 @@ describe 'Projects > Snippets > Create Snippet', :js do
expect(link).to match(%r{/#{Regexp.escape(project.full_path) }/uploads/\h{32}/banana_sample\.gif\z}) expect(link).to match(%r{/#{Regexp.escape(project.full_path) }/uploads/\h{32}/banana_sample\.gif\z})
end end
it 'creates a snippet when all reuiqred fields are filled in after validation failing' do it 'creates a snippet when all required fields are filled in after validation failing' do
fill_in 'project_snippet_title', with: 'My Snippet Title' fill_in 'project_snippet_title', with: 'My Snippet Title'
click_button('Create snippet') click_button('Create snippet')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment