rspec-requestable-examples 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rspec/requestable-examples.rb +4 -2
  2. metadata +5 -17
@@ -43,8 +43,10 @@ module RSpec
43
43
 
44
44
  def verify_requested_examples!
45
45
  missing_examples = requested_examples - examples_that_can_be_requested
46
- if missing_examples.any?
47
- raise %|Trying to request examples that don't exist:\n#{missing_examples.join("\n")}|
46
+ missing_examples.each do |description|
47
+ it description do
48
+ pending("This example was requested but isn't defined, typo?")
49
+ end
48
50
  end
49
51
  end
50
52
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-requestable-examples
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 1
9
- - 3
10
- version: 0.1.3
4
+ prerelease:
5
+ version: 0.1.4
11
6
  platform: ruby
12
7
  authors:
13
8
  - Zach Dennis
@@ -15,8 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2012-01-05 00:00:00 -05:00
19
- default_executable:
13
+ date: 2012-01-05 00:00:00 Z
20
14
  dependencies: []
21
15
 
22
16
  description: See home page
@@ -29,7 +23,6 @@ extra_rdoc_files: []
29
23
 
30
24
  files:
31
25
  - lib/rspec/requestable-examples.rb
32
- has_rdoc: true
33
26
  homepage: http://www.continuousthinking.com
34
27
  licenses: []
35
28
 
@@ -43,25 +36,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
36
  requirements:
44
37
  - - ">="
45
38
  - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 0
49
39
  version: "0"
50
40
  required_rubygems_version: !ruby/object:Gem::Requirement
51
41
  none: false
52
42
  requirements:
53
43
  - - ">="
54
44
  - !ruby/object:Gem::Version
55
- hash: 3
56
- segments:
57
- - 0
58
45
  version: "0"
59
46
  requirements: []
60
47
 
61
48
  rubyforge_project:
62
- rubygems_version: 1.3.7
49
+ rubygems_version: 1.8.13
63
50
  signing_key:
64
51
  specification_version: 3
65
52
  summary: rspec-requestable-examples let's you include specific examples from shared example sets
66
53
  test_files: []
67
54
 
55
+ has_rdoc: