bad.each do |url|
app = build(:client_application)
app.url = url
- assert !app.valid?, "#{url} is valid when it shouldn't be"
+ assert_not app.valid?, "#{url} is valid when it shouldn't be"
end
end
bad.each do |url|
app = build(:client_application)
app.support_url = url
- assert !app.valid?, "#{url} is valid when it shouldn't be"
+ assert_not app.valid?, "#{url} is valid when it shouldn't be"
end
end
bad.each do |url|
app = build(:client_application)
app.callback_url = url
- assert !app.valid?, "#{url} is valid when it shouldn't be"
+ assert_not app.valid?, "#{url} is valid when it shouldn't be"
end
end
end