rspectacular 0.26.0 → 0.27.0

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
  SHA1:
3
- metadata.gz: 11bef21f43b2a34319758e8b2746826c42452068
4
- data.tar.gz: bfc8a1f2567d4efa0f7917e22cc2b1d6c74c8898
3
+ metadata.gz: 63f7625baa9bb8302148f4d20f0e0ef9c0a77845
4
+ data.tar.gz: ed8ed841a6757b97011b73344d428215a0ff690f
5
5
  SHA512:
6
- metadata.gz: e8a4f5dad76e0a4077247dd6f7cd76d2a204c9c739231cb8edd511bf7e608f050c6fb032f8b29bbaeea8136d91875d37dbfbded281c7531a9d20483ee4c32d18
7
- data.tar.gz: 8fda45af3e053e3690dba39e6467be6a7b0c90025d58aa900541ceeb3d1aa4e3dde56cae18853e02d4adca0e9372ecc91027d412f2d2ff7a09ae10eb9a7ebf58
6
+ metadata.gz: 10272de49c24acf6f7d9de0e5fdee24b805574eba9ec1235c31dc7cc43bcb329165676ccd33bcc45761d160ac37b6cbce28153905afd16561167630e32ff2b6a
7
+ data.tar.gz: 19885d09c6de57460efb2483d81ddae969328f01aa24f41b05b2b6551ca46e329283e2db162491af95f5ed265d9f79cb2b876daef5d9db19468cf4381698cf55
@@ -28,6 +28,12 @@ if defined?(Capybara::Driver::Base)
28
28
  end
29
29
  end
30
30
 
31
+ Capybara.configure do |config|
32
+ config.match = :prefer_exact
33
+ config.ignore_hidden_elements = true
34
+ config.visible_text_only = true
35
+ end
36
+
31
37
  if defined?(Chamber)
32
38
  Capybara.default_host = Chamber.env.http.host_with_port
33
39
  Capybara.app_host = Chamber.env.http.base_url
@@ -9,9 +9,11 @@ begin
9
9
  ###
10
10
  # Tell OmniAuth to just return whatever hash we want for each auth type
11
11
  #
12
- OmniAuth.config.test_mode = true
13
- OmniAuth.config.mock_auth[:facebook] = OmniAuth::Facebook::MockAuthentication.user
14
- OmniAuth.config.mock_auth[:twitter] = OmniAuth::Twitter::MockAuthentication.user
12
+ OmniAuth.configure do |config|
13
+ config.test_mode = true
14
+ config.mock_auth[:facebook] = OmniAuth::Facebook::MockAuthentication.user
15
+ config.mock_auth[:twitter] = OmniAuth::Twitter::MockAuthentication.user
16
+ end
15
17
 
16
18
  ###
17
19
  # Except we don't want OmniAuth to fake anything when doing live tests
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.26.0'
2
+ VERSION = '0.27.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner