Skip to content

Commit fd2737f

Browse files
authored
Merge pull request #125 from activeadmin-plugins/Fivell-patch-2
added spec to ensure error messages are present
2 parents 0071993 + 2be4582 commit fd2737f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/import_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ def upload_file!(name, ext = 'csv')
312312
upload_file!(:authors_invalid_model)
313313
expect(page).to have_content 'Failed to import 1 author'
314314
expect(page).to have_content 'Successfully imported 1 author'
315+
expect(page).to have_content 'Last name has already been taken - Doe'
315316
expect(Author.count).to eq(2)
316317
end
317318

0 commit comments

Comments
 (0)