diff options
author | Stormwind <stormwind@stormwinds-page.de> | 2023-05-08 12:49:31 +0200 |
---|---|---|
committer | Stormwind <stormwind@stormwinds-page.de> | 2023-05-09 12:36:57 +0200 |
commit | 49af46c6867ac11628f624d2376df95600d1bd15 (patch) | |
tree | 445e640c6ca5c5c0ad386dd2d5a222b16ac7e219 | |
parent | 7f0df1746a184326e2ed58467bbb05938f221e3a (diff) |
Update dependencies
Updated the dependencies to current versions of the gems this framework
relies on. Also got the tests back running, as the synthax of RSpec
slightly changed the past years.
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | Gemfile.lock | 38 | ||||
-rw-r--r-- | spec/spec_helper.rb | 1 | ||||
-rw-r--r-- | spec/unit/zero/controller/render_spec.rb | 2 |
4 files changed, 28 insertions, 14 deletions
@@ -6,4 +6,5 @@ group :test do gem 'thor' gem 'rack' gem 'rspec' + gem 'rspec-its' end diff --git a/Gemfile.lock b/Gemfile.lock index 7f402b2..20c34e0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,24 +7,36 @@ PATH GEM remote: https://rubygems.org/ specs: - diff-lcs (1.2.5) - rack (1.5.2) - rspec (2.14.1) - rspec-core (~> 2.14.0) - rspec-expectations (~> 2.14.0) - rspec-mocks (~> 2.14.0) - rspec-core (2.14.8) - rspec-expectations (2.14.5) - diff-lcs (>= 1.1.3, < 2.0) - rspec-mocks (2.14.6) - thor (0.18.1) - tilt (2.0.0) + diff-lcs (1.5.0) + rack (3.0.4.1) + rspec (3.12.0) + rspec-core (~> 3.12.0) + rspec-expectations (~> 3.12.0) + rspec-mocks (~> 3.12.0) + rspec-core (3.12.1) + rspec-support (~> 3.12.0) + rspec-expectations (3.12.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-its (1.3.0) + rspec-core (>= 3.0.0) + rspec-expectations (>= 3.0.0) + rspec-mocks (3.12.3) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.12.0) + rspec-support (3.12.0) + thor (1.2.1) + tilt (2.0.11) PLATFORMS - ruby + x86_64-linux DEPENDENCIES rack rspec + rspec-its thor zero! + +BUNDLED WITH + 2.4.1 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 733a9a9..2db4ebb 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,5 @@ require 'bundler/setup' +require 'rspec/its' if ENV['SIMPLECOV'] require 'simplecov' diff --git a/spec/unit/zero/controller/render_spec.rb b/spec/unit/zero/controller/render_spec.rb index 0228524..e9fde82 100644 --- a/spec/unit/zero/controller/render_spec.rb +++ b/spec/unit/zero/controller/render_spec.rb @@ -5,7 +5,7 @@ describe Zero::Controller, '#render' do subject { object.new(env) } let(:env) { EnvGenerator.get('/foo') } - let(:renderer) { mock } + let(:renderer) { Object.new } let(:template) { '/foo' } before :each do |