diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/line_referential_sync_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/line_referential_sync_spec.rb b/spec/models/line_referential_sync_spec.rb index 8befc216a..a237f4d24 100644 --- a/spec/models/line_referential_sync_spec.rb +++ b/spec/models/line_referential_sync_spec.rb @@ -12,12 +12,12 @@ RSpec.describe LineReferentialSync, :type => :model do let!(:line_ref_sync_with_records) { create(:line_referential_sync_with_record, line_sync_operations_count: 30) } it 'should add a new record' do - line_ref_sync.record_status "OK" + line_ref_sync.record_status :ok, "message" expect(line_ref_sync.line_sync_operations.count).to eq(1) end it 'should not have more than 30 records' do - line_ref_sync_with_records.record_status "OK" + line_ref_sync_with_records.record_status :ok, "message" expect(line_ref_sync_with_records.line_sync_operations.count).to eq(30) end end |
