rspec-rails 3.3.3 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.document +1 -1
- data/.yardopts +1 -1
- data/Changelog.md +21 -0
- data/{License.txt → License.md} +5 -3
- data/README.md +22 -10
- data/lib/generators/rspec.rb +1 -0
- data/lib/generators/rspec/install/templates/spec/rails_helper.rb +6 -1
- data/lib/rspec/rails/configuration.rb +24 -17
- data/lib/rspec/rails/example/controller_example_group.rb +1 -0
- data/lib/rspec/rails/example/feature_example_group.rb +1 -0
- data/lib/rspec/rails/example/helper_example_group.rb +1 -0
- data/lib/rspec/rails/example/job_example_group.rb +1 -0
- data/lib/rspec/rails/example/mailer_example_group.rb +1 -0
- data/lib/rspec/rails/example/model_example_group.rb +1 -0
- data/lib/rspec/rails/example/rails_example_group.rb +1 -0
- data/lib/rspec/rails/example/request_example_group.rb +1 -0
- data/lib/rspec/rails/example/routing_example_group.rb +1 -0
- data/lib/rspec/rails/example/view_example_group.rb +2 -4
- data/lib/rspec/rails/feature_check.rb +0 -1
- data/lib/rspec/rails/matchers.rb +5 -0
- data/lib/rspec/rails/matchers/active_job.rb +165 -0
- data/lib/rspec/rails/matchers/be_a_new.rb +1 -0
- data/lib/rspec/rails/matchers/be_new_record.rb +1 -0
- data/lib/rspec/rails/matchers/be_valid.rb +1 -0
- data/lib/rspec/rails/matchers/have_rendered.rb +21 -2
- data/lib/rspec/rails/version.rb +1 -1
- data/lib/rspec/rails/view_rendering.rb +1 -0
- metadata +12 -11
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01a00f10eee52408429aac920152745edbb5fbe6
|
4
|
+
data.tar.gz: 9f0fb99df0c8eb32b823dff0496dca286bd2a36a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebc16491b83addf8ada3e9ea5f030da43bf01e6bb39c6d1a5920f0c4acbc2f482fa55dd8c23c16b4f2419d5d74e1005cfc1c5b44ff5cda7dcd8584dfe610d1fa
|
7
|
+
data.tar.gz: 1648b996f98c9232dee112034ae12e569a9105cccb30dca95140727d5b8f0df4c8fd5945592fc0a5608cfa128f4e195568010a43874737250689ee55b6862ed1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.document
CHANGED
data/.yardopts
CHANGED
data/Changelog.md
CHANGED
@@ -1,3 +1,24 @@
|
|
1
|
+
### 3.4.0 / 2015-11-11
|
2
|
+
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.3...v3.4.0)
|
3
|
+
|
4
|
+
Enhancements:
|
5
|
+
|
6
|
+
* Improved the failure message for `have_rendered` matcher on a redirect
|
7
|
+
response. (Alex Egan, #1440)
|
8
|
+
* Add configuration option to filter out Rails gems from backtraces.
|
9
|
+
(Bradley Schaefer, #1458)
|
10
|
+
* Enable resolver cache for view specs for a large speed improvement
|
11
|
+
(Chris Zetter, #1452)
|
12
|
+
* Add `have_enqueued_job` matcher for checking if a block has queued jobs.
|
13
|
+
(Wojciech Wnętrzak, #1464)
|
14
|
+
|
15
|
+
Bug Fixes:
|
16
|
+
|
17
|
+
* Fix another load order issued which causes an undefined method `fixture_path` error
|
18
|
+
when loading rspec-rails after a spec has been created. (Nikki Murray, #1430)
|
19
|
+
* Removed incorrect surrounding whitespace in the rspec-rails backtrace
|
20
|
+
exclusion pattern for its own `lib` code. (Jam Black, #1439)
|
21
|
+
|
1
22
|
### 3.3.3 / 2015-07-15
|
2
23
|
[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.3.2...v3.3.3)
|
3
24
|
|
data/{License.txt → License.md}
RENAMED
@@ -1,7 +1,9 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
|
+
=====================
|
2
3
|
|
3
|
-
Copyright
|
4
|
-
Copyright
|
4
|
+
* Copyright © 2015 David Chelimsky, Aaron Kromer
|
5
|
+
* Copyright © 2012 David Chelimsky, Andy Lindeman
|
6
|
+
* Copyright © 2006 David Chelimsky, The RSpec Development Team
|
5
7
|
|
6
8
|
Permission is hereby granted, free of charge, to any person obtaining
|
7
9
|
a copy of this software and associated documentation files (the
|
data/README.md
CHANGED
@@ -105,6 +105,24 @@ running `rails generate rspec:model` will generate a model spec. For more
|
|
105
105
|
information, see [list of all
|
106
106
|
generators](https://www.relishapp.com/rspec/rspec-rails/docs/generators).
|
107
107
|
|
108
|
+
## Contributing
|
109
|
+
|
110
|
+
Once you've set up the environment, you'll need to cd into the working
|
111
|
+
directory of whichever repo you want to work in. From there you can run the
|
112
|
+
specs and cucumber features, and make patches.
|
113
|
+
|
114
|
+
NOTE: You do not need to use rspec-dev to work on a specific RSpec repo. You
|
115
|
+
can treat each RSpec repo as an independent project.
|
116
|
+
Please see the following files:
|
117
|
+
|
118
|
+
For `rspec-rails`-specific development information, see
|
119
|
+
|
120
|
+
- [Build details](BUILD_DETAIL.md)
|
121
|
+
- [Code of Conduct](CODE_OF_CONDUCT.md)
|
122
|
+
- [Detailed contributing guide](CONTRIBUTING.md)
|
123
|
+
- [Development setup guide](DEVELOPMENT.md)
|
124
|
+
|
125
|
+
|
108
126
|
## Model Specs
|
109
127
|
|
110
128
|
Use model specs to describe behavior of models (usually ActiveRecord-based) in
|
@@ -536,19 +554,13 @@ However, you must first clear the task that rspec-rails defined:
|
|
536
554
|
task("spec").clear
|
537
555
|
```
|
538
556
|
|
539
|
-
## Contribute
|
540
|
-
|
541
|
-
See [http://github.com/rspec/rspec-dev](http://github.com/rspec/rspec-dev).
|
542
|
-
|
543
|
-
For `rspec-rails`-specific development information, see
|
544
|
-
[README_DEV](https://github.com/rspec/rspec-rails/blob/master/README_DEV.md).
|
545
557
|
|
546
558
|
## Also see
|
547
559
|
|
548
|
-
* [
|
549
|
-
* [
|
550
|
-
* [
|
551
|
-
* [
|
560
|
+
* [https://github.com/rspec/rspec](https://github.com/rspec/rspec)
|
561
|
+
* [https://github.com/rspec/rspec-core](https://github.com/rspec/rspec-core)
|
562
|
+
* [https://github.com/rspec/rspec-expectations](https://github.com/rspec/rspec-expectations)
|
563
|
+
* [https://github.com/rspec/rspec-mocks](https://github.com/rspec/rspec-mocks)
|
552
564
|
|
553
565
|
## Feature Requests & Bugs
|
554
566
|
|
data/lib/generators/rspec.rb
CHANGED
@@ -23,7 +23,7 @@ require 'rspec/rails'
|
|
23
23
|
# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
|
24
24
|
|
25
25
|
<% if RSpec::Rails::FeatureCheck.can_maintain_test_schema? -%>
|
26
|
-
# Checks for pending
|
26
|
+
# Checks for pending migration and applies them before tests are run.
|
27
27
|
# If you are not using ActiveRecord, you can remove this line.
|
28
28
|
ActiveRecord::Migration.maintain_test_schema!
|
29
29
|
|
@@ -58,4 +58,9 @@ RSpec.configure do |config|
|
|
58
58
|
# The different available types are documented in the features, such as in
|
59
59
|
# https://relishapp.com/rspec/rspec-rails/docs
|
60
60
|
config.infer_spec_type_from_file_location!
|
61
|
+
|
62
|
+
# Filter lines from Rails gems in backtraces.
|
63
|
+
config.filter_rails_from_backtrace!
|
64
|
+
# arbitrary gems may also be filtered via:
|
65
|
+
# config.filter_gems_from_backtrace("gem name")
|
61
66
|
end
|
@@ -39,23 +39,7 @@ module RSpec
|
|
39
39
|
# @private
|
40
40
|
def self.initialize_configuration(config)
|
41
41
|
config.backtrace_exclusion_patterns << /vendor\//
|
42
|
-
config.backtrace_exclusion_patterns << %r{
|
43
|
-
|
44
|
-
config.include RSpec::Rails::ControllerExampleGroup, :type => :controller
|
45
|
-
config.include RSpec::Rails::HelperExampleGroup, :type => :helper
|
46
|
-
config.include RSpec::Rails::ModelExampleGroup, :type => :model
|
47
|
-
config.include RSpec::Rails::RequestExampleGroup, :type => :request
|
48
|
-
config.include RSpec::Rails::RoutingExampleGroup, :type => :routing
|
49
|
-
config.include RSpec::Rails::ViewExampleGroup, :type => :view
|
50
|
-
config.include RSpec::Rails::FeatureExampleGroup, :type => :feature
|
51
|
-
|
52
|
-
if defined?(ActionMailer)
|
53
|
-
config.include RSpec::Rails::MailerExampleGroup, :type => :mailer
|
54
|
-
end
|
55
|
-
|
56
|
-
if defined?(ActiveJob)
|
57
|
-
config.include RSpec::Rails::JobExampleGroup, :type => :job
|
58
|
-
end
|
42
|
+
config.backtrace_exclusion_patterns << %r{lib/rspec/rails}
|
59
43
|
|
60
44
|
# controller settings
|
61
45
|
config.add_setting :infer_base_class_for_anonymous_controllers, :default => true
|
@@ -105,6 +89,29 @@ module RSpec
|
|
105
89
|
end
|
106
90
|
end
|
107
91
|
end
|
92
|
+
|
93
|
+
# Adds exclusion filters for gems included with Rails
|
94
|
+
def filter_rails_from_backtrace!
|
95
|
+
filter_gems_from_backtrace "actionmailer", "actionpack", "actionview"
|
96
|
+
filter_gems_from_backtrace "activemodel", "activerecord",
|
97
|
+
"activesupport", "activejob"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
config.include RSpec::Rails::ControllerExampleGroup, :type => :controller
|
102
|
+
config.include RSpec::Rails::HelperExampleGroup, :type => :helper
|
103
|
+
config.include RSpec::Rails::ModelExampleGroup, :type => :model
|
104
|
+
config.include RSpec::Rails::RequestExampleGroup, :type => :request
|
105
|
+
config.include RSpec::Rails::RoutingExampleGroup, :type => :routing
|
106
|
+
config.include RSpec::Rails::ViewExampleGroup, :type => :view
|
107
|
+
config.include RSpec::Rails::FeatureExampleGroup, :type => :feature
|
108
|
+
|
109
|
+
if defined?(ActionMailer)
|
110
|
+
config.include RSpec::Rails::MailerExampleGroup, :type => :mailer
|
111
|
+
end
|
112
|
+
|
113
|
+
if defined?(ActiveJob)
|
114
|
+
config.include RSpec::Rails::JobExampleGroup, :type => :job
|
108
115
|
end
|
109
116
|
end
|
110
117
|
|
@@ -2,6 +2,7 @@ require 'rspec/rails/view_assigns'
|
|
2
2
|
|
3
3
|
module RSpec
|
4
4
|
module Rails
|
5
|
+
# @api public
|
5
6
|
# Container class for view spec functionality.
|
6
7
|
module ViewExampleGroup
|
7
8
|
extend ActiveSupport::Concern
|
@@ -114,7 +115,7 @@ module RSpec
|
|
114
115
|
|
115
116
|
render_options = { :template => template }
|
116
117
|
render_options[:handlers] = [handler] if handler
|
117
|
-
render_options[:formats] = [format] if format
|
118
|
+
render_options[:formats] = [format.to_sym] if format
|
118
119
|
render_options[:locales] = [locale] if locale
|
119
120
|
|
120
121
|
render_options
|
@@ -155,9 +156,6 @@ module RSpec
|
|
155
156
|
view.lookup_context.prefixes << _controller_path
|
156
157
|
end
|
157
158
|
|
158
|
-
# fixes bug with differing formats
|
159
|
-
view.lookup_context.view_paths.each(&:clear_cache)
|
160
|
-
|
161
159
|
controller.controller_path = _controller_path
|
162
160
|
controller.request.path_parameters[:controller] = _controller_path
|
163
161
|
controller.request.path_parameters[:action] = _inferred_action unless _inferred_action =~ /^_/
|
data/lib/rspec/rails/matchers.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
require 'rspec/core/warnings'
|
2
2
|
require 'rspec/expectations'
|
3
|
+
require 'rspec/rails/feature_check'
|
3
4
|
|
4
5
|
module RSpec
|
5
6
|
module Rails
|
7
|
+
# @api public
|
6
8
|
# Container module for Rails specific matchers.
|
7
9
|
module Matchers
|
8
10
|
end
|
@@ -17,3 +19,6 @@ require 'rspec/rails/matchers/be_a_new'
|
|
17
19
|
require 'rspec/rails/matchers/relation_match_array'
|
18
20
|
require 'rspec/rails/matchers/be_valid'
|
19
21
|
require 'rspec/rails/matchers/have_http_status'
|
22
|
+
if RSpec::Rails::FeatureCheck.has_active_job?
|
23
|
+
require 'rspec/rails/matchers/active_job'
|
24
|
+
end
|
@@ -0,0 +1,165 @@
|
|
1
|
+
require "active_job/base"
|
2
|
+
require "active_job/arguments"
|
3
|
+
|
4
|
+
module RSpec
|
5
|
+
module Rails
|
6
|
+
module Matchers
|
7
|
+
# Namespace for various implementations of ActiveJob features
|
8
|
+
#
|
9
|
+
# @api private
|
10
|
+
module ActiveJob
|
11
|
+
# @private
|
12
|
+
class HaveEnqueuedJob < RSpec::Matchers::BuiltIn::BaseMatcher
|
13
|
+
def initialize(job)
|
14
|
+
@job = job
|
15
|
+
@args = []
|
16
|
+
@queue = nil
|
17
|
+
@at = nil
|
18
|
+
set_expected_number(:exactly, 1)
|
19
|
+
end
|
20
|
+
|
21
|
+
def matches?(proc)
|
22
|
+
raise ArgumentError, "have_enqueued_jobs only supports block expectations" unless Proc === proc
|
23
|
+
|
24
|
+
original_enqueued_jobs_count = queue_adapter.enqueued_jobs.count
|
25
|
+
proc.call
|
26
|
+
in_block_jobs = queue_adapter.enqueued_jobs.drop(original_enqueued_jobs_count)
|
27
|
+
|
28
|
+
@matching_jobs_count = in_block_jobs.count do |job|
|
29
|
+
serialized_attributes.all? { |key, value| value == job[key] }
|
30
|
+
end
|
31
|
+
|
32
|
+
case @expectation_type
|
33
|
+
when :exactly then @expected_number == @matching_jobs_count
|
34
|
+
when :at_most then @expected_number >= @matching_jobs_count
|
35
|
+
when :at_least then @expected_number <= @matching_jobs_count
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def with(*args)
|
40
|
+
@args = args
|
41
|
+
self
|
42
|
+
end
|
43
|
+
|
44
|
+
def on_queue(queue)
|
45
|
+
@queue = queue
|
46
|
+
self
|
47
|
+
end
|
48
|
+
|
49
|
+
def at(date)
|
50
|
+
@at = date
|
51
|
+
self
|
52
|
+
end
|
53
|
+
|
54
|
+
def exactly(count)
|
55
|
+
set_expected_number(:exactly, count)
|
56
|
+
self
|
57
|
+
end
|
58
|
+
|
59
|
+
def at_least(count)
|
60
|
+
set_expected_number(:at_least, count)
|
61
|
+
self
|
62
|
+
end
|
63
|
+
|
64
|
+
def at_most(count)
|
65
|
+
set_expected_number(:at_most, count)
|
66
|
+
self
|
67
|
+
end
|
68
|
+
|
69
|
+
def times
|
70
|
+
self
|
71
|
+
end
|
72
|
+
|
73
|
+
def failure_message
|
74
|
+
"expected to enqueue #{base_message}"
|
75
|
+
end
|
76
|
+
|
77
|
+
def failure_message_when_negated
|
78
|
+
"expected not to enqueue #{base_message}"
|
79
|
+
end
|
80
|
+
|
81
|
+
def message_expectation_modifier
|
82
|
+
case @expectation_type
|
83
|
+
when :exactly then "exactly"
|
84
|
+
when :at_most then "at most"
|
85
|
+
when :at_least then "at least"
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
def supports_block_expectations?
|
90
|
+
true
|
91
|
+
end
|
92
|
+
|
93
|
+
private
|
94
|
+
|
95
|
+
def base_message
|
96
|
+
"#{message_expectation_modifier} #{@expected_number} jobs,".tap do |msg|
|
97
|
+
msg << " with #{@args}," if @args.any?
|
98
|
+
msg << " on queue #{@queue}," if @queue
|
99
|
+
msg << " at #{@at}," if @at
|
100
|
+
msg << " but enqueued #{@matching_jobs_count}"
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
def serialized_attributes
|
105
|
+
{}.tap do |attributes|
|
106
|
+
attributes[:args] = ::ActiveJob::Arguments.serialize(@args) if @args.any?
|
107
|
+
attributes[:at] = @at.to_f if @at
|
108
|
+
attributes[:queue] = @queue if @queue
|
109
|
+
attributes[:job] = @job if @job
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
def set_expected_number(relativity, count)
|
114
|
+
@expectation_type = relativity
|
115
|
+
@expected_number = case count
|
116
|
+
when :once then 1
|
117
|
+
when :twice then 2
|
118
|
+
when :thrice then 3
|
119
|
+
else Integer(count)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
def queue_adapter
|
124
|
+
::ActiveJob::Base.queue_adapter
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# @api public
|
130
|
+
# Passess if `count` of jobs were enqueued inside block
|
131
|
+
#
|
132
|
+
# @example
|
133
|
+
# expect {
|
134
|
+
# HeavyLiftingJob.perform_later
|
135
|
+
# }.to have_enqueued_job
|
136
|
+
#
|
137
|
+
# expect {
|
138
|
+
# HelloJob.perform_later
|
139
|
+
# HeavyLiftingJob.perform_later
|
140
|
+
# }.to have_enqueued_job(HelloJob).exactly(:once)
|
141
|
+
#
|
142
|
+
# expect {
|
143
|
+
# HelloJob.perform_later
|
144
|
+
# HelloJob.perform_later
|
145
|
+
# HelloJob.perform_later
|
146
|
+
# }.to have_enqueued_job(HelloJob).at_least(2).times
|
147
|
+
#
|
148
|
+
# expect {
|
149
|
+
# HelloJob.perform_later
|
150
|
+
# }.to have_enqueued_job(HelloJob).at_most(:twice)
|
151
|
+
#
|
152
|
+
# expect {
|
153
|
+
# HelloJob.perform_later
|
154
|
+
# HeavyLiftingJob.perform_later
|
155
|
+
# }.to have_enqueued_job(HelloJob).and have_enqueued_job(HeavyLiftingJob)
|
156
|
+
#
|
157
|
+
# expect {
|
158
|
+
# HelloJob.set(wait_until: Date.tomorrow.noon, queue: "low").perform_later(42)
|
159
|
+
# }.to have_enqueued_job.with(42).on_queue("low").at(Date.tomorrow.noon)
|
160
|
+
def have_enqueued_job(job = nil)
|
161
|
+
ActiveJob::HaveEnqueuedJob.new(job)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
@@ -33,6 +33,7 @@ module RSpec
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
# @api public
|
36
37
|
# Passes if the given model instance's `valid?` method is true, meaning
|
37
38
|
# all of the `ActiveModel::Validations` passed and no errors exist. If a
|
38
39
|
# message is not given, a default message is shown listing each error.
|
@@ -9,18 +9,37 @@ module RSpec
|
|
9
9
|
@expected = Symbol === expected ? expected.to_s : expected
|
10
10
|
@message = message
|
11
11
|
@scope = scope
|
12
|
+
@redirect_is = nil
|
12
13
|
end
|
13
14
|
|
14
15
|
# @api private
|
15
16
|
def matches?(*)
|
16
|
-
match_unless_raises ActiveSupport::TestCase::Assertion do
|
17
|
+
match_check = match_unless_raises ActiveSupport::TestCase::Assertion do
|
17
18
|
@scope.assert_template expected, @message
|
18
19
|
end
|
20
|
+
check_redirect unless match_check
|
21
|
+
match_check
|
22
|
+
end
|
23
|
+
|
24
|
+
# Uses normalize_argument_to_redirection to find and format
|
25
|
+
# the redirect location. normalize_argument_to_redirection is private
|
26
|
+
# in ActionDispatch::Assertions::ResponseAssertions so we call it
|
27
|
+
# here using #send. This will keep the error message format consistent
|
28
|
+
# @api private
|
29
|
+
def check_redirect
|
30
|
+
response = @scope.response
|
31
|
+
return unless response.respond_to?(:redirect?) && response.redirect?
|
32
|
+
@redirect_is = @scope.send(:normalize_argument_to_redirection, response.location)
|
19
33
|
end
|
20
34
|
|
21
35
|
# @api private
|
22
36
|
def failure_message
|
23
|
-
|
37
|
+
if @redirect_is
|
38
|
+
rescued_exception.message[/.* but /] +
|
39
|
+
"was a redirect to <#{@redirect_is}>"
|
40
|
+
else
|
41
|
+
rescued_exception.message
|
42
|
+
end
|
24
43
|
end
|
25
44
|
|
26
45
|
# @api private
|
data/lib/rspec/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chelimsky
|
@@ -44,7 +44,7 @@ cert_chain:
|
|
44
44
|
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
|
45
45
|
F3MdtaDehhjC
|
46
46
|
-----END CERTIFICATE-----
|
47
|
-
date: 2015-
|
47
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
48
48
|
dependencies:
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: activesupport
|
@@ -112,56 +112,56 @@ dependencies:
|
|
112
112
|
requirements:
|
113
113
|
- - "~>"
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: 3.
|
115
|
+
version: 3.4.0
|
116
116
|
type: :runtime
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: 3.
|
122
|
+
version: 3.4.0
|
123
123
|
- !ruby/object:Gem::Dependency
|
124
124
|
name: rspec-expectations
|
125
125
|
requirement: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
127
|
- - "~>"
|
128
128
|
- !ruby/object:Gem::Version
|
129
|
-
version: 3.
|
129
|
+
version: 3.4.0
|
130
130
|
type: :runtime
|
131
131
|
prerelease: false
|
132
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
133
|
requirements:
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: 3.
|
136
|
+
version: 3.4.0
|
137
137
|
- !ruby/object:Gem::Dependency
|
138
138
|
name: rspec-mocks
|
139
139
|
requirement: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - "~>"
|
142
142
|
- !ruby/object:Gem::Version
|
143
|
-
version: 3.
|
143
|
+
version: 3.4.0
|
144
144
|
type: :runtime
|
145
145
|
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
version: 3.
|
150
|
+
version: 3.4.0
|
151
151
|
- !ruby/object:Gem::Dependency
|
152
152
|
name: rspec-support
|
153
153
|
requirement: !ruby/object:Gem::Requirement
|
154
154
|
requirements:
|
155
155
|
- - "~>"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 3.
|
157
|
+
version: 3.4.0
|
158
158
|
type: :runtime
|
159
159
|
prerelease: false
|
160
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
162
|
- - "~>"
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: 3.
|
164
|
+
version: 3.4.0
|
165
165
|
- !ruby/object:Gem::Dependency
|
166
166
|
name: rake
|
167
167
|
requirement: !ruby/object:Gem::Requirement
|
@@ -228,7 +228,7 @@ files:
|
|
228
228
|
- ".yardopts"
|
229
229
|
- Capybara.md
|
230
230
|
- Changelog.md
|
231
|
-
- License.
|
231
|
+
- License.md
|
232
232
|
- README.md
|
233
233
|
- lib/generators/rspec.rb
|
234
234
|
- lib/generators/rspec/controller/controller_generator.rb
|
@@ -284,6 +284,7 @@ files:
|
|
284
284
|
- lib/rspec/rails/feature_check.rb
|
285
285
|
- lib/rspec/rails/fixture_support.rb
|
286
286
|
- lib/rspec/rails/matchers.rb
|
287
|
+
- lib/rspec/rails/matchers/active_job.rb
|
287
288
|
- lib/rspec/rails/matchers/be_a_new.rb
|
288
289
|
- lib/rspec/rails/matchers/be_new_record.rb
|
289
290
|
- lib/rspec/rails/matchers/be_valid.rb
|
metadata.gz.sig
CHANGED
Binary file
|