Skip to content

Commit

Permalink
Update test expectations due to validation
Browse files Browse the repository at this point in the history
  • Loading branch information
aisayo committed Oct 16, 2023
1 parent e179120 commit 5355be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/feature_flag_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
expect {
create(:feature_flag, name: duplicate_feature_flag_name)
create(:feature_flag, name: duplicate_feature_flag_name)
}.to raise_error(ActiveRecord::RecordNotUnique)
}.to raise_error(ActiveRecord::RecordInvalid)
end
end
end

0 comments on commit 5355be5

Please sign in to comment.