Skip to content

Commit

Permalink
Update type validation is not satisfied test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rewinfrey committed Jun 9, 2022
1 parent f5fc454 commit cca2d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/action_logic/action_use_case_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ module ActionLogic
end

it "raises error if type validation is not satisfied" do
expect { ValidateBeforeMixedTypeAndPresenceUseCase.execute(odd_integer_test: 1, string_test: 15) }.to \
expect { ValidateBeforeMixedTypeAndPresenceUseCase.execute(odd_integer_test: "String", string_test: 15) }.to \
raise_error(ActionLogic::AttributeTypeError)
end

Expand Down

0 comments on commit cca2d08

Please sign in to comment.