Relax rspec dep

This commit is contained in:
Bobby McDonald 2020-12-10 11:01:41 -05:00
parent 3d9ed07dc9
commit 97ef26f955
No known key found for this signature in database
GPG Key ID: CAD931A49619329A
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ group :test do
gem 'rack', '>= 2.0.6', :platforms => %i[jruby_18 jruby_19 ruby_19 ruby_20 ruby_21]
gem 'rack-test'
gem 'rest-client', '~> 2.0.0', :platforms => [:jruby_18]
gem 'rspec', '~> 3.5.0'
gem 'rspec', '~> 3.5'
gem 'rubocop', '>= 0.58.2', '< 0.69.0', :platforms => %i[ruby_20 ruby_21 ruby_22 ruby_23 ruby_24]
gem 'simplecov-lcov'
gem 'tins', '~> 1.13', :platforms => %i[jruby_18 jruby_19 ruby_19]

View File

@ -33,7 +33,7 @@ describe OmniAuth::Form do
describe '#html' do
it 'appends to the html body' do
form = OmniAuth::Form.build { @html = '<p></p>' }
form = OmniAuth::Form.build { @html = +'<p></p>' }
form.html('<h1></h1>')
expect(form.instance_variable_get(:@html)).to eq '<p></p><h1></h1>'