dchelimsky-rspec 1.1.11.4 → 1.1.11.5

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.
Files changed (53) hide show
  1. data/History.txt +4 -2
  2. data/Manifest.txt +7 -3
  3. data/Rakefile +1 -1
  4. data/examples/ruby1.9.compatibility/access_to_constants_spec.rb +86 -0
  5. data/features/before_and_after_blocks/before_and_after_blocks.feature +168 -0
  6. data/features/step_definitions/running_rspec.rb +7 -1
  7. data/lib/spec.rb +1 -0
  8. data/lib/spec/dsl/main.rb +2 -1
  9. data/lib/spec/example/before_and_after_hooks.rb +20 -2
  10. data/lib/spec/example/example_group_factory.rb +11 -0
  11. data/lib/spec/example/example_group_methods.rb +32 -35
  12. data/lib/spec/example/shared_example_group.rb +0 -4
  13. data/lib/spec/matchers/respond_to.rb +1 -2
  14. data/lib/spec/matchers/wrap_expectation.rb +1 -1
  15. data/lib/spec/mocks/proxy.rb +1 -1
  16. data/lib/spec/ruby.rb +9 -0
  17. data/lib/spec/runner/configuration.rb +6 -7
  18. data/lib/spec/runner/formatter/nested_text_formatter.rb +2 -2
  19. data/lib/spec/runner/heckle_runner.rb +58 -56
  20. data/lib/spec/runner/options.rb +9 -4
  21. data/lib/spec/version.rb +1 -1
  22. data/rspec.gemspec +5 -5
  23. data/spec/spec/dsl/main_spec.rb +21 -1
  24. data/spec/spec/example/example_group_methods_spec.rb +51 -0
  25. data/spec/spec/example/example_methods_spec.rb +1 -33
  26. data/spec/spec/matchers/have_spec.rb +2 -2
  27. data/spec/spec/mocks/nil_expectation_warning_spec.rb +1 -1
  28. data/spec/spec/mocks/stub_spec.rb +6 -0
  29. data/spec/spec/runner/configuration_spec.rb +11 -0
  30. data/spec/spec/runner/drb_command_line_spec.rb +4 -4
  31. data/spec/spec/runner/formatter/base_text_formatter_spec.rb +1 -0
  32. data/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +5 -5
  33. data/spec/spec/runner/formatter/failing_examples_formatter_spec.rb +3 -3
  34. data/spec/spec/runner/formatter/html_formatted-1.8.6.html +24 -24
  35. data/spec/spec/runner/formatter/html_formatted-1.8.7.html +379 -0
  36. data/spec/spec/runner/formatter/html_formatted-1.9.1.html +379 -0
  37. data/spec/spec/runner/formatter/html_formatter_spec.rb +9 -13
  38. data/spec/spec/runner/formatter/nested_text_formatter_spec.rb +4 -4
  39. data/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +3 -3
  40. data/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +8 -12
  41. data/spec/spec/runner/formatter/specdoc_formatter_spec.rb +4 -4
  42. data/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +18 -18
  43. data/spec/spec/runner/formatter/text_mate_formatted-1.8.7.html +373 -0
  44. data/spec/spec/runner/formatter/text_mate_formatted-1.9.1.html +373 -0
  45. data/spec/spec/runner/heckler_spec.rb +16 -9
  46. data/spec/spec/runner/option_parser_spec.rb +0 -2
  47. data/spec/spec/runner/options_spec.rb +7 -2
  48. data/spec/spec/runner/reporter_spec.rb +4 -4
  49. data/spec/spec_helper.rb +4 -0
  50. metadata +10 -6
  51. data/features/configuration/before_blocks.feature +0 -21
  52. data/resources/spec/before_blocks_example.rb +0 -32
  53. data/spec/spec/example/example_runner_spec.rb +0 -194
@@ -72,7 +72,7 @@ WARNING
72
72
  if options[:shared]
73
73
  create_shared_example_group(*args, &example_group_block)
74
74
  else
75
- create_subclass(*args, &example_group_block)
75
+ create_example_group_subclass(*args, &example_group_block)
76
76
  end
77
77
  else
78
78
  set_description(*args)
@@ -84,26 +84,19 @@ WARNING
84
84
  SharedExampleGroup.register(*args, &example_group_block)
85
85
  end
86
86
 
87
- def create_subclass(*args, &example_group_block) # :nodoc:
88
- subclass("Subclass") do
89
- set_description(*args)
90
- module_eval(&example_group_block)
91
- end
92
- end
93
-
94
87
  # Creates a new subclass of self, with a name "under" our own name.
95
88
  # Example:
96
89
  #
97
90
  # x = Foo::Bar.subclass('Zap'){}
98
91
  # x.name # => Foo::Bar::Zap_1
99
92
  # x.superclass.name # => Foo::Bar
100
- def subclass(base_name, &body) # :nodoc:
93
+ def create_example_group_subclass(*args, &example_group_block) # :nodoc:
101
94
  @class_count ||= 0
102
95
  @class_count += 1
103
- klass = Class.new(self)
104
- class_name = "#{base_name}_#{@class_count}"
105
- const_set(class_name, klass)
106
- klass.instance_eval(&body)
96
+ klass = const_set("Subclass_#{@class_count}", Class.new(self))
97
+ klass.set_description(*args)
98
+ example_group_block = ExampleGroupFactory.include_constants_in(args.last[:scope], &example_group_block)
99
+ klass.module_eval(&example_group_block)
107
100
  klass
108
101
  end
109
102
 
@@ -209,11 +202,9 @@ WARNING
209
202
  end
210
203
 
211
204
  def description_parts #:nodoc:
212
- parts = []
213
- each_ancestor_example_group_class do |example_group_class|
214
- parts << example_group_class.description_args
205
+ example_group_hierarchy.inject([]) do |parts, example_group_class|
206
+ [parts << example_group_class.description_args].flatten
215
207
  end
216
- parts.flatten.compact
217
208
  end
218
209
 
219
210
  def set_description(*args)
@@ -245,13 +236,21 @@ WARNING
245
236
  end
246
237
 
247
238
  def run_before_each(example)
248
- each_ancestor_example_group_class do |example_group_class|
249
- example.eval_each_fail_fast(example_group_class.before_each_parts)
239
+ example.eval_each_fail_fast(all_before_each_parts)
240
+ end
241
+
242
+ def all_before_each_parts
243
+ unless @all_before_each_parts
244
+ @all_before_each_parts = []
245
+ example_group_hierarchy.each do |example_group_class|
246
+ @all_before_each_parts += example_group_class.before_each_parts
247
+ end
250
248
  end
249
+ @all_before_each_parts
251
250
  end
252
251
 
253
252
  def run_after_each(example)
254
- each_ancestor_example_group_class(:superclass_first) do |example_group_class|
253
+ example_group_hierarchy.reverse.each do |example_group_class|
255
254
  example.eval_each_fail_slow(example_group_class.after_each_parts)
256
255
  end
257
256
  end
@@ -267,7 +266,7 @@ WARNING
267
266
  def run_before_all(run_options)
268
267
  before_all = new("before(:all)")
269
268
  begin
270
- each_ancestor_example_group_class do |example_group_class|
269
+ example_group_hierarchy.each do |example_group_class|
271
270
  before_all.eval_each_fail_fast(example_group_class.before_all_parts)
272
271
  end
273
272
  return [true, before_all.instance_variable_hash]
@@ -291,7 +290,7 @@ WARNING
291
290
  def run_after_all(success, instance_variables, run_options)
292
291
  after_all = new("after(:all)")
293
292
  after_all.set_instance_variables_from_hash(instance_variables)
294
- each_ancestor_example_group_class(:superclass_first) do |example_group_class|
293
+ example_group_hierarchy.reverse.each do |example_group_class|
295
294
  after_all.eval_each_fail_slow(example_group_class.after_all_parts)
296
295
  end
297
296
  return success
@@ -318,21 +317,19 @@ WARNING
318
317
  @example_objects ||= []
319
318
  end
320
319
 
321
- def each_ancestor_example_group_class(superclass_last=false)
322
- classes = []
323
- current_class = self
324
- while is_example_group_class?(current_class)
325
- superclass_last ? classes << current_class : classes.unshift(current_class)
326
- current_class = current_class.superclass
327
- end
328
-
329
- classes.each do |example_group|
330
- yield example_group
320
+ class ExampleGroupHierarchy < Array
321
+ def initialize(example_group_class)
322
+ current_class = example_group_class
323
+ while current_class.kind_of?(ExampleGroupMethods)
324
+ unshift(current_class)
325
+ break unless current_class.respond_to? :superclass
326
+ current_class = current_class.superclass
327
+ end
331
328
  end
332
329
  end
333
-
334
- def is_example_group_class?(klass)
335
- klass.kind_of?(ExampleGroupMethods) && klass.included_modules.include?(ExampleMethods)
330
+
331
+ def example_group_hierarchy
332
+ @example_group_hierarchy ||= ExampleGroupHierarchy.new(self)
336
333
  end
337
334
 
338
335
  def plugin_mock_framework(run_options)
@@ -54,10 +54,6 @@ module Spec
54
54
  def included(mod) # :nodoc:
55
55
  mod.module_eval(&@example_group_block)
56
56
  end
57
-
58
- def each_ancestor_example_group_class(superclass_last=false)
59
- yield self
60
- end
61
57
  end
62
58
  end
63
59
  end
@@ -42,8 +42,7 @@ module Spec
42
42
  private
43
43
 
44
44
  def matches_arity?(actual, name)
45
- @expected_arity.nil?? true :
46
- @expected_arity == actual.method(name).arity
45
+ @expected_arity.nil?? true : @expected_arity == actual.method(name).arity
47
46
  end
48
47
 
49
48
  def with_arity
@@ -13,7 +13,7 @@ module Spec
13
13
  #
14
14
  # def eat_cheese(cheese)
15
15
  # simple_matcher do |mouse, matcher|
16
- # matcher.negative_failure_message = "expected #{mouse} not to eat cheese"
16
+ # matcher.failure_message = "expected #{mouse} to eat cheese"
17
17
  # wrap_expectation do |matcher|
18
18
  # assert_eats_cheese(mouse)
19
19
  # end
@@ -91,7 +91,7 @@ module Spec
91
91
  if expectation = find_almost_matching_expectation(sym, *args)
92
92
  expectation.advise(args, block) unless expectation.expected_messages_received?
93
93
  end
94
- stub.invoke([], block)
94
+ stub.invoke(args, block)
95
95
  elsif expectation
96
96
  expectation.invoke(args, block)
97
97
  elsif expectation = find_almost_matching_expectation(sym, *args)
data/lib/spec/ruby.rb ADDED
@@ -0,0 +1,9 @@
1
+ module Spec
2
+ module Ruby
3
+ class << self
4
+ def version
5
+ RUBY_VERSION
6
+ end
7
+ end
8
+ end
9
+ end
@@ -138,14 +138,13 @@ module Spec
138
138
 
139
139
  private
140
140
 
141
- def include_or_extend(*args)
142
- action = args.shift
143
- args << {} unless Hash === args.last
141
+ def include_or_extend(action, *args)
144
142
  modules, options = Spec::Example.args_and_options(*args)
145
- required_example_group = get_type_from_options(options)
146
- required_example_group = required_example_group.to_sym if required_example_group
147
- modules.each do |mod|
148
- Spec::Example::ExampleGroupFactory.get(required_example_group).__send__(action, mod)
143
+ [get_type_from_options(options)].flatten.each do |required_example_group|
144
+ required_example_group = required_example_group.to_sym if required_example_group
145
+ modules.each do |mod|
146
+ Spec::Example::ExampleGroupFactory.get(required_example_group).__send__(action, mod)
147
+ end
149
148
  end
150
149
  end
151
150
 
@@ -16,7 +16,7 @@ module Spec
16
16
  current_nested_example_groups = described_example_group_chain
17
17
  current_nested_example_groups.each_with_index do |nested_example_group, i|
18
18
  unless nested_example_group == previous_nested_example_groups[i]
19
- output.puts "#{' ' * i}#{nested_example_group.description_args}"
19
+ output.puts "#{' ' * i}#{nested_example_group.description_args.join}"
20
20
  end
21
21
  end
22
22
 
@@ -52,7 +52,7 @@ module Spec
52
52
 
53
53
  def described_example_group_chain
54
54
  example_group_chain = []
55
- example_group.__send__(:each_ancestor_example_group_class) do |example_group_class|
55
+ example_group.__send__(:example_group_hierarchy).each do |example_group_class|
56
56
  unless example_group_class.description_args.empty?
57
57
  example_group_chain << example_group_class
58
58
  end
@@ -1,72 +1,74 @@
1
- begin
2
- require 'rubygems'
3
- require 'heckle'
4
- rescue LoadError ; raise "You must gem install heckle to use --heckle" ; end
1
+ unless Spec::Ruby.version.to_f == 1.9
2
+ begin
3
+ require 'rubygems'
4
+ require 'heckle'
5
+ rescue LoadError ; raise "You must gem install heckle to use --heckle" ; end
5
6
 
6
- module Spec
7
- module Runner
8
- # Creates a new Heckler configured to heckle all methods in the classes
9
- # whose name matches +filter+
10
- class HeckleRunner
11
- def initialize(filter, heckle_class=Heckler)
12
- @filter = filter
13
- @heckle_class = heckle_class
14
- end
15
-
16
- # Runs all the example groups held by +rspec_options+ once for each of the
17
- # methods in the matched classes.
18
- def heckle_with
19
- if @filter =~ /(.*)[#\.](.*)/
20
- heckle_method($1, $2)
21
- else
22
- heckle_class_or_module(@filter)
7
+ module Spec
8
+ module Runner
9
+ # Creates a new Heckler configured to heckle all methods in the classes
10
+ # whose name matches +filter+
11
+ class HeckleRunner
12
+ def initialize(filter, heckle_class=Heckler)
13
+ @filter = filter
14
+ @heckle_class = heckle_class
23
15
  end
24
- end
25
16
 
26
- def heckle_method(class_name, method_name)
27
- verify_constant(class_name)
28
- heckle = @heckle_class.new(class_name, method_name, Spec::Runner.options)
29
- heckle.validate
30
- end
17
+ # Runs all the example groups held by +rspec_options+ once for each of the
18
+ # methods in the matched classes.
19
+ def heckle_with
20
+ if @filter =~ /(.*)[#\.](.*)/
21
+ heckle_method($1, $2)
22
+ else
23
+ heckle_class_or_module(@filter)
24
+ end
25
+ end
31
26
 
32
- def heckle_class_or_module(class_or_module_name)
33
- verify_constant(class_or_module_name)
34
- pattern = /^#{class_or_module_name}/
35
- classes = []
36
- ObjectSpace.each_object(Class) do |klass|
37
- classes << klass if klass.name =~ pattern
27
+ def heckle_method(class_name, method_name)
28
+ verify_constant(class_name)
29
+ heckle = @heckle_class.new(class_name, method_name, Spec::Runner.options)
30
+ heckle.validate
38
31
  end
32
+
33
+ def heckle_class_or_module(class_or_module_name)
34
+ verify_constant(class_or_module_name)
35
+ pattern = /^#{class_or_module_name}/
36
+ classes = []
37
+ ObjectSpace.each_object(Class) do |klass|
38
+ classes << klass if klass.name =~ pattern
39
+ end
39
40
 
40
- classes.each do |klass|
41
- klass.instance_methods(false).each do |method_name|
42
- heckle = @heckle_class.new(klass.name, method_name, Spec::Runner.options)
43
- heckle.validate
41
+ classes.each do |klass|
42
+ klass.instance_methods(false).each do |method_name|
43
+ heckle = @heckle_class.new(klass.name, method_name, Spec::Runner.options)
44
+ heckle.validate
45
+ end
44
46
  end
45
47
  end
46
- end
47
48
 
48
- def verify_constant(name)
49
- begin
50
- # This is defined in Heckle
51
- name.to_class
52
- rescue
53
- raise "Heckling failed - \"#{name}\" is not a known class or module"
49
+ def verify_constant(name)
50
+ begin
51
+ # This is defined in Heckle
52
+ name.to_class
53
+ rescue
54
+ raise "Heckling failed - \"#{name}\" is not a known class or module"
55
+ end
54
56
  end
55
57
  end
56
- end
57
58
 
58
- #Supports Heckle 1.2 and prior (earlier versions used Heckle::Base)
59
- class Heckler < (Heckle.const_defined?(:Base) ? Heckle::Base : Heckle)
60
- def initialize(klass_name, method_name, rspec_options)
61
- super(klass_name, method_name)
62
- @rspec_options = rspec_options
63
- end
59
+ #Supports Heckle 1.2 and prior (earlier versions used Heckle::Base)
60
+ class Heckler < (Heckle.const_defined?(:Base) ? Heckle::Base : Heckle)
61
+ def initialize(klass_name, method_name, rspec_options)
62
+ super(klass_name, method_name)
63
+ @rspec_options = rspec_options
64
+ end
64
65
 
65
- def tests_pass?
66
- success = @rspec_options.run_examples
67
- success
68
- end
66
+ def tests_pass?
67
+ success = @rspec_options.run_examples
68
+ success
69
+ end
69
70
 
71
+ end
70
72
  end
71
73
  end
72
- end
74
+ end
@@ -50,8 +50,6 @@ module Spec
50
50
  :user_input_for_runner,
51
51
  :error_stream,
52
52
  :output_stream,
53
- :before_suite_parts,
54
- :after_suite_parts,
55
53
  # TODO: BT - Figure out a better name
56
54
  :argv
57
55
  )
@@ -75,7 +73,6 @@ module Spec
75
73
  @examples_run = false
76
74
  @examples_should_be_run = nil
77
75
  @user_input_for_runner = nil
78
- @before_suite_parts = []
79
76
  @after_suite_parts = []
80
77
  end
81
78
 
@@ -122,6 +119,14 @@ module Spec
122
119
  end
123
120
  end
124
121
  end
122
+
123
+ def before_suite_parts
124
+ Spec::Example::BeforeAndAfterHooks.before_suite_parts
125
+ end
126
+
127
+ def after_suite_parts
128
+ Spec::Example::BeforeAndAfterHooks.after_suite_parts
129
+ end
125
130
 
126
131
  def examples_run?
127
132
  @examples_run
@@ -275,7 +280,7 @@ module Spec
275
280
  def custom_runner
276
281
  return nil unless custom_runner?
277
282
  klass_name, arg = ClassAndArgumentsParser.parse(user_input_for_runner)
278
- runner_type = load_class(klass_name, 'behaviour runner', '--runner')
283
+ runner_type = load_class(klass_name, 'example group runner', '--runner')
279
284
  return runner_type.new(self, arg)
280
285
  end
281
286
 
data/lib/spec/version.rb CHANGED
@@ -4,7 +4,7 @@ module Spec
4
4
  MAJOR = 1
5
5
  MINOR = 1
6
6
  TINY = 11
7
- MINESCULE = 4
7
+ MINESCULE = 5
8
8
 
9
9
 
10
10
  STRING = [MAJOR, MINOR, TINY, MINESCULE].join('.')
data/rspec.gemspec CHANGED
@@ -2,30 +2,30 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rspec}
5
- s.version = "1.1.11.4"
5
+ s.version = "1.1.11.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["RSpec Development Team"]
9
- s.date = %q{2008-12-29}
9
+ s.date = %q{2009-01-04}
10
10
  s.description = %q{Behaviour Driven Development for Ruby.}
11
11
  s.email = ["rspec-devel@rubyforge.org"]
12
12
  s.executables = ["autospec", "spec"]
13
13
  s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "README.txt", "TODO.txt", "examples/failing/README.txt", "examples/passing/priority.txt", "spec/spec/runner/empty_file.txt", "spec/spec/runner/examples.txt", "spec/spec/runner/failed.txt"]
14
- s.files = [".autotest", "History.txt", "License.txt", "Manifest.txt", "README.txt", "Rakefile", "TODO.txt", "bin/autospec", "bin/spec", "examples/failing/README.txt", "examples/failing/diffing_spec.rb", "examples/failing/failing_autogenerated_docstrings_example.rb", "examples/failing/failure_in_after.rb", "examples/failing/failure_in_before.rb", "examples/failing/mocking_example.rb", "examples/failing/mocking_with_flexmock.rb", "examples/failing/mocking_with_mocha.rb", "examples/failing/mocking_with_rr.rb", "examples/failing/partial_mock_example.rb", "examples/failing/predicate_example.rb", "examples/failing/raising_example.rb", "examples/failing/spec_helper.rb", "examples/failing/syntax_error_example.rb", "examples/failing/team_spec.rb", "examples/failing/timeout_behaviour.rb", "examples/passing/autogenerated_docstrings_example.rb", "examples/passing/before_and_after_example.rb", "examples/passing/behave_as_example.rb", "examples/passing/custom_expectation_matchers.rb", "examples/passing/custom_formatter.rb", "examples/passing/dynamic_spec.rb", "examples/passing/file_accessor.rb", "examples/passing/file_accessor_spec.rb", "examples/passing/greeter_spec.rb", "examples/passing/helper_method_example.rb", "examples/passing/io_processor.rb", "examples/passing/io_processor_spec.rb", "examples/passing/legacy_spec.rb", "examples/passing/mocking_example.rb", "examples/passing/multi_threaded_behaviour_runner.rb", "examples/passing/nested_classes_example.rb", "examples/passing/partial_mock_example.rb", "examples/passing/pending_example.rb", "examples/passing/predicate_example.rb", "examples/passing/priority.txt", "examples/passing/shared_example_group_example.rb", "examples/passing/shared_stack_examples.rb", "examples/passing/simple_matcher_example.rb", "examples/passing/spec_helper.rb", "examples/passing/stack.rb", "examples/passing/stack_spec.rb", "examples/passing/stack_spec_with_nested_example_groups.rb", "examples/passing/stubbing_example.rb", "examples/passing/yielding_example.rb", "features/configuration/before_blocks.feature", "features/example_groups/autogenerated_docstrings.feature", "features/example_groups/example_group_with_should_methods.feature", "features/example_groups/nested_groups.feature", "features/example_groups/output.feature", "features/interop/examples_and_tests_together.feature", "features/interop/test_but_not_test_unit.feature", "features/interop/test_case_with_should_methods.feature", "features/mock_framework_integration/use_flexmock.feature", "features/step_definitions/running_rspec.rb", "features/support/env.rb", "features/support/helpers/cmdline.rb", "features/support/helpers/story_helper.rb", "features/support/matchers/smart_match.rb", "init.rb", "lib/adapters/mock_frameworks/flexmock.rb", "lib/adapters/mock_frameworks/mocha.rb", "lib/adapters/mock_frameworks/rr.rb", "lib/adapters/mock_frameworks/rspec.rb", "lib/autotest/discover.rb", "lib/autotest/rspec.rb", "lib/spec.rb", "lib/spec/dsl.rb", "lib/spec/dsl/main.rb", "lib/spec/example.rb", "lib/spec/example/before_and_after_hooks.rb", "lib/spec/example/errors.rb", "lib/spec/example/example_group.rb", "lib/spec/example/example_group_factory.rb", "lib/spec/example/example_group_methods.rb", "lib/spec/example/example_matcher.rb", "lib/spec/example/example_methods.rb", "lib/spec/example/module_reopening_fix.rb", "lib/spec/example/pending.rb", "lib/spec/example/shared_example_group.rb", "lib/spec/expectations.rb", "lib/spec/expectations/differs/default.rb", "lib/spec/expectations/errors.rb", "lib/spec/expectations/extensions.rb", "lib/spec/expectations/extensions/object.rb", "lib/spec/expectations/extensions/string_and_symbol.rb", "lib/spec/expectations/handler.rb", "lib/spec/interop/test.rb", "lib/spec/interop/test/unit/autorunner.rb", "lib/spec/interop/test/unit/testcase.rb", "lib/spec/interop/test/unit/testresult.rb", "lib/spec/interop/test/unit/testsuite_adapter.rb", "lib/spec/interop/test/unit/ui/console/testrunner.rb", "lib/spec/matchers.rb", "lib/spec/matchers/be.rb", "lib/spec/matchers/be_close.rb", "lib/spec/matchers/change.rb", "lib/spec/matchers/eql.rb", "lib/spec/matchers/equal.rb", "lib/spec/matchers/errors.rb", "lib/spec/matchers/exist.rb", "lib/spec/matchers/generated_descriptions.rb", "lib/spec/matchers/has.rb", "lib/spec/matchers/have.rb", "lib/spec/matchers/include.rb", "lib/spec/matchers/match.rb", "lib/spec/matchers/match_array.rb", "lib/spec/matchers/method_missing.rb", "lib/spec/matchers/operator_matcher.rb", "lib/spec/matchers/raise_error.rb", "lib/spec/matchers/respond_to.rb", "lib/spec/matchers/satisfy.rb", "lib/spec/matchers/simple_matcher.rb", "lib/spec/matchers/throw_symbol.rb", "lib/spec/matchers/wrap_expectation.rb", "lib/spec/mocks.rb", "lib/spec/mocks/argument_constraints.rb", "lib/spec/mocks/argument_expectation.rb", "lib/spec/mocks/error_generator.rb", "lib/spec/mocks/errors.rb", "lib/spec/mocks/extensions.rb", "lib/spec/mocks/extensions/object.rb", "lib/spec/mocks/framework.rb", "lib/spec/mocks/message_expectation.rb", "lib/spec/mocks/methods.rb", "lib/spec/mocks/mock.rb", "lib/spec/mocks/order_group.rb", "lib/spec/mocks/proxy.rb", "lib/spec/mocks/space.rb", "lib/spec/mocks/spec_methods.rb", "lib/spec/rake/spectask.rb", "lib/spec/rake/verify_rcov.rb", "lib/spec/runner.rb", "lib/spec/runner/backtrace_tweaker.rb", "lib/spec/runner/class_and_arguments_parser.rb", "lib/spec/runner/command_line.rb", "lib/spec/runner/configuration.rb", "lib/spec/runner/drb_command_line.rb", "lib/spec/runner/example_group_runner.rb", "lib/spec/runner/formatter/base_formatter.rb", "lib/spec/runner/formatter/base_text_formatter.rb", "lib/spec/runner/formatter/failing_example_groups_formatter.rb", "lib/spec/runner/formatter/failing_examples_formatter.rb", "lib/spec/runner/formatter/html_formatter.rb", "lib/spec/runner/formatter/nested_text_formatter.rb", "lib/spec/runner/formatter/profile_formatter.rb", "lib/spec/runner/formatter/progress_bar_formatter.rb", "lib/spec/runner/formatter/snippet_extractor.rb", "lib/spec/runner/formatter/specdoc_formatter.rb", "lib/spec/runner/formatter/story/html_formatter.rb", "lib/spec/runner/formatter/story/plain_text_formatter.rb", "lib/spec/runner/formatter/story/progress_bar_formatter.rb", "lib/spec/runner/formatter/text_mate_formatter.rb", "lib/spec/runner/heckle_runner.rb", "lib/spec/runner/heckle_runner_unsupported.rb", "lib/spec/runner/option_parser.rb", "lib/spec/runner/options.rb", "lib/spec/runner/reporter.rb", "lib/spec/runner/spec_parser.rb", "lib/spec/story.rb", "lib/spec/story/extensions.rb", "lib/spec/story/extensions/main.rb", "lib/spec/story/extensions/regexp.rb", "lib/spec/story/extensions/string.rb", "lib/spec/story/given_scenario.rb", "lib/spec/story/runner.rb", "lib/spec/story/runner/plain_text_story_runner.rb", "lib/spec/story/runner/scenario_collector.rb", "lib/spec/story/runner/scenario_runner.rb", "lib/spec/story/runner/story_mediator.rb", "lib/spec/story/runner/story_parser.rb", "lib/spec/story/runner/story_runner.rb", "lib/spec/story/scenario.rb", "lib/spec/story/step.rb", "lib/spec/story/step_group.rb", "lib/spec/story/step_mother.rb", "lib/spec/story/story.rb", "lib/spec/story/world.rb", "lib/spec/version.rb", "resources/rake/examples.rake", "resources/rake/examples_with_rcov.rake", "resources/rake/failing_examples_with_html.rake", "resources/rake/verify_rcov.rake", "resources/spec/before_blocks_example.rb", "resources/spec/example_group_with_should_methods.rb", "resources/spec/simple_spec.rb", "resources/spec/spec_with_flexmock.rb", "resources/test/spec_and_test_together.rb", "resources/test/spec_including_test_but_not_unit.rb", "resources/test/test_case_with_should_methods.rb", "rspec.gemspec", "spec/README.jruby", "spec/autotest/autotest_helper.rb", "spec/autotest/autotest_matchers.rb", "spec/autotest/discover_spec.rb", "spec/autotest/failed_results_re_spec.rb", "spec/autotest/rspec_spec.rb", "spec/rspec_suite.rb", "spec/ruby_forker.rb", "spec/spec.opts", "spec/spec/dsl/main_spec.rb", "spec/spec/example/example_group_class_definition_spec.rb", "spec/spec/example/example_group_factory_spec.rb", "spec/spec/example/example_group_methods_spec.rb", "spec/spec/example/example_group_spec.rb", "spec/spec/example/example_matcher_spec.rb", "spec/spec/example/example_methods_spec.rb", "spec/spec/example/example_runner_spec.rb", "spec/spec/example/helper_method_spec.rb", "spec/spec/example/nested_example_group_spec.rb", "spec/spec/example/pending_module_spec.rb", "spec/spec/example/predicate_matcher_spec.rb", "spec/spec/example/shared_example_group_spec.rb", "spec/spec/example/subclassing_example_group_spec.rb", "spec/spec/expectations/differs/default_spec.rb", "spec/spec/expectations/extensions/object_spec.rb", "spec/spec/expectations/fail_with_spec.rb", "spec/spec/expectations/wrap_expectation_spec.rb", "spec/spec/interop/test/unit/resources/spec_that_fails.rb", "spec/spec/interop/test/unit/resources/spec_that_passes.rb", "spec/spec/interop/test/unit/resources/spec_with_errors.rb", "spec/spec/interop/test/unit/resources/spec_with_options_hash.rb", "spec/spec/interop/test/unit/resources/test_case_that_fails.rb", "spec/spec/interop/test/unit/resources/test_case_that_passes.rb", "spec/spec/interop/test/unit/resources/test_case_with_errors.rb", "spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb", "spec/spec/interop/test/unit/spec_spec.rb", "spec/spec/interop/test/unit/test_unit_spec_helper.rb", "spec/spec/interop/test/unit/testcase_spec.rb", "spec/spec/interop/test/unit/testsuite_adapter_spec.rb", "spec/spec/matchers/be_close_spec.rb", "spec/spec/matchers/be_spec.rb", "spec/spec/matchers/change_spec.rb", "spec/spec/matchers/description_generation_spec.rb", "spec/spec/matchers/eql_spec.rb", "spec/spec/matchers/equal_spec.rb", "spec/spec/matchers/exist_spec.rb", "spec/spec/matchers/handler_spec.rb", "spec/spec/matchers/has_spec.rb", "spec/spec/matchers/have_spec.rb", "spec/spec/matchers/include_spec.rb", "spec/spec/matchers/match_array_spec.rb", "spec/spec/matchers/match_spec.rb", "spec/spec/matchers/matcher_methods_spec.rb", "spec/spec/matchers/mock_constraint_matchers_spec.rb", "spec/spec/matchers/operator_matcher_spec.rb", "spec/spec/matchers/raise_error_spec.rb", "spec/spec/matchers/respond_to_spec.rb", "spec/spec/matchers/satisfy_spec.rb", "spec/spec/matchers/simple_matcher_spec.rb", "spec/spec/matchers/throw_symbol_spec.rb", "spec/spec/mocks/any_number_of_times_spec.rb", "spec/spec/mocks/argument_expectation_spec.rb", "spec/spec/mocks/at_least_spec.rb", "spec/spec/mocks/at_most_spec.rb", "spec/spec/mocks/bug_report_10260_spec.rb", "spec/spec/mocks/bug_report_10263_spec.rb", "spec/spec/mocks/bug_report_11545_spec.rb", "spec/spec/mocks/bug_report_15719_spec.rb", "spec/spec/mocks/bug_report_496.rb", "spec/spec/mocks/bug_report_600_spec.rb", "spec/spec/mocks/bug_report_7611_spec.rb", "spec/spec/mocks/bug_report_7805_spec.rb", "spec/spec/mocks/bug_report_8165_spec.rb", "spec/spec/mocks/bug_report_8302_spec.rb", "spec/spec/mocks/failing_mock_argument_constraints_spec.rb", "spec/spec/mocks/hash_including_matcher_spec.rb", "spec/spec/mocks/hash_not_including_matcher_spec.rb", "spec/spec/mocks/mock_ordering_spec.rb", "spec/spec/mocks/mock_space_spec.rb", "spec/spec/mocks/mock_spec.rb", "spec/spec/mocks/multiple_return_value_spec.rb", "spec/spec/mocks/nil_expectation_warning_spec.rb", "spec/spec/mocks/null_object_mock_spec.rb", "spec/spec/mocks/once_counts_spec.rb", "spec/spec/mocks/options_hash_spec.rb", "spec/spec/mocks/partial_mock_spec.rb", "spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb", "spec/spec/mocks/passing_mock_argument_constraints_spec.rb", "spec/spec/mocks/precise_counts_spec.rb", "spec/spec/mocks/record_messages_spec.rb", "spec/spec/mocks/stub_spec.rb", "spec/spec/mocks/stubbed_message_expectations_spec.rb", "spec/spec/mocks/twice_counts_spec.rb", "spec/spec/package/bin_spec_spec.rb", "spec/spec/runner/class_and_argument_parser_spec.rb", "spec/spec/runner/command_line_spec.rb", "spec/spec/runner/configuration_spec.rb", "spec/spec/runner/drb_command_line_spec.rb", "spec/spec/runner/empty_file.txt", "spec/spec/runner/examples.txt", "spec/spec/runner/failed.txt", "spec/spec/runner/formatter/base_formatter_spec.rb", "spec/spec/runner/formatter/base_text_formatter_spec.rb", "spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb", "spec/spec/runner/formatter/failing_examples_formatter_spec.rb", "spec/spec/runner/formatter/html_formatted-1.8.4.html", "spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html", "spec/spec/runner/formatter/html_formatted-1.8.5.html", "spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html", "spec/spec/runner/formatter/html_formatted-1.8.6.html", "spec/spec/runner/formatter/html_formatter_spec.rb", "spec/spec/runner/formatter/nested_text_formatter_spec.rb", "spec/spec/runner/formatter/profile_formatter_spec.rb", "spec/spec/runner/formatter/progress_bar_formatter_spec.rb", "spec/spec/runner/formatter/snippet_extractor_spec.rb", "spec/spec/runner/formatter/spec_mate_formatter_spec.rb", "spec/spec/runner/formatter/specdoc_formatter_spec.rb", "spec/spec/runner/formatter/story/html_formatter_spec.rb", "spec/spec/runner/formatter/story/plain_text_formatter_spec.rb", "spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb", "spec/spec/runner/formatter/text_mate_formatted-1.8.4.html", "spec/spec/runner/formatter/text_mate_formatted-1.8.6.html", "spec/spec/runner/heckle_runner_spec.rb", "spec/spec/runner/heckler_spec.rb", "spec/spec/runner/noisy_backtrace_tweaker_spec.rb", "spec/spec/runner/option_parser_spec.rb", "spec/spec/runner/options_spec.rb", "spec/spec/runner/output_one_time_fixture.rb", "spec/spec/runner/output_one_time_fixture_runner.rb", "spec/spec/runner/output_one_time_spec.rb", "spec/spec/runner/quiet_backtrace_tweaker_spec.rb", "spec/spec/runner/reporter_spec.rb", "spec/spec/runner/resources/a_bar.rb", "spec/spec/runner/resources/a_foo.rb", "spec/spec/runner/resources/a_spec.rb", "spec/spec/runner/resources/custom_example_group_runner.rb", "spec/spec/runner/spec.opts", "spec/spec/runner/spec_drb.opts", "spec/spec/runner/spec_parser/spec_parser_fixture.rb", "spec/spec/runner/spec_parser_spec.rb", "spec/spec/runner/spec_spaced.opts", "spec/spec/runner_spec.rb", "spec/spec/spec_classes.rb", "spec/spec/spec_spec.rb", "spec/spec/story/builders.rb", "spec/spec/story/extensions/main_spec.rb", "spec/spec/story/extensions_spec.rb", "spec/spec/story/given_scenario_spec.rb", "spec/spec/story/runner/plain_text_story_runner_spec.rb", "spec/spec/story/runner/scenario_collector_spec.rb", "spec/spec/story/runner/scenario_runner_spec.rb", "spec/spec/story/runner/story_mediator_spec.rb", "spec/spec/story/runner/story_parser_spec.rb", "spec/spec/story/runner/story_runner_spec.rb", "spec/spec/story/runner_spec.rb", "spec/spec/story/scenario_spec.rb", "spec/spec/story/step_group_spec.rb", "spec/spec/story/step_mother_spec.rb", "spec/spec/story/step_spec.rb", "spec/spec/story/story_helper.rb", "spec/spec/story/story_spec.rb", "spec/spec/story/world_spec.rb", "spec/spec_helper.rb", "story_server/prototype/javascripts/builder.js", "story_server/prototype/javascripts/controls.js", "story_server/prototype/javascripts/dragdrop.js", "story_server/prototype/javascripts/effects.js", "story_server/prototype/javascripts/prototype.js", "story_server/prototype/javascripts/rspec.js", "story_server/prototype/javascripts/scriptaculous.js", "story_server/prototype/javascripts/slider.js", "story_server/prototype/javascripts/sound.js", "story_server/prototype/javascripts/unittest.js", "story_server/prototype/lib/server.rb", "story_server/prototype/stories.html", "story_server/prototype/stylesheets/rspec.css", "story_server/prototype/stylesheets/test.css"]
14
+ s.files = [".autotest", "History.txt", "License.txt", "Manifest.txt", "README.txt", "Rakefile", "TODO.txt", "bin/autospec", "bin/spec", "examples/failing/README.txt", "examples/failing/diffing_spec.rb", "examples/failing/failing_autogenerated_docstrings_example.rb", "examples/failing/failure_in_after.rb", "examples/failing/failure_in_before.rb", "examples/failing/mocking_example.rb", "examples/failing/mocking_with_flexmock.rb", "examples/failing/mocking_with_mocha.rb", "examples/failing/mocking_with_rr.rb", "examples/failing/partial_mock_example.rb", "examples/failing/predicate_example.rb", "examples/failing/raising_example.rb", "examples/failing/spec_helper.rb", "examples/failing/syntax_error_example.rb", "examples/failing/team_spec.rb", "examples/failing/timeout_behaviour.rb", "examples/passing/autogenerated_docstrings_example.rb", "examples/passing/before_and_after_example.rb", "examples/passing/behave_as_example.rb", "examples/passing/custom_expectation_matchers.rb", "examples/passing/custom_formatter.rb", "examples/passing/dynamic_spec.rb", "examples/passing/file_accessor.rb", "examples/passing/file_accessor_spec.rb", "examples/passing/greeter_spec.rb", "examples/passing/helper_method_example.rb", "examples/passing/io_processor.rb", "examples/passing/io_processor_spec.rb", "examples/passing/legacy_spec.rb", "examples/passing/mocking_example.rb", "examples/passing/multi_threaded_behaviour_runner.rb", "examples/passing/nested_classes_example.rb", "examples/passing/partial_mock_example.rb", "examples/passing/pending_example.rb", "examples/passing/predicate_example.rb", "examples/passing/priority.txt", "examples/passing/shared_example_group_example.rb", "examples/passing/shared_stack_examples.rb", "examples/passing/simple_matcher_example.rb", "examples/passing/spec_helper.rb", "examples/passing/stack.rb", "examples/passing/stack_spec.rb", "examples/passing/stack_spec_with_nested_example_groups.rb", "examples/passing/stubbing_example.rb", "examples/passing/yielding_example.rb", "examples/ruby1.9.compatibility/access_to_constants_spec.rb", "features/before_and_after_blocks/before_and_after_blocks.feature", "features/example_groups/autogenerated_docstrings.feature", "features/example_groups/example_group_with_should_methods.feature", "features/example_groups/nested_groups.feature", "features/example_groups/output.feature", "features/interop/examples_and_tests_together.feature", "features/interop/test_but_not_test_unit.feature", "features/interop/test_case_with_should_methods.feature", "features/mock_framework_integration/use_flexmock.feature", "features/step_definitions/running_rspec.rb", "features/support/env.rb", "features/support/helpers/cmdline.rb", "features/support/helpers/story_helper.rb", "features/support/matchers/smart_match.rb", "init.rb", "lib/adapters/mock_frameworks/flexmock.rb", "lib/adapters/mock_frameworks/mocha.rb", "lib/adapters/mock_frameworks/rr.rb", "lib/adapters/mock_frameworks/rspec.rb", "lib/autotest/discover.rb", "lib/autotest/rspec.rb", "lib/spec.rb", "lib/spec/dsl.rb", "lib/spec/dsl/main.rb", "lib/spec/example.rb", "lib/spec/example/before_and_after_hooks.rb", "lib/spec/example/errors.rb", "lib/spec/example/example_group.rb", "lib/spec/example/example_group_factory.rb", "lib/spec/example/example_group_methods.rb", "lib/spec/example/example_matcher.rb", "lib/spec/example/example_methods.rb", "lib/spec/example/module_reopening_fix.rb", "lib/spec/example/pending.rb", "lib/spec/example/shared_example_group.rb", "lib/spec/expectations.rb", "lib/spec/expectations/differs/default.rb", "lib/spec/expectations/errors.rb", "lib/spec/expectations/extensions.rb", "lib/spec/expectations/extensions/object.rb", "lib/spec/expectations/extensions/string_and_symbol.rb", "lib/spec/expectations/handler.rb", "lib/spec/interop/test.rb", "lib/spec/interop/test/unit/autorunner.rb", "lib/spec/interop/test/unit/testcase.rb", "lib/spec/interop/test/unit/testresult.rb", "lib/spec/interop/test/unit/testsuite_adapter.rb", "lib/spec/interop/test/unit/ui/console/testrunner.rb", "lib/spec/matchers.rb", "lib/spec/matchers/be.rb", "lib/spec/matchers/be_close.rb", "lib/spec/matchers/change.rb", "lib/spec/matchers/eql.rb", "lib/spec/matchers/equal.rb", "lib/spec/matchers/errors.rb", "lib/spec/matchers/exist.rb", "lib/spec/matchers/generated_descriptions.rb", "lib/spec/matchers/has.rb", "lib/spec/matchers/have.rb", "lib/spec/matchers/include.rb", "lib/spec/matchers/match.rb", "lib/spec/matchers/match_array.rb", "lib/spec/matchers/method_missing.rb", "lib/spec/matchers/operator_matcher.rb", "lib/spec/matchers/raise_error.rb", "lib/spec/matchers/respond_to.rb", "lib/spec/matchers/satisfy.rb", "lib/spec/matchers/simple_matcher.rb", "lib/spec/matchers/throw_symbol.rb", "lib/spec/matchers/wrap_expectation.rb", "lib/spec/mocks.rb", "lib/spec/mocks/argument_constraints.rb", "lib/spec/mocks/argument_expectation.rb", "lib/spec/mocks/error_generator.rb", "lib/spec/mocks/errors.rb", "lib/spec/mocks/extensions.rb", "lib/spec/mocks/extensions/object.rb", "lib/spec/mocks/framework.rb", "lib/spec/mocks/message_expectation.rb", "lib/spec/mocks/methods.rb", "lib/spec/mocks/mock.rb", "lib/spec/mocks/order_group.rb", "lib/spec/mocks/proxy.rb", "lib/spec/mocks/space.rb", "lib/spec/mocks/spec_methods.rb", "lib/spec/rake/spectask.rb", "lib/spec/rake/verify_rcov.rb", "lib/spec/ruby.rb", "lib/spec/runner.rb", "lib/spec/runner/backtrace_tweaker.rb", "lib/spec/runner/class_and_arguments_parser.rb", "lib/spec/runner/command_line.rb", "lib/spec/runner/configuration.rb", "lib/spec/runner/drb_command_line.rb", "lib/spec/runner/example_group_runner.rb", "lib/spec/runner/formatter/base_formatter.rb", "lib/spec/runner/formatter/base_text_formatter.rb", "lib/spec/runner/formatter/failing_example_groups_formatter.rb", "lib/spec/runner/formatter/failing_examples_formatter.rb", "lib/spec/runner/formatter/html_formatter.rb", "lib/spec/runner/formatter/nested_text_formatter.rb", "lib/spec/runner/formatter/profile_formatter.rb", "lib/spec/runner/formatter/progress_bar_formatter.rb", "lib/spec/runner/formatter/snippet_extractor.rb", "lib/spec/runner/formatter/specdoc_formatter.rb", "lib/spec/runner/formatter/story/html_formatter.rb", "lib/spec/runner/formatter/story/plain_text_formatter.rb", "lib/spec/runner/formatter/story/progress_bar_formatter.rb", "lib/spec/runner/formatter/text_mate_formatter.rb", "lib/spec/runner/heckle_runner.rb", "lib/spec/runner/heckle_runner_unsupported.rb", "lib/spec/runner/option_parser.rb", "lib/spec/runner/options.rb", "lib/spec/runner/reporter.rb", "lib/spec/runner/spec_parser.rb", "lib/spec/story.rb", "lib/spec/story/extensions.rb", "lib/spec/story/extensions/main.rb", "lib/spec/story/extensions/regexp.rb", "lib/spec/story/extensions/string.rb", "lib/spec/story/given_scenario.rb", "lib/spec/story/runner.rb", "lib/spec/story/runner/plain_text_story_runner.rb", "lib/spec/story/runner/scenario_collector.rb", "lib/spec/story/runner/scenario_runner.rb", "lib/spec/story/runner/story_mediator.rb", "lib/spec/story/runner/story_parser.rb", "lib/spec/story/runner/story_runner.rb", "lib/spec/story/scenario.rb", "lib/spec/story/step.rb", "lib/spec/story/step_group.rb", "lib/spec/story/step_mother.rb", "lib/spec/story/story.rb", "lib/spec/story/world.rb", "lib/spec/version.rb", "resources/rake/examples.rake", "resources/rake/examples_with_rcov.rake", "resources/rake/failing_examples_with_html.rake", "resources/rake/verify_rcov.rake", "resources/spec/example_group_with_should_methods.rb", "resources/spec/simple_spec.rb", "resources/spec/spec_with_flexmock.rb", "resources/test/spec_and_test_together.rb", "resources/test/spec_including_test_but_not_unit.rb", "resources/test/test_case_with_should_methods.rb", "rspec.gemspec", "spec/README.jruby", "spec/autotest/autotest_helper.rb", "spec/autotest/autotest_matchers.rb", "spec/autotest/discover_spec.rb", "spec/autotest/failed_results_re_spec.rb", "spec/autotest/rspec_spec.rb", "spec/rspec_suite.rb", "spec/ruby_forker.rb", "spec/spec.opts", "spec/spec/dsl/main_spec.rb", "spec/spec/example/example_group_class_definition_spec.rb", "spec/spec/example/example_group_factory_spec.rb", "spec/spec/example/example_group_methods_spec.rb", "spec/spec/example/example_group_spec.rb", "spec/spec/example/example_matcher_spec.rb", "spec/spec/example/example_methods_spec.rb", "spec/spec/example/helper_method_spec.rb", "spec/spec/example/nested_example_group_spec.rb", "spec/spec/example/pending_module_spec.rb", "spec/spec/example/predicate_matcher_spec.rb", "spec/spec/example/shared_example_group_spec.rb", "spec/spec/example/subclassing_example_group_spec.rb", "spec/spec/expectations/differs/default_spec.rb", "spec/spec/expectations/extensions/object_spec.rb", "spec/spec/expectations/fail_with_spec.rb", "spec/spec/expectations/wrap_expectation_spec.rb", "spec/spec/interop/test/unit/resources/spec_that_fails.rb", "spec/spec/interop/test/unit/resources/spec_that_passes.rb", "spec/spec/interop/test/unit/resources/spec_with_errors.rb", "spec/spec/interop/test/unit/resources/spec_with_options_hash.rb", "spec/spec/interop/test/unit/resources/test_case_that_fails.rb", "spec/spec/interop/test/unit/resources/test_case_that_passes.rb", "spec/spec/interop/test/unit/resources/test_case_with_errors.rb", "spec/spec/interop/test/unit/resources/testsuite_adapter_spec_with_test_unit.rb", "spec/spec/interop/test/unit/spec_spec.rb", "spec/spec/interop/test/unit/test_unit_spec_helper.rb", "spec/spec/interop/test/unit/testcase_spec.rb", "spec/spec/interop/test/unit/testsuite_adapter_spec.rb", "spec/spec/matchers/be_close_spec.rb", "spec/spec/matchers/be_spec.rb", "spec/spec/matchers/change_spec.rb", "spec/spec/matchers/description_generation_spec.rb", "spec/spec/matchers/eql_spec.rb", "spec/spec/matchers/equal_spec.rb", "spec/spec/matchers/exist_spec.rb", "spec/spec/matchers/handler_spec.rb", "spec/spec/matchers/has_spec.rb", "spec/spec/matchers/have_spec.rb", "spec/spec/matchers/include_spec.rb", "spec/spec/matchers/match_array_spec.rb", "spec/spec/matchers/match_spec.rb", "spec/spec/matchers/matcher_methods_spec.rb", "spec/spec/matchers/mock_constraint_matchers_spec.rb", "spec/spec/matchers/operator_matcher_spec.rb", "spec/spec/matchers/raise_error_spec.rb", "spec/spec/matchers/respond_to_spec.rb", "spec/spec/matchers/satisfy_spec.rb", "spec/spec/matchers/simple_matcher_spec.rb", "spec/spec/matchers/throw_symbol_spec.rb", "spec/spec/mocks/any_number_of_times_spec.rb", "spec/spec/mocks/argument_expectation_spec.rb", "spec/spec/mocks/at_least_spec.rb", "spec/spec/mocks/at_most_spec.rb", "spec/spec/mocks/bug_report_10260_spec.rb", "spec/spec/mocks/bug_report_10263_spec.rb", "spec/spec/mocks/bug_report_11545_spec.rb", "spec/spec/mocks/bug_report_15719_spec.rb", "spec/spec/mocks/bug_report_496.rb", "spec/spec/mocks/bug_report_600_spec.rb", "spec/spec/mocks/bug_report_7611_spec.rb", "spec/spec/mocks/bug_report_7805_spec.rb", "spec/spec/mocks/bug_report_8165_spec.rb", "spec/spec/mocks/bug_report_8302_spec.rb", "spec/spec/mocks/failing_mock_argument_constraints_spec.rb", "spec/spec/mocks/hash_including_matcher_spec.rb", "spec/spec/mocks/hash_not_including_matcher_spec.rb", "spec/spec/mocks/mock_ordering_spec.rb", "spec/spec/mocks/mock_space_spec.rb", "spec/spec/mocks/mock_spec.rb", "spec/spec/mocks/multiple_return_value_spec.rb", "spec/spec/mocks/nil_expectation_warning_spec.rb", "spec/spec/mocks/null_object_mock_spec.rb", "spec/spec/mocks/once_counts_spec.rb", "spec/spec/mocks/options_hash_spec.rb", "spec/spec/mocks/partial_mock_spec.rb", "spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb", "spec/spec/mocks/passing_mock_argument_constraints_spec.rb", "spec/spec/mocks/precise_counts_spec.rb", "spec/spec/mocks/record_messages_spec.rb", "spec/spec/mocks/stub_spec.rb", "spec/spec/mocks/stubbed_message_expectations_spec.rb", "spec/spec/mocks/twice_counts_spec.rb", "spec/spec/package/bin_spec_spec.rb", "spec/spec/runner/class_and_argument_parser_spec.rb", "spec/spec/runner/command_line_spec.rb", "spec/spec/runner/configuration_spec.rb", "spec/spec/runner/drb_command_line_spec.rb", "spec/spec/runner/empty_file.txt", "spec/spec/runner/examples.txt", "spec/spec/runner/failed.txt", "spec/spec/runner/formatter/base_formatter_spec.rb", "spec/spec/runner/formatter/base_text_formatter_spec.rb", "spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb", "spec/spec/runner/formatter/failing_examples_formatter_spec.rb", "spec/spec/runner/formatter/html_formatted-1.8.4.html", "spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html", "spec/spec/runner/formatter/html_formatted-1.8.5.html", "spec/spec/runner/formatter/html_formatted-1.8.6-jruby.html", "spec/spec/runner/formatter/html_formatted-1.8.6.html", "spec/spec/runner/formatter/html_formatted-1.8.7.html", "spec/spec/runner/formatter/html_formatted-1.9.1.html", "spec/spec/runner/formatter/html_formatter_spec.rb", "spec/spec/runner/formatter/nested_text_formatter_spec.rb", "spec/spec/runner/formatter/profile_formatter_spec.rb", "spec/spec/runner/formatter/progress_bar_formatter_spec.rb", "spec/spec/runner/formatter/snippet_extractor_spec.rb", "spec/spec/runner/formatter/spec_mate_formatter_spec.rb", "spec/spec/runner/formatter/specdoc_formatter_spec.rb", "spec/spec/runner/formatter/story/html_formatter_spec.rb", "spec/spec/runner/formatter/story/plain_text_formatter_spec.rb", "spec/spec/runner/formatter/story/progress_bar_formatter_spec.rb", "spec/spec/runner/formatter/text_mate_formatted-1.8.4.html", "spec/spec/runner/formatter/text_mate_formatted-1.8.6.html", "spec/spec/runner/formatter/text_mate_formatted-1.8.7.html", "spec/spec/runner/formatter/text_mate_formatted-1.9.1.html", "spec/spec/runner/heckle_runner_spec.rb", "spec/spec/runner/heckler_spec.rb", "spec/spec/runner/noisy_backtrace_tweaker_spec.rb", "spec/spec/runner/option_parser_spec.rb", "spec/spec/runner/options_spec.rb", "spec/spec/runner/output_one_time_fixture.rb", "spec/spec/runner/output_one_time_fixture_runner.rb", "spec/spec/runner/output_one_time_spec.rb", "spec/spec/runner/quiet_backtrace_tweaker_spec.rb", "spec/spec/runner/reporter_spec.rb", "spec/spec/runner/resources/a_bar.rb", "spec/spec/runner/resources/a_foo.rb", "spec/spec/runner/resources/a_spec.rb", "spec/spec/runner/resources/custom_example_group_runner.rb", "spec/spec/runner/spec.opts", "spec/spec/runner/spec_drb.opts", "spec/spec/runner/spec_parser/spec_parser_fixture.rb", "spec/spec/runner/spec_parser_spec.rb", "spec/spec/runner/spec_spaced.opts", "spec/spec/runner_spec.rb", "spec/spec/spec_classes.rb", "spec/spec/spec_spec.rb", "spec/spec/story/builders.rb", "spec/spec/story/extensions/main_spec.rb", "spec/spec/story/extensions_spec.rb", "spec/spec/story/given_scenario_spec.rb", "spec/spec/story/runner/plain_text_story_runner_spec.rb", "spec/spec/story/runner/scenario_collector_spec.rb", "spec/spec/story/runner/scenario_runner_spec.rb", "spec/spec/story/runner/story_mediator_spec.rb", "spec/spec/story/runner/story_parser_spec.rb", "spec/spec/story/runner/story_runner_spec.rb", "spec/spec/story/runner_spec.rb", "spec/spec/story/scenario_spec.rb", "spec/spec/story/step_group_spec.rb", "spec/spec/story/step_mother_spec.rb", "spec/spec/story/step_spec.rb", "spec/spec/story/story_helper.rb", "spec/spec/story/story_spec.rb", "spec/spec/story/world_spec.rb", "spec/spec_helper.rb", "story_server/prototype/javascripts/builder.js", "story_server/prototype/javascripts/controls.js", "story_server/prototype/javascripts/dragdrop.js", "story_server/prototype/javascripts/effects.js", "story_server/prototype/javascripts/prototype.js", "story_server/prototype/javascripts/rspec.js", "story_server/prototype/javascripts/scriptaculous.js", "story_server/prototype/javascripts/slider.js", "story_server/prototype/javascripts/sound.js", "story_server/prototype/javascripts/unittest.js", "story_server/prototype/lib/server.rb", "story_server/prototype/stories.html", "story_server/prototype/stylesheets/rspec.css", "story_server/prototype/stylesheets/test.css"]
15
15
  s.has_rdoc = true
16
16
  s.homepage = %q{http://rspec.info/}
17
17
  s.rdoc_options = ["--main", "README.txt"]
18
18
  s.require_paths = ["lib"]
19
19
  s.rubyforge_project = %q{rspec}
20
20
  s.rubygems_version = %q{1.3.1}
21
- s.summary = %q{rspec 1.1.11.4}
21
+ s.summary = %q{rspec 1.1.11.5}
22
22
 
23
23
  if s.respond_to? :specification_version then
24
24
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
25
  s.specification_version = 2
26
26
 
27
27
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<cucumber>, [">= 0.1.13"])
28
+ s.add_development_dependency(%q<cucumber>, [">= 0.1.13"])
29
29
  s.add_development_dependency(%q<hoe>, [">= 1.8.2"])
30
30
  end
31
31
  end
@@ -4,7 +4,7 @@ module Spec
4
4
  module DSL
5
5
  describe Main do
6
6
  before(:each) do
7
- @main = Class.new do; include Main; end
7
+ @main = Class.new do; include Spec::DSL::Main; end
8
8
  end
9
9
 
10
10
  [:describe, :context].each do |method|
@@ -30,6 +30,26 @@ module Spec
30
30
  end
31
31
  end
32
32
  end
33
+
34
+ describe "#describe; with RUBY_VERSION = 1.9" do
35
+ it "includes an enclosing module into the block's scope" do
36
+ Spec::Ruby.stub!(:version).and_return("1.9")
37
+
38
+ module Foo; module Bar; end; end
39
+
40
+ Foo::Bar.should_receive(:included).with do |*args|
41
+ included_by = args.last
42
+ included_by.description.should == "this example group"
43
+ end
44
+
45
+ module Foo
46
+ module Bar
47
+ describe("this example group") do; end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
33
53
 
34
54
  describe "#share_as" do
35
55
  def self.next_group_name