rspec-roda 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a0ef0fd50116d8684132ca00a704aa85e3e91b3816bf8a440693a4a645b1436
4
- data.tar.gz: 9a207f9f1b779642686fbb90a7d820bc90aab16f9e97c56832af8b4c7b423ccc
3
+ metadata.gz: c74ccfc6012aad3dc0656b55689458be3526ed44f16076d9a9ef2d84e0063257
4
+ data.tar.gz: 84d77f95b3b4a1f80495c5e1d69bfea82df946e0b55650c22e0df28cf180251c
5
5
  SHA512:
6
- metadata.gz: ae5d9c6c944a4c790caf58c3a9ff548be345d29e6c72b57bc491db65599a5334afe21b7c6fca4f679c07cef31dca4cdc728f53990829f9b93d4257d4befe23a8
7
- data.tar.gz: 75259cb52e801e4091398a83fd53f1a9d271ff8eb9933df2cb337972dc29482c4a4fcc25241cf0d664c030d6ab65cecc6d378f58482d7387704543288e195a4a
6
+ metadata.gz: 33d27547a491398af4c31aa976a5f450703a3d47b081a8ebdd1f3aee1558e8eac458ce395bc1694baa2c86edde6bd8dc2d245ff2311ec93c17d36627d4ba728f
7
+ data.tar.gz: 24527cb5b8452ef095d78eaa32291c24d4c73d90ba0b10029f781b52c550986396423c056480016a7895293e13223c698487649ff25c889e11c322aa14bd4760
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'rspec/roda'
@@ -77,6 +77,8 @@ end
77
77
  RSpec.shared_context 'Roda app', roda: :app do
78
78
  include RSpec::Roda::App
79
79
 
80
+ subject { last_response }
81
+
80
82
  let(:roda_instance) { roda_class.new(env) }
81
83
  let(:env) { {} }
82
84
  end
@@ -87,8 +89,4 @@ RSpec.shared_context 'Roda plugin', roda: :plugin do
87
89
 
88
90
  let(:route_block) { proc { |r| } }
89
91
  let(:plugin) { described_class }
90
-
91
- it { expect(plugin).to be_a Module }
92
92
  end
93
-
94
- RSpec::Mocks::Syntax.enable_should
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Roda
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-roda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Semyonov
@@ -221,6 +221,7 @@ files:
221
221
  - bin/yard
222
222
  - bin/yardoc
223
223
  - bin/yri
224
+ - lib/rspec-roda.rb
224
225
  - lib/rspec/roda.rb
225
226
  - lib/rspec/roda/version.rb
226
227
  - rspec-roda.gemspec