mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
(bug) invalid test assertion
This commit is contained in:
parent
41465922f3
commit
fa18891bc6
@ -39,9 +39,8 @@ class Exports::MembersExportTest < ActionDispatch::IntegrationTest
|
||||
assert_not_nil workbook[I18n.t('export_members.members')]
|
||||
|
||||
# test data
|
||||
member = User.members.first
|
||||
wb = workbook[I18n.t('export_members.members')]
|
||||
assert_equal member.id, wb.sheet_data[1][0].value
|
||||
member = User.find(wb.sheet_data[1][0].value)
|
||||
assert_equal (member.is_allow_newsletter ? 1 : nil), wb.sheet_data[1][4].value
|
||||
|
||||
# Clean XLSX file
|
||||
|
Loading…
Reference in New Issue
Block a user