rspectacular 0.25.0 → 0.26.0

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
  SHA1:
3
- metadata.gz: a0e29201f9d0688f4891273f2d65c3c5d0ac7bbc
4
- data.tar.gz: b64d36412be239c395001c0d3e05c2de811611c4
3
+ metadata.gz: 11bef21f43b2a34319758e8b2746826c42452068
4
+ data.tar.gz: bfc8a1f2567d4efa0f7917e22cc2b1d6c74c8898
5
5
  SHA512:
6
- metadata.gz: d732d7ea26a34eff1edabd52314068b709ea4521ed0624b457f9c0bb13cbb0c4c21da48bc0b52227b78ba55ae81bd1cd5499cce6eb5b4ce79544734ba6bc0a7f
7
- data.tar.gz: a9b883d902783b282e8e292ddae7a439a65b5a541da0a12e27639da09ae7893691cd9c961f15b36b48d200703e19c272839beabc444e4cf41261de521dcd6b60
6
+ metadata.gz: e8a4f5dad76e0a4077247dd6f7cd76d2a204c9c739231cb8edd511bf7e608f050c6fb032f8b29bbaeea8136d91875d37dbfbded281c7531a9d20483ee4c32d18
7
+ data.tar.gz: 8fda45af3e053e3690dba39e6467be6a7b0c90025d58aa900541ceeb3d1aa4e3dde56cae18853e02d4adca0e9372ecc91027d412f2d2ff7a09ae10eb9a7ebf58
@@ -14,6 +14,10 @@ begin
14
14
  config.before(:suite, :type => :feature) do |example|
15
15
  Warden.test_mode!
16
16
  end
17
+
18
+ config.before(:each, :type => :controller) do |example|
19
+ @request.env['devise.mapping'] = Devise.mappings[:user]
20
+ end
17
21
  end
18
22
  rescue LoadError
19
23
  end
@@ -0,0 +1,5 @@
1
+ RSpec.configure do |config|
2
+ config.mock_with :rspec do |mocks|
3
+ mocks.verify_partial_doubles = true
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module RSpectacular
2
- VERSION = '0.25.0'
2
+ VERSION = '0.26.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspectacular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jfelchner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-16 00:00:00.000000000 Z
11
+ date: 2014-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -101,6 +101,7 @@ files:
101
101
  - lib/rspectacular/support/focused.rb
102
102
  - lib/rspectacular/support/formatters.rb
103
103
  - lib/rspectacular/support/garbage_collection.rb
104
+ - lib/rspectacular/support/mocks.rb
104
105
  - lib/rspectacular/support/pending.rb
105
106
  - lib/rspectacular/support/rails.rb
106
107
  - lib/rspectacular/support/random.rb