rspec-roda 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec-roda.rb +3 -0
- data/lib/rspec/roda.rb +2 -4
- data/lib/rspec/roda/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c74ccfc6012aad3dc0656b55689458be3526ed44f16076d9a9ef2d84e0063257
|
4
|
+
data.tar.gz: 84d77f95b3b4a1f80495c5e1d69bfea82df946e0b55650c22e0df28cf180251c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33d27547a491398af4c31aa976a5f450703a3d47b081a8ebdd1f3aee1558e8eac458ce395bc1694baa2c86edde6bd8dc2d245ff2311ec93c17d36627d4ba728f
|
7
|
+
data.tar.gz: 24527cb5b8452ef095d78eaa32291c24d4c73d90ba0b10029f781b52c550986396423c056480016a7895293e13223c698487649ff25c889e11c322aa14bd4760
|
data/lib/rspec-roda.rb
ADDED
data/lib/rspec/roda.rb
CHANGED
@@ -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
|
data/lib/rspec/roda/version.rb
CHANGED
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.
|
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
|