Skip to content

Commit

Permalink
Merge pull request #140 from lsa-mis/fix-specific_attribute_state_spec
Browse files Browse the repository at this point in the history
fix spec missed error
  • Loading branch information
britaumich authored Jul 7, 2024
2 parents 4df9ab7 + d1bc798 commit 1b754f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/specific_attribute_state_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
it 'raise error "ActiveRecord::RecordInvalid: Validation failed: Quantity box value can\'t be blank if quantity box is required"' do
room = FactoryBot.create(:room)
room_state = FactoryBot.create(:room_state, room: room)
specific_attribute = FactoryBot.create(:specific_attribute, room: room, need_quantity_box: true)
specific_attribute = FactoryBot.create(:specific_attribute, room: room, need_quantity_box: true, need_checkbox: false)
state = FactoryBot.build(:specific_attribute_state,
room_state: room_state,
specific_attribute: specific_attribute,
Expand Down

0 comments on commit 1b754f2

Please sign in to comment.