diff options
Diffstat (limited to 'spec/views/projects/imports/new.html.haml_spec.rb')
-rw-r--r-- | spec/views/projects/imports/new.html.haml_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/imports/new.html.haml_spec.rb b/spec/views/projects/imports/new.html.haml_spec.rb index edf9eadf924..7c171ee65b9 100644 --- a/spec/views/projects/imports/new.html.haml_spec.rb +++ b/spec/views/projects/imports/new.html.haml_spec.rb @@ -9,7 +9,7 @@ RSpec.describe "projects/imports/new.html.haml" do let(:project) { create(:project_empty_repo, :import_failed, import_type: :gitlab_project, import_source: '/var/opt/gitlab/gitlab-rails/shared/tmp/project_exports/uploads/t.tar.gz', import_url: nil) } before do - project.import_state.update(last_error: '<a href="http://googl.com">Foo</a>') + project.import_state.update!(last_error: '<a href="http://googl.com">Foo</a>') sign_in(user) project.add_maintainer(user) end |