spec/github/validations/format_spec.rb in github_api-0.11.3 vs spec/github/validations/format_spec.rb in github_api-0.12.0
- old
+ new
@@ -12,10 +12,10 @@
'param_a' => ['a', 'b'],
'param_b' => /^github$/
}
}
- it 'fails to accept unkown value for a given parameter key' do
+ it 'fails to accept unknown value for a given parameter key' do
actual = { 'param_a' => 'x' }
expect {
validator.assert_valid_values(permitted, actual)
}.to raise_error(Github::Error::UnknownValue)
end