Commit 422572a5 authored by Thong Kuah's avatar Thong Kuah

Fixes 2.7 keyword warning in spec

user_views_edit_release_spec.rb
parent 334adc45
...@@ -39,7 +39,7 @@ RSpec.describe 'User edits Release', :js do ...@@ -39,7 +39,7 @@ RSpec.describe 'User edits Release', :js do
it 'renders the edit Release form' do it 'renders the edit Release form' do
expect(page).to have_content('Releases are based on Git tags. We recommend tags that use semantic versioning, for example v1.0, v2.0-pre.') expect(page).to have_content('Releases are based on Git tags. We recommend tags that use semantic versioning, for example v1.0, v2.0-pre.')
expect(find_field('Tag name', { disabled: true }).value).to eq(release.tag) expect(find_field('Tag name', disabled: true).value).to eq(release.tag)
expect(find_field('Release title').value).to eq(release.name) expect(find_field('Release title').value).to eq(release.name)
expect(find_field('Release notes').value).to eq(release.description) expect(find_field('Release notes').value).to eq(release.description)
......
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