messagebus_ruby_api 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/messagebus_ruby_api/client.rb +19 -10
- data/lib/messagebus_ruby_api/version.rb +1 -1
- data/spec/messagebus_ruby_api/client_spec.rb +36 -18
- metadata +2 -1632
- data/spec/ruby/1.9.1/bin/autospec +0 -19
- data/spec/ruby/1.9.1/bin/htmldiff +0 -19
- data/spec/ruby/1.9.1/bin/ldiff +0 -19
- data/spec/ruby/1.9.1/bin/rspec +0 -19
- data/spec/ruby/1.9.1/cache/activesupport-3.0.9.gem +0 -0
- data/spec/ruby/1.9.1/cache/diff-lcs-1.1.2.gem +0 -0
- data/spec/ruby/1.9.1/cache/fakeweb-1.3.0.gem +0 -0
- data/spec/ruby/1.9.1/cache/rr-1.0.2.gem +0 -0
- data/spec/ruby/1.9.1/cache/rspec-2.5.0.gem +0 -0
- data/spec/ruby/1.9.1/cache/rspec-core-2.5.1.gem +0 -0
- data/spec/ruby/1.9.1/cache/rspec-expectations-2.5.0.gem +0 -0
- data/spec/ruby/1.9.1/cache/rspec-mocks-2.5.0.gem +0 -0
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/CHANGELOG +0 -1496
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/README.rdoc +0 -33
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support.rb +0 -80
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/all.rb +0 -3
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/backtrace_cleaner.rb +0 -94
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/base64.rb +0 -42
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/basic_object.rb +0 -21
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/benchmarkable.rb +0 -60
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/buffered_logger.rb +0 -139
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/builder.rb +0 -6
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache.rb +0 -638
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache/compressed_mem_cache_store.rb +0 -13
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache/file_store.rb +0 -188
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache/mem_cache_store.rb +0 -190
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache/memory_store.rb +0 -159
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache/strategy/local_cache.rb +0 -164
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/cache/synchronized_memory_store.rb +0 -11
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/callbacks.rb +0 -601
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/concern.rb +0 -64
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/configurable.rb +0 -48
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext.rb +0 -3
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array.rb +0 -7
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/access.rb +0 -46
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/conversions.rb +0 -164
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/extract_options.rb +0 -29
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/grouping.rb +0 -100
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/random_access.rb +0 -27
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/uniq_by.rb +0 -17
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/array/wrap.rb +0 -48
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/benchmark.rb +0 -7
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/big_decimal.rb +0 -1
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/big_decimal/conversions.rb +0 -44
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/cgi.rb +0 -1
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -19
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/class.rb +0 -5
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/class/attribute.rb +0 -90
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/class/attribute_accessors.rb +0 -79
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -254
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/class/subclasses.rb +0 -50
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date/acts_like.rb +0 -8
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date/calculations.rb +0 -241
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date/conversions.rb +0 -99
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date/freeze.rb +0 -31
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date/zones.rb +0 -14
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date_time/acts_like.rb +0 -13
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date_time/calculations.rb +0 -115
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date_time/conversions.rb +0 -103
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/date_time/zones.rb +0 -21
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/enumerable.rb +0 -120
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/exception.rb +0 -3
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/file.rb +0 -2
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/file/atomic.rb +0 -41
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/file/path.rb +0 -5
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/float.rb +0 -1
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/float/rounding.rb +0 -19
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash.rb +0 -8
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/conversions.rb +0 -151
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/deep_merge.rb +0 -16
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/diff.rb +0 -13
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/except.rb +0 -23
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/indifferent_access.rb +0 -12
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/keys.rb +0 -45
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/reverse_merge.rb +0 -28
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/hash/slice.rb +0 -38
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/integer.rb +0 -3
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/integer/inflections.rb +0 -14
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/integer/multiple.rb +0 -6
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/integer/time.rb +0 -39
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/kernel.rb +0 -5
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/kernel/debugger.rb +0 -16
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/kernel/reporting.rb +0 -62
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/kernel/requires.rb +0 -26
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/load_error.rb +0 -23
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/logger.rb +0 -108
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module.rb +0 -12
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/aliasing.rb +0 -70
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/anonymous.rb +0 -24
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/attr_internal.rb +0 -32
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/attribute_accessors.rb +0 -60
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/delegation.rb +0 -146
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/deprecation.rb +0 -11
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/introspection.rb +0 -88
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/method_names.rb +0 -14
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/reachable.rb +0 -10
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/remove_method.rb +0 -11
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/module/synchronization.rb +0 -43
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/name_error.rb +0 -18
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/numeric.rb +0 -2
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/numeric/time.rb +0 -77
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object.rb +0 -13
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/acts_like.rb +0 -10
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/blank.rb +0 -76
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/conversions.rb +0 -4
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/duplicable.rb +0 -65
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/instance_variables.rb +0 -67
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/returning.rb +0 -43
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/to_json.rb +0 -19
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/to_param.rb +0 -50
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/to_query.rb +0 -27
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/try.rb +0 -36
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/object/with_options.rb +0 -26
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/proc.rb +0 -14
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/process.rb +0 -1
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/process/daemon.rb +0 -23
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/range.rb +0 -4
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/range/blockless_step.rb +0 -29
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/range/conversions.rb +0 -21
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/range/include_range.rb +0 -21
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/range/overlaps.rb +0 -8
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/regexp.rb +0 -5
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/rexml.rb +0 -46
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string.rb +0 -13
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/access.rb +0 -99
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/behavior.rb +0 -7
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/conversions.rb +0 -53
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/encoding.rb +0 -11
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/exclude.rb +0 -6
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/filters.rb +0 -49
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/inflections.rb +0 -164
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/interpolation.rb +0 -2
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/multibyte.rb +0 -72
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/output_safety.rb +0 -135
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/strip.rb +0 -26
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/string/xchar.rb +0 -18
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/time/acts_like.rb +0 -8
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/time/calculations.rb +0 -287
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/time/conversions.rb +0 -85
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/time/marshal.rb +0 -56
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/time/zones.rb +0 -75
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/core_ext/uri.rb +0 -22
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb +0 -668
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies/autoload.rb +0 -50
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/deprecation.rb +0 -18
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/deprecation/behaviors.rb +0 -42
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/deprecation/method_wrappers.rb +0 -29
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/deprecation/proxy_wrappers.rb +0 -81
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/deprecation/reporting.rb +0 -61
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/descendants_tracker.rb +0 -43
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/duration.rb +0 -105
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/file_update_checker.rb +0 -36
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/gzip.rb +0 -29
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/hash_with_indifferent_access.rb +0 -152
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/i18n.rb +0 -10
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/i18n_railtie.rb +0 -96
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/inflections.rb +0 -60
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/inflector.rb +0 -7
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/inflector/inflections.rb +0 -211
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/inflector/methods.rb +0 -151
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/inflector/transliterate.rb +0 -98
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json.rb +0 -2
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json/backends/jsongem.rb +0 -47
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json/backends/yajl.rb +0 -44
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json/backends/yaml.rb +0 -107
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json/decoding.rb +0 -51
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json/encoding.rb +0 -279
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/json/variable.rb +0 -9
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/lazy_load_hooks.rb +0 -46
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/locale/en.yml +0 -36
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/log_subscriber.rb +0 -122
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/log_subscriber/test_helper.rb +0 -99
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/memoizable.rb +0 -105
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/message_encryptor.rb +0 -71
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/message_verifier.rb +0 -62
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/multibyte.rb +0 -44
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/multibyte/chars.rb +0 -476
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/multibyte/exceptions.rb +0 -8
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/multibyte/unicode.rb +0 -392
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/multibyte/utils.rb +0 -60
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/notifications.rb +0 -78
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/notifications/fanout.rb +0 -61
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/notifications/instrumenter.rb +0 -54
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/option_merger.rb +0 -25
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/ordered_hash.rb +0 -192
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/ordered_options.rb +0 -27
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/railtie.rb +0 -60
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/rescuable.rb +0 -114
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/ruby/shim.rb +0 -22
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/secure_random.rb +0 -199
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/string_inquirer.rb +0 -21
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/test_case.rb +0 -42
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/assertions.rb +0 -84
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/declarative.rb +0 -40
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/default.rb +0 -9
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/deprecation.rb +0 -55
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/isolation.rb +0 -157
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/pending.rb +0 -48
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/performance.rb +0 -425
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/testing/setup_and_teardown.rb +0 -111
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/time.rb +0 -35
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/time/autoload.rb +0 -5
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/time_with_zone.rb +0 -348
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/values/time_zone.rb +0 -379
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/values/unicode_tables.dat +0 -0
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/version.rb +0 -10
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/whiny_nil.rb +0 -60
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini.rb +0 -162
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini/jdom.rb +0 -175
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini/libxml.rb +0 -79
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini/libxmlsax.rb +0 -85
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini/nokogiri.rb +0 -83
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini/nokogirisax.rb +0 -87
- data/spec/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/xml_mini/rexml.rb +0 -129
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/ChangeLog +0 -46
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/Install +0 -6
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/README +0 -76
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/Rakefile +0 -116
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/bin/htmldiff +0 -112
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/bin/ldiff +0 -45
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs.rb +0 -1105
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/array.rb +0 -21
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/block.rb +0 -51
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/callbacks.rb +0 -322
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/change.rb +0 -169
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/hunk.rb +0 -257
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/ldiff.rb +0 -226
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/lib/diff/lcs/string.rb +0 -19
- data/spec/ruby/1.9.1/gems/diff-lcs-1.1.2/tests/00test.rb +0 -626
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/CHANGELOG +0 -215
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/LICENSE.txt +0 -19
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/README.rdoc +0 -189
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/Rakefile +0 -67
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/fakeweb.gemspec +0 -126
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web.rb +0 -215
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web/ext/net_http.rb +0 -72
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web/registry.rb +0 -127
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web/responder.rb +0 -122
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web/response.rb +0 -10
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web/stub_socket.rb +0 -15
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fake_web/utility.rb +0 -87
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/lib/fakeweb.rb +0 -2
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/fixtures/google_response_from_curl +0 -12
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/fixtures/google_response_with_transfer_encoding +0 -17
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/fixtures/google_response_without_transfer_encoding +0 -11
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/fixtures/test_example.txt +0 -1
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/fixtures/test_txt_file +0 -3
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_allow_net_connect.rb +0 -168
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_deprecations.rb +0 -54
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_fake_authentication.rb +0 -92
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_fake_web.rb +0 -590
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_fake_web_open_uri.rb +0 -58
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_helper.rb +0 -90
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_last_request.rb +0 -29
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_missing_open_uri.rb +0 -25
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_missing_pathname.rb +0 -37
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_other_net_http_libraries.rb +0 -36
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_precedence.rb +0 -79
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_query_string.rb +0 -45
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_regexes.rb +0 -157
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_response_headers.rb +0 -79
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_trailing_slashes.rb +0 -53
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/test_utility.rb +0 -83
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/History.txt +0 -59
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/Manifest.txt +0 -7
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/README.txt +0 -54
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/Rakefile +0 -103
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/lib/net_fix.rb +0 -160
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/lib/right_http_connection.rb +0 -435
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/right_http_connection-1.2.4/setup.rb +0 -1585
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/LICENSE +0 -20
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/README.rdoc +0 -70
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/Rakefile +0 -62
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/VERSION +0 -1
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/lib/samuel.rb +0 -52
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/lib/samuel/net_http.rb +0 -10
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/lib/samuel/request.rb +0 -96
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/samuel.gemspec +0 -69
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/test/request_test.rb +0 -193
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/test/samuel_test.rb +0 -42
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/test/test_helper.rb +0 -66
- data/spec/ruby/1.9.1/gems/fakeweb-1.3.0/test/vendor/samuel-0.2.1/test/thread_test.rb +0 -32
- data/spec/ruby/1.9.1/gems/rr-1.0.2/CHANGES +0 -260
- data/spec/ruby/1.9.1/gems/rr-1.0.2/Gemfile +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/LICENSE +0 -22
- data/spec/ruby/1.9.1/gems/rr-1.0.2/README.rdoc +0 -385
- data/spec/ruby/1.9.1/gems/rr-1.0.2/Rakefile +0 -88
- data/spec/ruby/1.9.1/gems/rr-1.0.2/VERSION.yml +0 -5
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr.rb +0 -99
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/adapters/rr_methods.rb +0 -146
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/adapters/rspec.rb +0 -61
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/adapters/test_unit.rb +0 -31
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/blank_slate.rb +0 -17
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/class_instance_method_defined.rb +0 -9
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double.rb +0 -154
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/child_double_definition_create.rb +0 -27
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/double_definition.rb +0 -367
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/double_definition_create.rb +0 -139
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/double_definition_create_blank_slate.rb +0 -26
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/double_injections/any_instance_of.rb +0 -28
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/double_injections/instance.rb +0 -16
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/double_injection/any_instance_of.rb +0 -30
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/double_injection/double_injection_strategy.rb +0 -10
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/double_injection/instance.rb +0 -17
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/implementation_strategy.rb +0 -10
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/proxy.rb +0 -60
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/reimplementation.rb +0 -14
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/implementation/strongly_typed_reimplementation.rb +0 -15
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/strategy.rb +0 -43
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/strategy_methods.rb +0 -53
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/dont_allow.rb +0 -31
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/mock.rb +0 -42
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/stub.rb +0 -43
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_definitions/strategies/verification/verification_strategy.rb +0 -10
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/double_matches.rb +0 -42
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/argument_equality_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/double_definition_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/double_not_found_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/double_order_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/rr_error.rb +0 -20
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/spy_verification_errors/double_injection_not_found_error.rb +0 -8
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/spy_verification_errors/invocation_count_error.rb +0 -8
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/spy_verification_errors/spy_verification_error.rb +0 -8
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/subject_does_not_implement_method_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/subject_has_different_arity_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/errors/times_called_error.rb +0 -6
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/expectations/any_argument_expectation.rb +0 -21
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/expectations/argument_equality_expectation.rb +0 -41
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/expectations/times_called_expectation.rb +0 -57
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/hash_with_object_id_key.rb +0 -46
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/injections/double_injection.rb +0 -213
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/injections/injection.rb +0 -33
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/injections/method_missing_injection.rb +0 -68
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/injections/singleton_method_added_injection.rb +0 -72
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/method_dispatches/base_method_dispatch.rb +0 -84
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/method_dispatches/method_dispatch.rb +0 -59
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/method_dispatches/method_missing_dispatch.rb +0 -61
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/proc_from_block.rb +0 -7
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/recorded_calls.rb +0 -103
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/space.rb +0 -112
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/spy_verification.rb +0 -48
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/spy_verification_proxy.rb +0 -13
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/any_times_matcher.rb +0 -18
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/at_least_matcher.rb +0 -15
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/at_most_matcher.rb +0 -23
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/integer_matcher.rb +0 -19
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/never_matcher.rb +0 -23
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/non_terminal.rb +0 -27
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/proc_matcher.rb +0 -11
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/range_matcher.rb +0 -21
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/terminal.rb +0 -20
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/times_called_matchers/times_called_matcher.rb +0 -44
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers.rb +0 -158
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/anything.rb +0 -18
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/boolean.rb +0 -23
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/duck_type.rb +0 -32
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/hash_including.rb +0 -29
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/is_a.rb +0 -25
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/numeric.rb +0 -13
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/range.rb +0 -7
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/regexp.rb +0 -7
- data/spec/ruby/1.9.1/gems/rr-1.0.2/lib/rr/wildcard_matchers/satisfy.rb +0 -26
- data/spec/ruby/1.9.1/gems/rr-1.0.2/scratch.rb +0 -118
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/any_instance_of/all_instances_of_spec.rb +0 -12
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/any_instance_of/any_instance_of_spec.rb +0 -47
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/any_instance_of/instance_of_spec.rb +0 -12
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/dont_allow/dont_allow_after_stub_spec.rb +0 -14
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/mock/mock_spec.rb +0 -193
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/proxy/proxy_spec.rb +0 -86
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/spy/spy_spec.rb +0 -49
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/strong/strong_spec.rb +0 -87
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/api/stub/stub_spec.rb +0 -152
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/core_spec_suite.rb +0 -19
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/environment_fixture_setup.rb +0 -8
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/proc_from_block_spec.rb +0 -14
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/adapters/rr_methods_argument_matcher_spec.rb +0 -67
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/adapters/rr_methods_creator_spec.rb +0 -137
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/adapters/rr_methods_space_spec.rb +0 -98
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/adapters/rr_methods_spec_helper.rb +0 -11
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/adapters/rr_methods_times_matcher_spec.rb +0 -13
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/double_definitions/child_double_definition_creator_spec.rb +0 -112
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/double_definitions/double_definition_create_blank_slate_spec.rb +0 -91
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/double_definitions/double_definition_create_spec.rb +0 -443
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/double_injection/double_injection_spec.rb +0 -546
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/double_injection/double_injection_verify_spec.rb +0 -29
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/errors/rr_error_spec.rb +0 -67
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/any_argument_expectation_spec.rb +0 -47
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/anything_argument_equality_expectation_spec.rb +0 -14
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/argument_equality_expectation_spec.rb +0 -135
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/boolean_argument_equality_expectation_spec.rb +0 -34
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/hash_including_argument_equality_expectation_spec.rb +0 -82
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/hash_including_spec.rb +0 -17
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/satisfy_argument_equality_expectation_spec.rb +0 -59
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/satisfy_spec.rb +0 -14
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_any_times_spec.rb +0 -22
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_at_least_spec.rb +0 -37
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_at_most_spec.rb +0 -43
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_helper.rb +0 -15
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_integer_spec.rb +0 -58
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_proc_spec.rb +0 -35
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/expectations/times_called_expectation/times_called_expectation_range_spec.rb +0 -39
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/rspec/invocation_matcher_spec.rb +0 -279
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/rspec/rspec_adapter_spec.rb +0 -63
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/rspec/rspec_backtrace_tweaking_spec.rb +0 -31
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/rspec/rspec_backtrace_tweaking_spec_fixture.rb +0 -11
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/rspec/rspec_usage_spec.rb +0 -86
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/space/hash_with_object_id_key_spec.rb +0 -88
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/space/space_spec.rb +0 -587
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/test_unit/test_helper.rb +0 -7
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/test_unit/test_unit_backtrace_test.rb +0 -36
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/test_unit/test_unit_integration_test.rb +0 -59
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/any_times_matcher_spec.rb +0 -47
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/at_least_matcher_spec.rb +0 -55
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/at_most_matcher_spec.rb +0 -70
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/integer_matcher_spec.rb +0 -70
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/proc_matcher_spec.rb +0 -55
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/range_matcher_spec.rb +0 -76
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/times_called_matchers/times_called_matcher_spec.rb +0 -118
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/anything_spec.rb +0 -24
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/boolean_spec.rb +0 -36
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/duck_type_spec.rb +0 -52
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/is_a_spec.rb +0 -32
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/numeric_spec.rb +0 -32
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/range_spec.rb +0 -35
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr/wildcard_matchers/regexp_spec.rb +0 -43
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rr_spec.rb +0 -28
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/rspec_spec_suite.rb +0 -17
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/spec_helper.rb +0 -37
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/spec_suite.rb +0 -48
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/spy_verification_spec.rb +0 -129
- data/spec/ruby/1.9.1/gems/rr-1.0.2/spec/test_unit_spec_suite.rb +0 -21
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/Gemfile +0 -7
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/License.txt +0 -22
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/README.markdown +0 -47
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/Rakefile +0 -16
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/lib/rspec.rb +0 -4
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/lib/rspec/version.rb +0 -5
- data/spec/ruby/1.9.1/gems/rspec-2.5.0/rspec.gemspec +0 -29
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/Gemfile +0 -52
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/Guardfile +0 -5
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/License.txt +0 -23
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/README.md +0 -103
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/Rakefile +0 -72
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/bin/autospec +0 -13
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/bin/rspec +0 -25
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/cucumber.yml +0 -2
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/Autotest.md +0 -14
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/Changelog.md +0 -226
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/README.md +0 -17
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/Upgrade.md +0 -287
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/README.md +0 -6
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/configure.feature +0 -22
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/example_name_option.feature +0 -86
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/exit_status.feature +0 -52
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/format_option.feature +0 -73
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/line_number_appended_to_path.feature +0 -106
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/line_number_option.feature +0 -45
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/rake_task.feature +0 -68
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/command_line/tag.feature +0 -74
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/configuration/custom_settings.feature +0 -84
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/configuration/fail_fast.feature +0 -77
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/configuration/read_options_from_file.feature +0 -87
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/example_groups/basic_structure.feature +0 -59
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/example_groups/shared_example_group.feature +0 -177
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/expectation_framework_integration/configure_expectation_framework.feature +0 -62
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/filtering/exclusion_filters.feature +0 -115
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/filtering/implicit_filters.feature +0 -166
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/filtering/inclusion_filters.feature +0 -83
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/filtering/run_all_when_everything_filtered.feature +0 -46
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/formatters/custom_formatter.feature +0 -36
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/helper_methods/arbitrary_methods.feature +0 -40
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/helper_methods/let.feature +0 -50
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/hooks/around_hooks.feature +0 -336
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/hooks/before_and_after_hooks.feature +0 -427
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/hooks/filtering.feature +0 -191
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/metadata/described_class.feature +0 -17
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/mock_framework_integration/use_any_framework.feature +0 -106
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/mock_framework_integration/use_flexmock.feature +0 -23
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/mock_framework_integration/use_mocha.feature +0 -23
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/mock_framework_integration/use_rr.feature +0 -23
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/mock_framework_integration/use_rspec.feature +0 -23
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/pending/pending_examples.feature +0 -216
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/spec_files/arbitrary_file_suffix.feature +0 -13
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/step_definitions/additional_cli_steps.rb +0 -20
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/subject/attribute_of_subject.feature +0 -102
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/subject/explicit_subject.feature +0 -78
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/subject/implicit_receiver.feature +0 -29
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/subject/implicit_subject.feature +0 -30
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/features/support/env.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/autotest/discover.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/autotest/rspec2.rb +0 -67
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/autorun.rb +0 -2
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core.rb +0 -65
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/backward_compatibility.rb +0 -48
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/command_line.rb +0 -35
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/command_line_configuration.rb +0 -62
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb +0 -470
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/configuration_options.rb +0 -126
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/deprecation.rb +0 -45
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/drb_command_line.rb +0 -29
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/errors.rb +0 -14
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/example.rb +0 -167
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/example_group.rb +0 -300
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/expecting/with_rspec.rb +0 -11
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/expecting/with_stdlib.rb +0 -9
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions.rb +0 -4
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/instance_eval_with_args.rb +0 -39
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/kernel.rb +0 -5
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/module_eval_with_args.rb +0 -34
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/extensions/object.rb +0 -14
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/base_formatter.rb +0 -162
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/base_text_formatter.rb +0 -165
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/documentation_formatter.rb +0 -71
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/helpers.rb +0 -28
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/html_formatter.rb +0 -456
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/progress_formatter.rb +0 -32
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/snippet_extractor.rb +0 -52
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/formatters/text_mate_formatter.rb +0 -20
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/hooks.rb +0 -149
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/let.rb +0 -101
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/load_path.rb +0 -3
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/metadata.rb +0 -187
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/mocking/with_absolutely_nothing.rb +0 -11
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/mocking/with_flexmock.rb +0 -25
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/mocking/with_mocha.rb +0 -21
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/mocking/with_rr.rb +0 -25
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/mocking/with_rspec.rb +0 -21
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/option_parser.rb +0 -132
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/pending.rb +0 -30
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/rake_task.rb +0 -196
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/reporter.rb +0 -79
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/ruby_project.rb +0 -44
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/runner.rb +0 -61
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/shared_context.rb +0 -16
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/shared_example_group.rb +0 -53
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/subject.rb +0 -177
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/version.rb +0 -7
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/world.rb +0 -102
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/monkey.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/monkey/spork/test_framework/rspec.rb +0 -7
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/rspec-core.gemspec +0 -26
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/script/FullBuildRakeFile +0 -63
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/script/console +0 -8
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/script/cucumber +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/script/full_build +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/script/spec +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/autotest/discover_spec.rb +0 -19
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/autotest/failed_results_re_spec.rb +0 -37
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/autotest/rspec_spec.rb +0 -123
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/command_line_configuration_spec.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/command_line_spec.rb +0 -134
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/command_line_spec_output.txt +0 -0
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/configuration_options_spec.rb +0 -341
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/configuration_spec.rb +0 -716
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/deprecations_spec.rb +0 -45
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/drb_command_line_spec.rb +0 -159
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/example_group_spec.rb +0 -753
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/example_spec.rb +0 -162
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/base_formatter_spec.rb +0 -59
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/base_text_formatter_spec.rb +0 -184
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/documentation_formatter_spec.rb +0 -66
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/helpers_spec.rb +0 -46
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/html_formatted-1.8.6.html +0 -398
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +0 -400
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/html_formatted-1.8.7.html +0 -398
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/html_formatted-1.9.1.html +0 -405
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/html_formatted-1.9.2.html +0 -405
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/html_formatter_spec.rb +0 -81
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/progress_formatter_spec.rb +0 -31
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/snippet_extractor_spec.rb +0 -18
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/text_mate_formatted-1.8.6.html +0 -398
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +0 -400
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +0 -398
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/text_mate_formatted-1.9.1.html +0 -405
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +0 -405
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/formatters/text_mate_formatter_spec.rb +0 -84
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/hooks_filtering_spec.rb +0 -227
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/hooks_spec.rb +0 -57
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/kernel_extensions_spec.rb +0 -9
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/let_spec.rb +0 -42
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/metadata_spec.rb +0 -298
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/option_parser_spec.rb +0 -75
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/pending_example_spec.rb +0 -226
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/rake_task_spec.rb +0 -161
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/reporter_spec.rb +0 -70
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/resources/a_bar.rb +0 -0
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/resources/a_foo.rb +0 -0
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/resources/a_spec.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/resources/custom_example_group_runner.rb +0 -14
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/resources/formatter_specs.rb +0 -54
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/resources/utf8_encoded.rb +0 -8
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/ruby_project_spec.rb +0 -24
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/runner_spec.rb +0 -47
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/shared_context_spec.rb +0 -30
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/shared_example_group_spec.rb +0 -152
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/subject_spec.rb +0 -178
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core/world_spec.rb +0 -174
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/rspec/core_spec.rb +0 -31
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/ruby_forker.rb +0 -13
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/spec_helper.rb +0 -71
- data/spec/ruby/1.9.1/gems/rspec-core-2.5.1/spec/support/matchers.rb +0 -44
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/Gemfile +0 -38
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/Guardfile +0 -5
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/License.txt +0 -22
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/README.md +0 -41
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/Rakefile +0 -70
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/cucumber.yml +0 -3
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/Changelog.md +0 -84
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/README.markdown +0 -42
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/Upgrade.md +0 -53
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/be.feature +0 -135
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/be_within.feature +0 -43
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/equality.feature +0 -142
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/exist.feature +0 -49
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/expect_change.feature +0 -59
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/expect_error.feature +0 -105
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/have.feature +0 -103
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/include.feature +0 -121
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/match.feature +0 -50
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/operators.feature +0 -221
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/predicates.feature +0 -128
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/respond_to.feature +0 -78
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/satisfy.feature +0 -31
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/throw_symbol.feature +0 -85
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/built_in_matchers/types.feature +0 -114
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/custom_matchers/access_running_example.feature +0 -53
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/custom_matchers/define_diffable_matcher.feature +0 -27
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/custom_matchers/define_matcher.feature +0 -311
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/custom_matchers/define_matcher_outside_rspec.feature +0 -38
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/custom_matchers/define_matcher_with_fluent_interface.feature +0 -24
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/customized_message.feature +0 -22
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/diffing.feature +0 -85
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/implicit_docstrings.feature +0 -52
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/step_definitions/additional_cli_steps.rb +0 -22
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/support/env.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/features/test_frameworks/test_unit.feature +0 -46
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec-expectations.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations.rb +0 -39
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/backward_compatibility.rb +0 -16
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/deprecation.rb +0 -36
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/differ.rb +0 -62
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/errors.rb +0 -12
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/extensions.rb +0 -2
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/extensions/array.rb +0 -7
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/extensions/kernel.rb +0 -52
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/fail_with.rb +0 -51
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/handler.rb +0 -50
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/version.rb +0 -7
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers.rb +0 -196
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/be.rb +0 -222
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/be_close.rb +0 -17
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/be_instance_of.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/be_kind_of.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/be_within.rb +0 -40
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/block_aliases.rb +0 -19
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/change.rb +0 -190
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/compatibility.rb +0 -14
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/dsl.rb +0 -21
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/eq.rb +0 -50
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/eql.rb +0 -45
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/equal.rb +0 -53
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/errors.rb +0 -5
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/exist.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/extensions/instance_exec.rb +0 -31
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/generated_descriptions.rb +0 -36
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/has.rb +0 -35
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/have.rb +0 -151
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/include.rb +0 -54
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/match.rb +0 -21
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/match_array.rb +0 -71
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/matcher.rb +0 -161
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/method_missing.rb +0 -12
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/operator_matcher.rb +0 -87
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/pretty.rb +0 -37
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/raise_error.rb +0 -130
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/respond_to.rb +0 -85
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/satisfy.rb +0 -51
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/matchers/throw_symbol.rb +0 -121
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/rspec-expectations.gemspec +0 -27
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/expectations/differ_spec.rb +0 -96
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/expectations/extensions/kernel_spec.rb +0 -45
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/expectations/fail_with_spec.rb +0 -70
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/expectations/handler_spec.rb +0 -206
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/be_close_spec.rb +0 -22
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/be_instance_of_spec.rb +0 -36
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/be_kind_of_spec.rb +0 -33
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/be_spec.rb +0 -456
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/be_within_spec.rb +0 -64
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/change_spec.rb +0 -409
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/compatibility_spec.rb +0 -28
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/description_generation_spec.rb +0 -160
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/dsl_spec.rb +0 -25
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/eq_spec.rb +0 -38
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/eql_spec.rb +0 -37
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/equal_spec.rb +0 -57
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/exist_spec.rb +0 -104
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/has_spec.rb +0 -81
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/have_spec.rb +0 -401
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/include_spec.rb +0 -341
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/match_array_spec.rb +0 -111
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/match_spec.rb +0 -57
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/matcher_spec.rb +0 -374
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/matchers_spec.rb +0 -51
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/operator_matcher_spec.rb +0 -215
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/raise_error_spec.rb +0 -339
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/respond_to_spec.rb +0 -292
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/satisfy_spec.rb +0 -40
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/rspec/matchers/throw_symbol_spec.rb +0 -113
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/spec_helper.rb +0 -24
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/suite.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/support/classes.rb +0 -45
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/support/matchers.rb +0 -22
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/spec/support/ruby_version.rb +0 -10
- data/spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/specs.watchr +0 -57
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/Gemfile +0 -39
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/Guardfile +0 -8
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/License.txt +0 -22
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/README.md +0 -57
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/Rakefile +0 -75
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/autotest/discover.rb +0 -1
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/cucumber.yml +0 -2
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/Changelog.md +0 -68
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/README.markdown +0 -27
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/Upgrade.md +0 -14
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/message_expectations/README.md +0 -58
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/message_expectations/block_local_expectations.feature.pending +0 -55
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/message_expectations/expect_message.feature +0 -94
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +0 -50
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/method_stubs/README.md +0 -39
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/method_stubs/simple_return_value.feature +0 -55
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/method_stubs/stub_chain.feature +0 -44
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/method_stubs/stub_implementation.feature +0 -26
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/outside_rspec/configuration.feature +0 -82
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/outside_rspec/standalone.feature +0 -32
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/features/support/env.rb +0 -2
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks.rb +0 -196
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/argument_expectation.rb +0 -53
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/argument_matchers.rb +0 -233
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/error_generator.rb +0 -97
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/errors.rb +0 -10
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/extensions/instance_exec.rb +0 -31
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/extensions/marshal.rb +0 -27
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/framework.rb +0 -17
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/message_expectation.rb +0 -351
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/method_double.rb +0 -165
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/methods.rb +0 -100
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/mock.rb +0 -79
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/order_group.rb +0 -29
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/proxy.rb +0 -158
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/serialization.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/space.rb +0 -28
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/spec_methods.rb +0 -53
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/standalone.rb +0 -3
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/rspec/mocks/version.rb +0 -7
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/lib/spec/mocks.rb +0 -2
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/rspec-mocks.gemspec +0 -25
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/and_yield_spec.rb +0 -114
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/any_number_of_times_spec.rb +0 -36
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/argument_expectation_spec.rb +0 -25
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/at_least_spec.rb +0 -97
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/at_most_spec.rb +0 -93
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/block_return_value_spec.rb +0 -45
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_10260_spec.rb +0 -8
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_10263_spec.rb +0 -27
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_11545_spec.rb +0 -32
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_496_spec.rb +0 -17
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_600_spec.rb +0 -22
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_7611_spec.rb +0 -18
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_7805_spec.rb +0 -22
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_8165_spec.rb +0 -31
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_8302_spec.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_830_spec.rb +0 -21
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/bug_report_957_spec.rb +0 -22
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/double_spec.rb +0 -12
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/failing_argument_matchers_spec.rb +0 -96
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/hash_including_matcher_spec.rb +0 -90
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/hash_not_including_matcher_spec.rb +0 -67
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/mock_ordering_spec.rb +0 -94
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/mock_space_spec.rb +0 -54
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/mock_spec.rb +0 -696
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/multiple_return_value_spec.rb +0 -191
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/nil_expectation_warning_spec.rb +0 -63
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/null_object_mock_spec.rb +0 -78
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/once_counts_spec.rb +0 -53
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/options_hash_spec.rb +0 -35
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/partial_mock_spec.rb +0 -155
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +0 -94
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/passing_argument_matchers_spec.rb +0 -145
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/precise_counts_spec.rb +0 -52
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/record_messages_spec.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/serialization_spec.rb +0 -88
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/stash_spec.rb +0 -27
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/stub_chain_spec.rb +0 -114
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/stub_implementation_spec.rb +0 -68
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/stub_spec.rb +0 -232
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/stubbed_message_expectations_spec.rb +0 -26
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks/twice_counts_spec.rb +0 -67
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/rspec/mocks_spec.rb +0 -51
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/spec/spec_helper.rb +0 -52
- data/spec/ruby/1.9.1/gems/rspec-mocks-2.5.0/specs.watchr +0 -57
- data/spec/ruby/1.9.1/specifications/activesupport-3.0.9.gemspec +0 -27
- data/spec/ruby/1.9.1/specifications/diff-lcs-1.1.2.gemspec +0 -32
- data/spec/ruby/1.9.1/specifications/fakeweb-1.3.0.gemspec +0 -32
- data/spec/ruby/1.9.1/specifications/rr-1.0.2.gemspec +0 -29
- data/spec/ruby/1.9.1/specifications/rspec-2.5.0.gemspec +0 -38
- data/spec/ruby/1.9.1/specifications/rspec-core-2.5.1.gemspec +0 -30
- data/spec/ruby/1.9.1/specifications/rspec-expectations-2.5.0.gemspec +0 -32
- data/spec/ruby/1.9.1/specifications/rspec-mocks-2.5.0.gemspec +0 -29
File without changes
|
@@ -1,341 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'ostruct'
|
3
|
-
require 'tmpdir'
|
4
|
-
|
5
|
-
describe RSpec::Core::ConfigurationOptions do
|
6
|
-
|
7
|
-
def config_options_object(*args)
|
8
|
-
coo = RSpec::Core::ConfigurationOptions.new(args)
|
9
|
-
coo.parse_options
|
10
|
-
coo
|
11
|
-
end
|
12
|
-
|
13
|
-
def parse_options(*args)
|
14
|
-
config_options_object(*args).options
|
15
|
-
end
|
16
|
-
|
17
|
-
describe "#configure" do
|
18
|
-
it "sends libs before requires" do
|
19
|
-
opts = config_options_object(*%w[--require a/path -I a/lib])
|
20
|
-
config = double("config").as_null_object
|
21
|
-
config.should_receive(:libs=).ordered
|
22
|
-
config.should_receive(:requires=).ordered
|
23
|
-
opts.configure(config)
|
24
|
-
end
|
25
|
-
|
26
|
-
it "sends requires before formatter" do
|
27
|
-
opts = config_options_object(*%w[--require a/path -f a/formatter])
|
28
|
-
config = double("config").as_null_object
|
29
|
-
config.should_receive(:requires=).ordered
|
30
|
-
config.should_receive(:add_formatter).ordered
|
31
|
-
opts.configure(config)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
describe "-c, --color, and --colour" do
|
36
|
-
it "sets :color_enabled => true" do
|
37
|
-
parse_options('-c').should include(:color_enabled => true)
|
38
|
-
parse_options('--color').should include(:color_enabled => true)
|
39
|
-
parse_options('--colour').should include(:color_enabled => true)
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe "--no-color" do
|
44
|
-
it "sets :color_enabled => false" do
|
45
|
-
parse_options('--no-color').should include(:color_enabled => false)
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
describe "-I" do
|
50
|
-
example "adds to :libs" do
|
51
|
-
parse_options('-I', 'a_dir').should include(:libs => ['a_dir'])
|
52
|
-
end
|
53
|
-
example "can be used more than once" do
|
54
|
-
parse_options('-I', 'dir_1', '-I', 'dir_2').should include(:libs => ['dir_1','dir_2'])
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
describe '--require' do
|
59
|
-
example "requires files" do
|
60
|
-
parse_options('--require', 'a/path').should include(:requires => ['a/path'])
|
61
|
-
end
|
62
|
-
example "can be used more than once" do
|
63
|
-
parse_options('--require', 'path/1', '--require', 'path/2').should include(:requires => ['path/1','path/2'])
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
describe "--format, -f" do
|
68
|
-
it "sets :formatter" do
|
69
|
-
parse_options('--format', 'd').should include(:formatters => [['d']])
|
70
|
-
parse_options('-f', 'd').should include(:formatters => [['d']])
|
71
|
-
parse_options('-fd').should include(:formatters => [['d']])
|
72
|
-
end
|
73
|
-
|
74
|
-
example "can accept a class name" do
|
75
|
-
parse_options('-fSome::Formatter::Class').should include(:formatters => [['Some::Formatter::Class']])
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
describe "--profile, -p" do
|
80
|
-
it "sets :profile_examples => true" do
|
81
|
-
parse_options('-p').should include(:profile_examples => true)
|
82
|
-
parse_options('--profile').should include(:profile_examples => true)
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
describe '--line_number' do
|
87
|
-
it "sets :line_number" do
|
88
|
-
parse_options('-l','3').should include(:line_number => '3')
|
89
|
-
parse_options('--line_number','3').should include(:line_number => '3')
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
describe "--example" do
|
94
|
-
it "sets :full_description" do
|
95
|
-
parse_options('--example','foo').should include(:full_description => /foo/)
|
96
|
-
parse_options('-e','bar').should include(:full_description => /bar/)
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
describe "--backtrace, -b" do
|
101
|
-
it "sets full_backtrace on config" do
|
102
|
-
parse_options("--backtrace").should include(:full_backtrace => true)
|
103
|
-
parse_options("-b").should include(:full_backtrace => true)
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
describe "--debug, -d" do
|
108
|
-
it "sets :debug => true" do
|
109
|
-
parse_options("--debug").should include(:debug => true)
|
110
|
-
parse_options("-d").should include(:debug => true)
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
describe "--fail-fast" do
|
115
|
-
it "defaults to false" do
|
116
|
-
parse_options[:fail_fast].should be_false
|
117
|
-
end
|
118
|
-
|
119
|
-
it "sets fail_fast on config" do
|
120
|
-
parse_options("--fail-fast")[:fail_fast].should be_true
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
describe "--options" do
|
125
|
-
it "sets :custom_options_file" do
|
126
|
-
parse_options(*%w[-O my.opts]).should include(:custom_options_file => "my.opts")
|
127
|
-
parse_options(*%w[--options my.opts]).should include(:custom_options_file => "my.opts")
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
describe "--drb, -X" do
|
132
|
-
context "combined with --debug" do
|
133
|
-
it "turns off the debugger if --drb is specified first" do
|
134
|
-
config_options_object("--drb", "--debug").drb_argv.should_not include("--debug")
|
135
|
-
config_options_object("--drb", "-d" ).drb_argv.should_not include("--debug")
|
136
|
-
config_options_object("-X", "--debug").drb_argv.should_not include("--debug")
|
137
|
-
config_options_object("-X", "-d" ).drb_argv.should_not include("--debug")
|
138
|
-
end
|
139
|
-
|
140
|
-
it "turns off the debugger option if --drb is specified later" do
|
141
|
-
config_options_object("--debug", "--drb").drb_argv.should_not include("--debug")
|
142
|
-
config_options_object("-d", "--drb").drb_argv.should_not include("--debug")
|
143
|
-
config_options_object("--debug", "-X" ).drb_argv.should_not include("--debug")
|
144
|
-
config_options_object("-d", "-X" ).drb_argv.should_not include("--debug")
|
145
|
-
end
|
146
|
-
|
147
|
-
it "turns off the debugger option if --drb is specified in the options file" do
|
148
|
-
File.stub(:exist?) { true }
|
149
|
-
IO.stub(:read) { "--drb" }
|
150
|
-
config_options_object("--debug").drb_argv.should_not include("--debug")
|
151
|
-
config_options_object("-d" ).drb_argv.should_not include("--debug")
|
152
|
-
end
|
153
|
-
|
154
|
-
it "turns off the debugger option if --debug is specified in the options file" do
|
155
|
-
File.stub(:exist?) { true }
|
156
|
-
IO.stub(:read) { "--debug" }
|
157
|
-
config_options_object("--drb").drb_argv.should_not include("--debug")
|
158
|
-
config_options_object("-X" ).drb_argv.should_not include("--debug")
|
159
|
-
end
|
160
|
-
end
|
161
|
-
|
162
|
-
it "does not send --drb back to the parser after parsing options" do
|
163
|
-
config_options_object("--drb", "--color").drb_argv.should_not include("--drb")
|
164
|
-
end
|
165
|
-
|
166
|
-
end
|
167
|
-
|
168
|
-
describe "files_or_directories_to_run" do
|
169
|
-
it "parses files from '-c file.rb dir/file.rb'" do
|
170
|
-
parse_options("-c", "file.rb", "dir/file.rb").should include(:files_or_directories_to_run => ["file.rb", "dir/file.rb"])
|
171
|
-
end
|
172
|
-
|
173
|
-
it "parses dir from 'dir'" do
|
174
|
-
parse_options("dir").should include(:files_or_directories_to_run => ["dir"])
|
175
|
-
end
|
176
|
-
|
177
|
-
it "parses dir and files from 'spec/file1_spec.rb, spec/file2_spec.rb'" do
|
178
|
-
parse_options("dir", "spec/file1_spec.rb", "spec/file2_spec.rb").should include(:files_or_directories_to_run => ["dir", "spec/file1_spec.rb", "spec/file2_spec.rb"])
|
179
|
-
end
|
180
|
-
|
181
|
-
it "provides no files or directories if spec directory does not exist" do
|
182
|
-
FileTest.stub(:directory?).with("spec").and_return false
|
183
|
-
parse_options().should include(:files_or_directories_to_run => [])
|
184
|
-
end
|
185
|
-
|
186
|
-
it "parses dir and files from 'spec/file1_spec.rb, spec/file2_spec.rb'" do
|
187
|
-
parse_options("dir", "spec/file1_spec.rb", "spec/file2_spec.rb").should include(:files_or_directories_to_run => ["dir", "spec/file1_spec.rb", "spec/file2_spec.rb"])
|
188
|
-
|
189
|
-
end
|
190
|
-
|
191
|
-
end
|
192
|
-
|
193
|
-
# TODO ensure all options are output
|
194
|
-
describe "#drb_argv" do
|
195
|
-
it "preserves extra arguments" do
|
196
|
-
File.stub(:exist?) { false }
|
197
|
-
config_options_object(*%w[ a --drb b --color c ]).drb_argv.should =~ %w[ --color a b c ]
|
198
|
-
end
|
199
|
-
|
200
|
-
it "includes --fail-fast" do
|
201
|
-
config_options_object(*%w[--fail-fast]).drb_argv.should include("--fail-fast")
|
202
|
-
end
|
203
|
-
|
204
|
-
it "includes --options" do
|
205
|
-
config_options_object(*%w[--options custom.opts]).drb_argv.should include("--options", "custom.opts")
|
206
|
-
end
|
207
|
-
|
208
|
-
context "with tags" do
|
209
|
-
it "includes the tags" do
|
210
|
-
coo = config_options_object("--tag", "tag")
|
211
|
-
coo.drb_argv.should eq(["--tag", "tag"])
|
212
|
-
end
|
213
|
-
|
214
|
-
it "leaves tags intact" do
|
215
|
-
coo = config_options_object("--tag", "tag")
|
216
|
-
coo.drb_argv
|
217
|
-
coo.options[:filter].should eq( {:tag=>true} )
|
218
|
-
end
|
219
|
-
end
|
220
|
-
|
221
|
-
context "with formatters" do
|
222
|
-
it "includes the formatters" do
|
223
|
-
coo = config_options_object("--format", "d")
|
224
|
-
coo.drb_argv.should eq(["--format", "d"])
|
225
|
-
end
|
226
|
-
|
227
|
-
it "leaves formatters intact" do
|
228
|
-
coo = config_options_object("--format", "d")
|
229
|
-
coo.drb_argv
|
230
|
-
coo.options[:formatters].should eq([["d"]])
|
231
|
-
end
|
232
|
-
|
233
|
-
it "leaves output intact" do
|
234
|
-
coo = config_options_object("--format", "p", "--out", "foo.txt", "--format", "d")
|
235
|
-
coo.drb_argv
|
236
|
-
coo.options[:formatters].should eq([["p","foo.txt"],["d"]])
|
237
|
-
end
|
238
|
-
end
|
239
|
-
|
240
|
-
context "--drb specified in ARGV" do
|
241
|
-
it "renders all the original arguments except --drb" do
|
242
|
-
config_options_object(*%w[ --drb --color --format s --line_number 1 --example pattern --profile --backtrace -I path/a -I path/b --require path/c --require path/d]).
|
243
|
-
drb_argv.should eq(%w[ --color --profile --backtrace --line_number 1 --example pattern --format s -I path/a -I path/b --require path/c --require path/d])
|
244
|
-
end
|
245
|
-
end
|
246
|
-
|
247
|
-
context "--drb specified in the options file" do
|
248
|
-
it "renders all the original arguments except --drb" do
|
249
|
-
File.stub(:exist?) { true }
|
250
|
-
IO.stub(:read) { "--drb --color" }
|
251
|
-
config_options_object(*%w[ --tty --format s --line_number 1 --example pattern --profile --backtrace ]).
|
252
|
-
drb_argv.should eq(%w[ --color --profile --backtrace --tty --line_number 1 --example pattern --format s])
|
253
|
-
end
|
254
|
-
end
|
255
|
-
|
256
|
-
context "--drb specified in ARGV and the options file" do
|
257
|
-
it "renders all the original arguments except --drb" do
|
258
|
-
File.stub(:exist?) { true }
|
259
|
-
IO.stub(:read) { "--drb --color" }
|
260
|
-
config_options_object(*%w[ --drb --format s --line_number 1 --example pattern --profile --backtrace]).
|
261
|
-
drb_argv.should eq(%w[ --color --profile --backtrace --line_number 1 --example pattern --format s])
|
262
|
-
end
|
263
|
-
end
|
264
|
-
|
265
|
-
context "--drb specified in ARGV and in as ARGV-specified --options file" do
|
266
|
-
it "renders all the original arguments except --drb and --options" do
|
267
|
-
File.stub(:exist?) { true }
|
268
|
-
IO.stub(:read) { "--drb --color" }
|
269
|
-
config_options_object(*%w[ --drb --format s --line_number 1 --example pattern --profile --backtrace]).
|
270
|
-
drb_argv.should eq(%w[ --color --profile --backtrace --line_number 1 --example pattern --format s ])
|
271
|
-
end
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
|
-
describe "sources: ~/.rspec, ./.rspec, custom, CLI, and SPEC_OPTS" do
|
276
|
-
let(:local_options_file) { File.join(Dir.tmpdir, ".rspec-local") }
|
277
|
-
let(:global_options_file) { File.join(Dir.tmpdir, ".rspec-global") }
|
278
|
-
let(:custom_options_file) { File.join(Dir.tmpdir, "custom.options") }
|
279
|
-
|
280
|
-
before do
|
281
|
-
@orig_spec_opts = ENV["SPEC_OPTS"]
|
282
|
-
@orig_global_options_file = RSpec::Core::ConfigurationOptions::GLOBAL_OPTIONS_FILE
|
283
|
-
@orig_local_options_file = RSpec::Core::ConfigurationOptions::LOCAL_OPTIONS_FILE
|
284
|
-
RSpec::Core::ConfigurationOptions::__send__ :remove_const, :GLOBAL_OPTIONS_FILE
|
285
|
-
RSpec::Core::ConfigurationOptions::__send__ :remove_const, :LOCAL_OPTIONS_FILE
|
286
|
-
RSpec::Core::ConfigurationOptions::GLOBAL_OPTIONS_FILE = global_options_file
|
287
|
-
RSpec::Core::ConfigurationOptions::LOCAL_OPTIONS_FILE = local_options_file
|
288
|
-
FileUtils.rm local_options_file if File.exist? local_options_file
|
289
|
-
FileUtils.rm global_options_file if File.exist? global_options_file
|
290
|
-
FileUtils.rm custom_options_file if File.exist? custom_options_file
|
291
|
-
end
|
292
|
-
|
293
|
-
after do
|
294
|
-
ENV["SPEC_OPTS"] = @orig_spec_opts
|
295
|
-
RSpec::Core::ConfigurationOptions::__send__ :remove_const, :GLOBAL_OPTIONS_FILE
|
296
|
-
RSpec::Core::ConfigurationOptions::__send__ :remove_const, :LOCAL_OPTIONS_FILE
|
297
|
-
RSpec::Core::ConfigurationOptions::GLOBAL_OPTIONS_FILE = @orig_global_options_file
|
298
|
-
RSpec::Core::ConfigurationOptions::LOCAL_OPTIONS_FILE = @orig_local_options_file
|
299
|
-
end
|
300
|
-
|
301
|
-
def write_options(scope, options)
|
302
|
-
File.open(send("#{scope}_options_file"), 'w') { |f| f.write(options) }
|
303
|
-
end
|
304
|
-
|
305
|
-
it "merges global, local, SPEC_OPTS, and CLI" do
|
306
|
-
write_options(:global, "--color")
|
307
|
-
write_options(:local, "--line 37")
|
308
|
-
ENV["SPEC_OPTS"] = "--debug"
|
309
|
-
options = parse_options("--drb")
|
310
|
-
options[:color_enabled].should be_true
|
311
|
-
options[:line_number].should eq("37")
|
312
|
-
options[:debug].should be_true
|
313
|
-
options[:drb].should be_true
|
314
|
-
end
|
315
|
-
|
316
|
-
it "prefers SPEC_OPTS over CLI" do
|
317
|
-
ENV["SPEC_OPTS"] = "--format spec_opts"
|
318
|
-
parse_options("--format", "cli")[:formatters].should eq([['spec_opts']])
|
319
|
-
end
|
320
|
-
|
321
|
-
it "prefers CLI over file options" do
|
322
|
-
write_options(:local, "--format local")
|
323
|
-
write_options(:global, "--format global")
|
324
|
-
parse_options("--format", "cli")[:formatters].should eq([['cli']])
|
325
|
-
end
|
326
|
-
|
327
|
-
it "prefers local file options over global" do
|
328
|
-
write_options(:local, "--format local")
|
329
|
-
write_options(:global, "--format global")
|
330
|
-
parse_options[:formatters].should eq([['local']])
|
331
|
-
end
|
332
|
-
|
333
|
-
context "with custom options file" do
|
334
|
-
it "ignores local and global options files" do
|
335
|
-
write_options(:local, "--color")
|
336
|
-
write_options(:global, "--color")
|
337
|
-
parse_options("-O", custom_options_file)[:color_enabled].should be_false
|
338
|
-
end
|
339
|
-
end
|
340
|
-
end
|
341
|
-
end
|
@@ -1,716 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'tmpdir'
|
3
|
-
|
4
|
-
module RSpec::Core
|
5
|
-
|
6
|
-
describe Configuration do
|
7
|
-
|
8
|
-
let(:config) { subject }
|
9
|
-
|
10
|
-
describe "#load_spec_files" do
|
11
|
-
|
12
|
-
it "loads files using load" do
|
13
|
-
config.files_to_run = ["foo.bar", "blah_spec.rb"]
|
14
|
-
config.should_receive(:load).twice
|
15
|
-
config.load_spec_files
|
16
|
-
end
|
17
|
-
|
18
|
-
context "with rspec-1 loaded" do
|
19
|
-
before do
|
20
|
-
Object.const_set(:Spec, Module.new)
|
21
|
-
::Spec::const_set(:VERSION, Module.new)
|
22
|
-
::Spec::VERSION::const_set(:MAJOR, 1)
|
23
|
-
end
|
24
|
-
after { Object.__send__(:remove_const, :Spec) }
|
25
|
-
it "raises with a helpful message" do
|
26
|
-
expect {
|
27
|
-
config.load_spec_files
|
28
|
-
}.to raise_error(/rspec-1 has been loaded/)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
describe "#mock_framework" do
|
34
|
-
it "defaults to :rspec" do
|
35
|
-
config.should_receive(:require).with('rspec/core/mocking/with_rspec')
|
36
|
-
config.mock_framework
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
describe "#mock_framework=" do
|
41
|
-
[:rspec, :mocha, :rr, :flexmock].each do |framework|
|
42
|
-
context "with #{framework}" do
|
43
|
-
it "requires the adapter for #{framework.inspect}" do
|
44
|
-
config.should_receive(:require).with("rspec/core/mocking/with_#{framework}")
|
45
|
-
config.mock_framework = framework
|
46
|
-
end
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
context "with a module" do
|
51
|
-
it "sets the mock_framework_adapter to that module" do
|
52
|
-
config.stub(:require)
|
53
|
-
mod = Module.new
|
54
|
-
config.mock_framework = mod
|
55
|
-
config.mock_framework.should eq(mod)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
it "uses the null adapter when set to any unknown key" do
|
60
|
-
config.should_receive(:require).with('rspec/core/mocking/with_absolutely_nothing')
|
61
|
-
config.mock_framework = :crazy_new_mocking_framework_ive_not_yet_heard_of
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
describe "#mock_with" do
|
66
|
-
it "delegates to mock_framework=" do
|
67
|
-
config.should_receive(:mock_framework=).with(:rspec)
|
68
|
-
config.mock_with :rspec
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
describe "#expectation_framework" do
|
73
|
-
it "defaults to :rspec" do
|
74
|
-
config.should_receive(:require).with('rspec/core/expecting/with_rspec')
|
75
|
-
config.expectation_frameworks
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
describe "#expectation_framework=" do
|
80
|
-
it "delegates to expect_with=" do
|
81
|
-
config.should_receive(:expect_with).with([:rspec])
|
82
|
-
config.expectation_framework = :rspec
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
|
-
describe "#expect_with" do
|
87
|
-
[:rspec, :stdlib].each do |framework|
|
88
|
-
context "with #{framework}" do
|
89
|
-
it "requires the adapter for #{framework.inspect}" do
|
90
|
-
config.should_receive(:require).with("rspec/core/expecting/with_#{framework}")
|
91
|
-
config.expect_with framework
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
it "raises ArgumentError if framework is not supported" do
|
97
|
-
expect do
|
98
|
-
config.expect_with :not_supported
|
99
|
-
end.to raise_error(ArgumentError)
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
context "setting the files to run" do
|
104
|
-
|
105
|
-
it "loads files not following pattern if named explicitly" do
|
106
|
-
file = "./spec/rspec/core/resources/a_bar.rb"
|
107
|
-
config.files_or_directories_to_run = file
|
108
|
-
config.files_to_run.should == [file]
|
109
|
-
end
|
110
|
-
|
111
|
-
describe "with default --pattern" do
|
112
|
-
|
113
|
-
it "loads files named _spec.rb" do
|
114
|
-
dir = "./spec/rspec/core/resources"
|
115
|
-
config.files_or_directories_to_run = dir
|
116
|
-
config.files_to_run.should == ["#{dir}/a_spec.rb"]
|
117
|
-
end
|
118
|
-
|
119
|
-
it "loads files in Windows" do
|
120
|
-
file = "C:\\path\\to\\project\\spec\\sub\\foo_spec.rb"
|
121
|
-
config.files_or_directories_to_run = file
|
122
|
-
config.files_to_run.should == [file]
|
123
|
-
end
|
124
|
-
|
125
|
-
end
|
126
|
-
|
127
|
-
describe "with explicit pattern (single)" do
|
128
|
-
|
129
|
-
before do
|
130
|
-
config.filename_pattern = "**/*_foo.rb"
|
131
|
-
end
|
132
|
-
|
133
|
-
it "loads files following pattern" do
|
134
|
-
file = File.expand_path(File.dirname(__FILE__) + "/resources/a_foo.rb")
|
135
|
-
config.files_or_directories_to_run = file
|
136
|
-
config.files_to_run.should include(file)
|
137
|
-
end
|
138
|
-
|
139
|
-
it "loads files in directories following pattern" do
|
140
|
-
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
141
|
-
config.files_or_directories_to_run = dir
|
142
|
-
config.files_to_run.should include("#{dir}/a_foo.rb")
|
143
|
-
end
|
144
|
-
|
145
|
-
it "does not load files in directories not following pattern" do
|
146
|
-
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
147
|
-
config.files_or_directories_to_run = dir
|
148
|
-
config.files_to_run.should_not include("#{dir}/a_bar.rb")
|
149
|
-
end
|
150
|
-
|
151
|
-
end
|
152
|
-
|
153
|
-
context "with explicit pattern (comma,separated,values)" do
|
154
|
-
|
155
|
-
before do
|
156
|
-
config.filename_pattern = "**/*_foo.rb,**/*_bar.rb"
|
157
|
-
end
|
158
|
-
|
159
|
-
it "supports comma separated values" do
|
160
|
-
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
161
|
-
config.files_or_directories_to_run = dir
|
162
|
-
config.files_to_run.should include("#{dir}/a_foo.rb")
|
163
|
-
config.files_to_run.should include("#{dir}/a_bar.rb")
|
164
|
-
end
|
165
|
-
|
166
|
-
it "supports comma separated values with spaces" do
|
167
|
-
dir = File.expand_path(File.dirname(__FILE__) + "/resources")
|
168
|
-
config.files_or_directories_to_run = dir
|
169
|
-
config.files_to_run.should include("#{dir}/a_foo.rb")
|
170
|
-
config.files_to_run.should include("#{dir}/a_bar.rb")
|
171
|
-
end
|
172
|
-
|
173
|
-
end
|
174
|
-
|
175
|
-
context "with line number" do
|
176
|
-
|
177
|
-
it "assigns the line number as the filter" do
|
178
|
-
config.files_or_directories_to_run = "path/to/a_spec.rb:37"
|
179
|
-
config.filter.should == {:line_number => 37}
|
180
|
-
end
|
181
|
-
|
182
|
-
end
|
183
|
-
|
184
|
-
context "with full_description" do
|
185
|
-
it "overrides :focused" do
|
186
|
-
config.filter_run :focused => true
|
187
|
-
config.full_description = "foo"
|
188
|
-
config.filter.should_not have_key(:focused)
|
189
|
-
end
|
190
|
-
|
191
|
-
it "assigns the example name as the filter on description" do
|
192
|
-
config.full_description = "foo"
|
193
|
-
config.filter.should == {:full_description => /foo/}
|
194
|
-
end
|
195
|
-
|
196
|
-
end
|
197
|
-
|
198
|
-
end
|
199
|
-
|
200
|
-
describe "#include" do
|
201
|
-
|
202
|
-
module InstanceLevelMethods
|
203
|
-
def you_call_this_a_blt?
|
204
|
-
"egad man, where's the mayo?!?!?"
|
205
|
-
end
|
206
|
-
end
|
207
|
-
|
208
|
-
context "with no filter" do
|
209
|
-
it "includes the given module into each example group" do
|
210
|
-
RSpec.configure do |c|
|
211
|
-
c.include(InstanceLevelMethods)
|
212
|
-
end
|
213
|
-
|
214
|
-
group = ExampleGroup.describe('does like, stuff and junk', :magic_key => :include) { }
|
215
|
-
group.should_not respond_to(:you_call_this_a_blt?)
|
216
|
-
group.new.you_call_this_a_blt?.should == "egad man, where's the mayo?!?!?"
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
context "with a filter" do
|
221
|
-
it "includes the given module into each matching example group" do
|
222
|
-
RSpec.configure do |c|
|
223
|
-
c.include(InstanceLevelMethods, :magic_key => :include)
|
224
|
-
end
|
225
|
-
|
226
|
-
group = ExampleGroup.describe('does like, stuff and junk', :magic_key => :include) { }
|
227
|
-
group.should_not respond_to(:you_call_this_a_blt?)
|
228
|
-
group.new.you_call_this_a_blt?.should == "egad man, where's the mayo?!?!?"
|
229
|
-
end
|
230
|
-
end
|
231
|
-
|
232
|
-
end
|
233
|
-
|
234
|
-
describe "#extend" do
|
235
|
-
|
236
|
-
module ThatThingISentYou
|
237
|
-
def that_thing
|
238
|
-
end
|
239
|
-
end
|
240
|
-
|
241
|
-
it "extends the given module into each matching example group" do
|
242
|
-
RSpec.configure do |c|
|
243
|
-
c.extend(ThatThingISentYou, :magic_key => :extend)
|
244
|
-
end
|
245
|
-
|
246
|
-
group = ExampleGroup.describe(ThatThingISentYou, :magic_key => :extend) { }
|
247
|
-
group.should respond_to(:that_thing)
|
248
|
-
end
|
249
|
-
|
250
|
-
end
|
251
|
-
|
252
|
-
describe "run_all_when_everything_filtered?" do
|
253
|
-
|
254
|
-
it "defaults to false" do
|
255
|
-
config.run_all_when_everything_filtered?.should be_false
|
256
|
-
end
|
257
|
-
|
258
|
-
it "can be queried with question method" do
|
259
|
-
config.run_all_when_everything_filtered = true
|
260
|
-
config.run_all_when_everything_filtered?.should be_true
|
261
|
-
end
|
262
|
-
end
|
263
|
-
|
264
|
-
describe "#color_enabled=" do
|
265
|
-
context "given true" do
|
266
|
-
context "with non-tty output and no autotest" do
|
267
|
-
it "does not set color_enabled" do
|
268
|
-
config.output_stream = StringIO.new
|
269
|
-
config.output_stream.stub(:tty?) { false }
|
270
|
-
config.tty = false
|
271
|
-
config.color_enabled = true
|
272
|
-
config.color_enabled.should be_false
|
273
|
-
end
|
274
|
-
end
|
275
|
-
|
276
|
-
context "with tty output" do
|
277
|
-
it "does not set color_enabled" do
|
278
|
-
config.output_stream = StringIO.new
|
279
|
-
config.output_stream.stub(:tty?) { true }
|
280
|
-
config.tty = false
|
281
|
-
config.color_enabled = true
|
282
|
-
config.color_enabled.should be_true
|
283
|
-
end
|
284
|
-
end
|
285
|
-
|
286
|
-
context "with tty set" do
|
287
|
-
it "does not set color_enabled" do
|
288
|
-
config.output_stream = StringIO.new
|
289
|
-
config.output_stream.stub(:tty?) { false }
|
290
|
-
config.tty = true
|
291
|
-
config.color_enabled = true
|
292
|
-
config.color_enabled.should be_true
|
293
|
-
end
|
294
|
-
end
|
295
|
-
|
296
|
-
context "on windows" do
|
297
|
-
before do
|
298
|
-
@original_host = RbConfig::CONFIG['host_os']
|
299
|
-
RbConfig::CONFIG['host_os'] = 'mingw'
|
300
|
-
config.stub(:require)
|
301
|
-
config.stub(:warn)
|
302
|
-
end
|
303
|
-
|
304
|
-
after do
|
305
|
-
RbConfig::CONFIG['host_os'] = @original_host
|
306
|
-
end
|
307
|
-
|
308
|
-
context "with ANSICON available" do
|
309
|
-
before(:all) do
|
310
|
-
@original_ansicon = ENV['ANSICON']
|
311
|
-
ENV['ANSICON'] = 'ANSICON'
|
312
|
-
end
|
313
|
-
|
314
|
-
after(:all) do
|
315
|
-
ENV['ANSICON'] = @original_ansicon
|
316
|
-
end
|
317
|
-
|
318
|
-
it "enables colors" do
|
319
|
-
config.output_stream = StringIO.new
|
320
|
-
config.output_stream.stub(:tty?) { true }
|
321
|
-
config.color_enabled = true
|
322
|
-
config.color_enabled.should be_true
|
323
|
-
end
|
324
|
-
|
325
|
-
it "leaves output stream intact" do
|
326
|
-
config.output_stream = $stdout
|
327
|
-
config.stub(:require) do |what|
|
328
|
-
config.output_stream = 'foo' if what =~ /Win32/
|
329
|
-
end
|
330
|
-
config.color_enabled = true
|
331
|
-
config.output_stream.should eq($stdout)
|
332
|
-
end
|
333
|
-
end
|
334
|
-
|
335
|
-
context "with ANSICON NOT available" do
|
336
|
-
it "warns to install ANSICON" do
|
337
|
-
config.stub(:require) { raise LoadError }
|
338
|
-
config.should_receive(:warn).
|
339
|
-
with(/You must use ANSICON/)
|
340
|
-
config.color_enabled = true
|
341
|
-
end
|
342
|
-
|
343
|
-
it "sets color_enabled to false" do
|
344
|
-
config.stub(:require) { raise LoadError }
|
345
|
-
config.color_enabled = true
|
346
|
-
config.color_enabled.should be_false
|
347
|
-
end
|
348
|
-
end
|
349
|
-
end
|
350
|
-
end
|
351
|
-
end
|
352
|
-
|
353
|
-
describe 'formatter=' do
|
354
|
-
it "delegates to add_formatter (better API for user-facing configuration)" do
|
355
|
-
config.should_receive(:add_formatter).with('these','options')
|
356
|
-
config.add_formatter('these','options')
|
357
|
-
end
|
358
|
-
end
|
359
|
-
|
360
|
-
describe "add_formatter" do
|
361
|
-
|
362
|
-
it "adds to the list of formatters" do
|
363
|
-
config.add_formatter :documentation
|
364
|
-
config.formatters.first.should be_an_instance_of(Formatters::DocumentationFormatter)
|
365
|
-
end
|
366
|
-
|
367
|
-
it "finds a formatter by name (w/ Symbol)" do
|
368
|
-
config.add_formatter :documentation
|
369
|
-
config.formatters.first.should be_an_instance_of(Formatters::DocumentationFormatter)
|
370
|
-
end
|
371
|
-
|
372
|
-
it "finds a formatter by name (w/ String)" do
|
373
|
-
config.add_formatter 'documentation'
|
374
|
-
config.formatters.first.should be_an_instance_of(Formatters::DocumentationFormatter)
|
375
|
-
end
|
376
|
-
|
377
|
-
it "finds a formatter by class" do
|
378
|
-
formatter_class = Class.new(Formatters::BaseTextFormatter)
|
379
|
-
config.add_formatter formatter_class
|
380
|
-
config.formatters.first.should be_an_instance_of(formatter_class)
|
381
|
-
end
|
382
|
-
|
383
|
-
it "finds a formatter by class name" do
|
384
|
-
Object.const_set("CustomFormatter", Class.new(Formatters::BaseFormatter))
|
385
|
-
config.add_formatter "CustomFormatter"
|
386
|
-
config.formatters.first.should be_an_instance_of(CustomFormatter)
|
387
|
-
end
|
388
|
-
|
389
|
-
it "finds a formatter by class fully qualified name" do
|
390
|
-
RSpec.const_set("CustomFormatter", Class.new(Formatters::BaseFormatter))
|
391
|
-
config.add_formatter "RSpec::CustomFormatter"
|
392
|
-
config.formatters.first.should be_an_instance_of(RSpec::CustomFormatter)
|
393
|
-
end
|
394
|
-
|
395
|
-
it "requires a formatter file based on its fully qualified name" do
|
396
|
-
config.should_receive(:require).with('rspec/custom_formatter2') do
|
397
|
-
RSpec.const_set("CustomFormatter2", Class.new(Formatters::BaseFormatter))
|
398
|
-
end
|
399
|
-
config.add_formatter "RSpec::CustomFormatter2"
|
400
|
-
config.formatters.first.should be_an_instance_of(RSpec::CustomFormatter2)
|
401
|
-
end
|
402
|
-
|
403
|
-
it "raises NameError if class is unresolvable" do
|
404
|
-
config.should_receive(:require).with('rspec/custom_formatter3')
|
405
|
-
lambda { config.add_formatter "RSpec::CustomFormatter3" }.should raise_error(NameError)
|
406
|
-
end
|
407
|
-
|
408
|
-
it "raises ArgumentError if formatter is unknown" do
|
409
|
-
lambda { config.add_formatter :progresss }.should raise_error(ArgumentError)
|
410
|
-
end
|
411
|
-
|
412
|
-
context "with a 2nd arg defining the output" do
|
413
|
-
it "creates a file at that path and sets it as the output" do
|
414
|
-
path = File.join(Dir.tmpdir, 'output.txt')
|
415
|
-
config.add_formatter('doc', path)
|
416
|
-
config.formatters.first.output.should be_a(File)
|
417
|
-
config.formatters.first.output.path.should eq(path)
|
418
|
-
end
|
419
|
-
end
|
420
|
-
|
421
|
-
end
|
422
|
-
|
423
|
-
describe "#filter_run" do
|
424
|
-
it "sets the filter" do
|
425
|
-
config.filter_run :focus => true
|
426
|
-
config.filter[:focus].should == true
|
427
|
-
end
|
428
|
-
|
429
|
-
it "merges with existing filters" do
|
430
|
-
config.filter_run :filter1 => true
|
431
|
-
config.filter_run :filter2 => false
|
432
|
-
|
433
|
-
config.filter[:filter1].should == true
|
434
|
-
config.filter[:filter2].should == false
|
435
|
-
end
|
436
|
-
|
437
|
-
it "warns if :line_number is already a filter" do
|
438
|
-
config.filter_run :line_number => 100
|
439
|
-
config.should_receive(:warn).with(
|
440
|
-
"Filtering by {:focus=>true} is not possible since you " \
|
441
|
-
"are already filtering by {:line_number=>100}"
|
442
|
-
)
|
443
|
-
config.filter_run :focus => true
|
444
|
-
end
|
445
|
-
|
446
|
-
it "warns if :full_description is already a filter" do
|
447
|
-
config.filter_run :full_description => 'foo'
|
448
|
-
config.should_receive(:warn).with(
|
449
|
-
"Filtering by {:focus=>true} is not possible since you " \
|
450
|
-
"are already filtering by {:full_description=>\"foo\"}"
|
451
|
-
)
|
452
|
-
config.filter_run :focus => true
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
|
-
describe "#filter_run_excluding" do
|
457
|
-
it "sets the filter" do
|
458
|
-
config.filter_run_excluding :slow => true
|
459
|
-
config.exclusion_filter[:slow].should == true
|
460
|
-
end
|
461
|
-
|
462
|
-
it "merges with existing filters" do
|
463
|
-
config.filter_run_excluding :filter1 => true
|
464
|
-
config.filter_run_excluding :filter2 => false
|
465
|
-
|
466
|
-
config.exclusion_filter[:filter1].should == true
|
467
|
-
config.exclusion_filter[:filter2].should == false
|
468
|
-
end
|
469
|
-
end
|
470
|
-
|
471
|
-
describe "#exclusion_filter" do
|
472
|
-
describe "the default :if filter" do
|
473
|
-
it "does not exclude a spec with no :if metadata" do
|
474
|
-
config.exclusion_filter[:if].call(nil, {}).should be_false
|
475
|
-
end
|
476
|
-
|
477
|
-
it "does not exclude a spec with { :if => true } metadata" do
|
478
|
-
config.exclusion_filter[:if].call(true, {:if => true}).should be_false
|
479
|
-
end
|
480
|
-
|
481
|
-
it "excludes a spec with { :if => false } metadata" do
|
482
|
-
config.exclusion_filter[:if].call(false, {:if => false}).should be_true
|
483
|
-
end
|
484
|
-
|
485
|
-
it "excludes a spec with { :if => nil } metadata" do
|
486
|
-
config.exclusion_filter[:if].call(false, {:if => nil}).should be_true
|
487
|
-
end
|
488
|
-
end
|
489
|
-
|
490
|
-
describe "the default :unless filter" do
|
491
|
-
it "excludes a spec with { :unless => true } metadata" do
|
492
|
-
config.exclusion_filter[:unless].call(true).should be_true
|
493
|
-
end
|
494
|
-
|
495
|
-
it "does not exclude a spec with { :unless => false } metadata" do
|
496
|
-
config.exclusion_filter[:unless].call(false).should be_false
|
497
|
-
end
|
498
|
-
|
499
|
-
it "does not exclude a spec with { :unless => nil } metadata" do
|
500
|
-
config.exclusion_filter[:unless].call(nil).should be_false
|
501
|
-
end
|
502
|
-
end
|
503
|
-
end
|
504
|
-
|
505
|
-
describe "line_number=" do
|
506
|
-
before { config.stub(:warn) }
|
507
|
-
|
508
|
-
it "sets the line number" do
|
509
|
-
config.line_number = '37'
|
510
|
-
config.filter.should == {:line_number => 37}
|
511
|
-
end
|
512
|
-
|
513
|
-
it "overrides :focused" do
|
514
|
-
config.filter_run :focused => true
|
515
|
-
config.line_number = '37'
|
516
|
-
config.filter.should == {:line_number => 37}
|
517
|
-
end
|
518
|
-
|
519
|
-
it "prevents :focused" do
|
520
|
-
config.line_number = '37'
|
521
|
-
config.filter_run :focused => true
|
522
|
-
config.filter.should == {:line_number => 37}
|
523
|
-
end
|
524
|
-
end
|
525
|
-
|
526
|
-
describe "#full_backtrace=" do
|
527
|
-
it "clears the backtrace clean patterns" do
|
528
|
-
config.full_backtrace = true
|
529
|
-
config.backtrace_clean_patterns.should == []
|
530
|
-
end
|
531
|
-
|
532
|
-
it "doesn't impact other instances of config" do
|
533
|
-
config_1 = Configuration.new
|
534
|
-
config_2 = Configuration.new
|
535
|
-
|
536
|
-
config_1.full_backtrace = true
|
537
|
-
config_2.backtrace_clean_patterns.should_not be_empty
|
538
|
-
end
|
539
|
-
end
|
540
|
-
|
541
|
-
describe "#debug=true" do
|
542
|
-
before do
|
543
|
-
if defined?(Debugger)
|
544
|
-
@orig_debugger = Debugger
|
545
|
-
Object.send(:remove_const, :Debugger)
|
546
|
-
else
|
547
|
-
@orig_debugger = nil
|
548
|
-
end
|
549
|
-
Object.const_set("Debugger", debugger)
|
550
|
-
end
|
551
|
-
|
552
|
-
after do
|
553
|
-
Object.send(:remove_const, :Debugger)
|
554
|
-
Object.const_set("Debugger", @orig_debugger) if @orig_debugger
|
555
|
-
end
|
556
|
-
|
557
|
-
let(:debugger) { double('Debugger').as_null_object }
|
558
|
-
|
559
|
-
it "requires 'ruby-debug'" do
|
560
|
-
config.should_receive(:require).with('ruby-debug')
|
561
|
-
config.debug = true
|
562
|
-
end
|
563
|
-
|
564
|
-
it "starts the debugger" do
|
565
|
-
config.stub(:require)
|
566
|
-
debugger.should_receive(:start)
|
567
|
-
config.debug = true
|
568
|
-
end
|
569
|
-
end
|
570
|
-
|
571
|
-
describe "#debug=false" do
|
572
|
-
it "does not require 'ruby-debug'" do
|
573
|
-
config.should_not_receive(:require).with('ruby-debug')
|
574
|
-
config.debug = false
|
575
|
-
end
|
576
|
-
end
|
577
|
-
|
578
|
-
describe "#output=" do
|
579
|
-
it "sets the output" do
|
580
|
-
output = mock("output")
|
581
|
-
config.output = output
|
582
|
-
config.output.should equal(output)
|
583
|
-
end
|
584
|
-
end
|
585
|
-
|
586
|
-
describe "#libs=" do
|
587
|
-
it "adds directories to the LOAD_PATH" do
|
588
|
-
$LOAD_PATH.should_receive(:unshift).with("a/dir")
|
589
|
-
config.libs = ["a/dir"]
|
590
|
-
end
|
591
|
-
end
|
592
|
-
|
593
|
-
describe "#requires=" do
|
594
|
-
it "requires paths" do
|
595
|
-
config.should_receive(:require).with("a/path")
|
596
|
-
config.requires = ["a/path"]
|
597
|
-
end
|
598
|
-
end
|
599
|
-
|
600
|
-
describe "#add_setting" do
|
601
|
-
describe "with no modifiers" do
|
602
|
-
context "with no additional options" do
|
603
|
-
before { config.add_setting :custom_option }
|
604
|
-
|
605
|
-
it "defaults to nil" do
|
606
|
-
config.custom_option.should be_nil
|
607
|
-
end
|
608
|
-
|
609
|
-
it "adds a predicate" do
|
610
|
-
config.custom_option?.should be_false
|
611
|
-
end
|
612
|
-
|
613
|
-
it "can be overridden" do
|
614
|
-
config.custom_option = "a value"
|
615
|
-
config.custom_option.should eq("a value")
|
616
|
-
end
|
617
|
-
end
|
618
|
-
|
619
|
-
context "with :default => 'a value'" do
|
620
|
-
before { config.add_setting :custom_option, :default => 'a value' }
|
621
|
-
|
622
|
-
it "defaults to 'a value'" do
|
623
|
-
config.custom_option.should eq("a value")
|
624
|
-
end
|
625
|
-
|
626
|
-
it "returns true for the predicate" do
|
627
|
-
config.custom_option?.should be_true
|
628
|
-
end
|
629
|
-
|
630
|
-
it "can be overridden with a truthy value" do
|
631
|
-
config.custom_option = "a new value"
|
632
|
-
config.custom_option.should eq("a new value")
|
633
|
-
end
|
634
|
-
|
635
|
-
it "can be overridden with nil" do
|
636
|
-
config.custom_option = nil
|
637
|
-
config.custom_option.should eq(nil)
|
638
|
-
end
|
639
|
-
|
640
|
-
it "can be overridden with false" do
|
641
|
-
config.custom_option = false
|
642
|
-
config.custom_option.should eq(false)
|
643
|
-
end
|
644
|
-
end
|
645
|
-
end
|
646
|
-
|
647
|
-
context "with :alias => " do
|
648
|
-
before do
|
649
|
-
config.add_setting :custom_option
|
650
|
-
config.add_setting :another_custom_option, :alias => :custom_option
|
651
|
-
end
|
652
|
-
|
653
|
-
it "delegates the getter to the other option" do
|
654
|
-
config.another_custom_option = "this value"
|
655
|
-
config.custom_option.should == "this value"
|
656
|
-
end
|
657
|
-
|
658
|
-
it "delegates the setter to the other option" do
|
659
|
-
config.custom_option = "this value"
|
660
|
-
config.another_custom_option.should == "this value"
|
661
|
-
end
|
662
|
-
|
663
|
-
it "delegates the predicate to the other option" do
|
664
|
-
config.custom_option = true
|
665
|
-
config.another_custom_option?.should be_true
|
666
|
-
end
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
|
-
describe "#configure_group" do
|
671
|
-
it "extends with 'extend'" do
|
672
|
-
mod = Module.new
|
673
|
-
group = ExampleGroup.describe("group", :foo => :bar)
|
674
|
-
|
675
|
-
config.extend(mod, :foo => :bar)
|
676
|
-
config.configure_group(group)
|
677
|
-
group.should be_a(mod)
|
678
|
-
end
|
679
|
-
|
680
|
-
it "extends with 'module'" do
|
681
|
-
mod = Module.new
|
682
|
-
group = ExampleGroup.describe("group", :foo => :bar)
|
683
|
-
|
684
|
-
config.include(mod, :foo => :bar)
|
685
|
-
config.configure_group(group)
|
686
|
-
group.included_modules.should include(mod)
|
687
|
-
end
|
688
|
-
|
689
|
-
it "requires only one matching filter" do
|
690
|
-
mod = Module.new
|
691
|
-
group = ExampleGroup.describe("group", :foo => :bar)
|
692
|
-
|
693
|
-
config.include(mod, :foo => :bar, :baz => :bam)
|
694
|
-
config.configure_group(group)
|
695
|
-
group.included_modules.should include(mod)
|
696
|
-
end
|
697
|
-
|
698
|
-
it "includes each one before deciding whether to include the next" do
|
699
|
-
mod1 = Module.new do
|
700
|
-
def self.included(host)
|
701
|
-
host.metadata[:foo] = :bar
|
702
|
-
end
|
703
|
-
end
|
704
|
-
mod2 = Module.new
|
705
|
-
|
706
|
-
group = ExampleGroup.describe("group")
|
707
|
-
|
708
|
-
config.include(mod1)
|
709
|
-
config.include(mod2, :foo => :bar)
|
710
|
-
config.configure_group(group)
|
711
|
-
group.included_modules.should include(mod1)
|
712
|
-
group.included_modules.should include(mod2)
|
713
|
-
end
|
714
|
-
end
|
715
|
-
end
|
716
|
-
end
|