mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Reduce minimum coverage due to new rack2? method being logically shortcut and fix rubocop warning so travis tests are green
This commit is contained in:
parent
bfe063f12a
commit
e0c2cd7c75
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ module OmniAuth
|
|||
def request_phase
|
||||
form = OmniAuth::Form.new(:title => 'User Info', :url => callback_path)
|
||||
options.fields.each do |field|
|
||||
form.text_field field.to_s.capitalize.gsub('_', ' '), field.to_s
|
||||
form.text_field field.to_s.capitalize.tr('_', ' '), field.to_s
|
||||
end
|
||||
form.button 'Sign In'
|
||||
form.to_response
|
||||
|
|
|
@ -6,7 +6,7 @@ if RUBY_VERSION >= '1.9'
|
|||
|
||||
SimpleCov.start do
|
||||
add_filter '/spec'
|
||||
minimum_coverage(93.05)
|
||||
minimum_coverage(92.93)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue