Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
vertism committed Sep 23, 2024
1 parent 337e8ed commit 185250f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/feedback_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
it { is_expected.to be_valid }

it do
expect(feedback).to validate_inclusion_of(:ease_of_use).in_array Settings.feedback_options
expect(feedback).to validate_inclusion_of(:completeness).in_array Settings.feedback_options
expect(feedback).to validate_inclusion_of(:ease_of_use).in_array(Settings.feedback_options).with_message("Ease of use is not included in the list")
expect(feedback).to validate_inclusion_of(:completeness).in_array(Settings.feedback_options).with_message("Completeness is not included in the list")
end

describe "Feedback env variable is not null" do
Expand Down

0 comments on commit 185250f

Please sign in to comment.