stimulus_reflex_testing 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7593b2a0398bfc7d315ef8cdd30ff61e21ca44ba268495549f718aaf35ff77e6
4
- data.tar.gz: 75f4613ba6fe69f80c2b589f02c4e5ba87c5e43db5c0bdefd5f4a3d8e5c8eff7
3
+ metadata.gz: b56ef411f6fb1022d9bdf542269eef6b3126e97366c5fbdea25105768a32718b
4
+ data.tar.gz: 41fe7e27a5c7278b14180780d436a490493dd856862804e5973cd187c39d60fa
5
5
  SHA512:
6
- metadata.gz: 8cc5c38946776d9f6e5e80e2b0845d48866276aed16e940316f4b649b0b1c5e623a868f1c3fc3aa67e88adde18f119ccc293093a43ec63cfec46b75f7cf08a46
7
- data.tar.gz: 0dfc60afd5367e6a2d0d4264fbdfd7b3384e71d40f55468ee28ec1b37348fc832fe70f9ff8522dfaf036307c0d866870c8845344b01b17901b6b25e2a1c12598
6
+ metadata.gz: 2067450d8b6acdfa738b52254f0d68af93c4beffba9cbf43f4696500b1dd1491432a91af13f5fb2abf01b0d36849253f704113e3287871c59e7e256d97b5656d
7
+ data.tar.gz: a047b2f4ba93d0c34584eafba3f68bb11bf8b1608665a6d40e444c02253eb7b77f41a240a06f3758809e8691d36dc9063d234a117f17724d31666e02940d9b30
@@ -32,7 +32,7 @@ class StimulusReflex::TestCase < ActiveSupport::TestCase
32
32
  element = opts.fetch(:element, StimulusReflex::Element.new)
33
33
 
34
34
  self.class.reflex_class.new(
35
- channel, element: element, url: opts.dig(:url), method_name: opts.dig(:method_name), params: opts.fetch(:params, {})
35
+ channel, element: element, url: opts.fetch(:url, ""), method_name: opts.dig(:method_name), params: opts.fetch(:params, {})
36
36
  )
37
37
  end
38
38
  end
@@ -1,3 +1,4 @@
1
+ require "stimulus_reflex"
1
2
  require "stimulus_reflex_testing/version"
2
3
  require "stimulus_reflex/test_case"
3
4
  require "stimulus_reflex/test_reflex_patches"
@@ -1,3 +1,3 @@
1
1
  module StimulusReflexTesting
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stimulus_reflex_testing
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
  - Jason Charnes