Skip to content

Commit

Permalink
Trying to fix cucumber test
Browse files Browse the repository at this point in the history
  • Loading branch information
harrietc52 committed Sep 3, 2024
1 parent abb201c commit d4d5731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module ValueRequired
extend ActiveSupport::Concern

included do
validates_presence_of :value, message: "#{name.demodulize.tableize.humanize.singularize} can't be blank"
validates_presence_of :value, message: "^#{name.demodulize.tableize.humanize.singularize} can't be blank"
end
end
end
Expand Down

0 comments on commit d4d5731

Please sign in to comment.