rspec-steps 1.0.5 → 1.0.6
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 +4 -4
- data/lib/rspec-steps/stepwise.rb +0 -16
- data/spec/example_group_spec.rb +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b601f7436b3a19b5be52cdb5ebec988db0e60039
|
|
4
|
+
data.tar.gz: 6600892ccbc34c73b285a821cbbf28d75b1a6db7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec3e5b77e2c69ebfbf1021701ef51bbf9c237d0e5bd234022cd86eec770055be7c36409b551a124e56bb438f28144b5fab48453e8f964c6788f9c4e76cffaf6c
|
|
7
|
+
data.tar.gz: 12f9a3de5887c5f4f4fcf50ba238568be8e5c67f41d5ec38a1c17fc6614ed871e9d81613924a7dbeffd941c80835b9eb5a772b9d9a6c7c1f7ee2eac0c92c26d1
|
data/lib/rspec-steps/stepwise.rb
CHANGED
|
@@ -232,22 +232,6 @@ module RSpecStepwise
|
|
|
232
232
|
whole_list_example.run(instance, reporter)
|
|
233
233
|
end
|
|
234
234
|
|
|
235
|
-
unless whole_list_example.exception.nil?
|
|
236
|
-
if fail_fast?
|
|
237
|
-
if RSpec.respond_to? :wants_to_quit=
|
|
238
|
-
RSpec.wants_to_quit = true
|
|
239
|
-
else
|
|
240
|
-
RSpec.world.wants_to_quit = true
|
|
241
|
-
end
|
|
242
|
-
end
|
|
243
|
-
if respond_to? :fail_filtered_examples
|
|
244
|
-
fail_filtered_examples(whole_list_example.exception, reporter)
|
|
245
|
-
else
|
|
246
|
-
ex = whole_list_example.exception
|
|
247
|
-
for_filtered_examples(reporter) {|example| example.fail_with_exception(reporter, ex) }
|
|
248
|
-
end
|
|
249
|
-
end
|
|
250
|
-
|
|
251
235
|
result
|
|
252
236
|
end
|
|
253
237
|
end
|
data/spec/example_group_spec.rb
CHANGED
|
@@ -116,10 +116,6 @@ describe RSpec::Core::ExampleGroup do
|
|
|
116
116
|
end
|
|
117
117
|
|
|
118
118
|
expect(result).to eq(false)
|
|
119
|
-
group.examples.each do |example|
|
|
120
|
-
expect(example.metadata[:execution_result].status).to eq(:failed)
|
|
121
|
-
expect(example.metadata[:execution_result].exception).to eq(exception)
|
|
122
|
-
end
|
|
123
119
|
end
|
|
124
120
|
|
|
125
121
|
it "should mark later examples as pending if one fails" do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-steps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Judson Lester
|
|
@@ -329,7 +329,7 @@ rdoc_options:
|
|
|
329
329
|
- --main
|
|
330
330
|
- doc/README
|
|
331
331
|
- --title
|
|
332
|
-
- rspec-steps-1.0.
|
|
332
|
+
- rspec-steps-1.0.6 RDoc
|
|
333
333
|
require_paths:
|
|
334
334
|
- lib/
|
|
335
335
|
required_ruby_version: !ruby/object:Gem::Requirement
|