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
@@ -1,54 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class TestDeprecations < Test::Unit::TestCase
|
4
|
-
|
5
|
-
def test_register_uri_without_method_argument_prints_deprecation_warning
|
6
|
-
warning = capture_stderr do
|
7
|
-
FakeWeb.register_uri("http://example.com", :body => "test")
|
8
|
-
end
|
9
|
-
assert_match %r(deprecation warning: fakeweb)i, warning
|
10
|
-
end
|
11
|
-
|
12
|
-
def test_registered_uri_without_method_argument_prints_deprecation_warning
|
13
|
-
warning = capture_stderr do
|
14
|
-
FakeWeb.registered_uri?("http://example.com")
|
15
|
-
end
|
16
|
-
assert_match %r(deprecation warning: fakeweb)i, warning
|
17
|
-
end
|
18
|
-
|
19
|
-
def test_response_for_without_method_argument_prints_deprecation_warning
|
20
|
-
warning = capture_stderr do
|
21
|
-
FakeWeb.response_for("http://example.com")
|
22
|
-
end
|
23
|
-
assert_match %r(deprecation warning: fakeweb)i, warning
|
24
|
-
end
|
25
|
-
|
26
|
-
def test_register_uri_without_method_argument_prints_deprecation_warning_with_correct_caller
|
27
|
-
warning = capture_stderr do
|
28
|
-
FakeWeb.register_uri("http://example.com", :body => "test")
|
29
|
-
end
|
30
|
-
assert_match %r(Called at.*?test_deprecations\.rb)i, warning
|
31
|
-
end
|
32
|
-
|
33
|
-
def test_register_uri_with_string_option_prints_deprecation_warning
|
34
|
-
warning = capture_stderr do
|
35
|
-
FakeWeb.register_uri(:get, "http://example.com", :string => "test")
|
36
|
-
end
|
37
|
-
assert_match %r(deprecation warning: fakeweb's :string option)i, warning
|
38
|
-
end
|
39
|
-
|
40
|
-
def test_register_uri_with_file_option_prints_deprecation_warning
|
41
|
-
warning = capture_stderr do
|
42
|
-
FakeWeb.register_uri(:get, "http://example.com", :file => fixture_path("test_example.txt"))
|
43
|
-
end
|
44
|
-
assert_match %r(deprecation warning: fakeweb's :file option)i, warning
|
45
|
-
end
|
46
|
-
|
47
|
-
def test_register_uri_with_string_option_prints_deprecation_warning_with_correct_caller
|
48
|
-
warning = capture_stderr do
|
49
|
-
FakeWeb.register_uri(:get, "http://example.com", :string => "test")
|
50
|
-
end
|
51
|
-
assert_match %r(Called at.*?test_deprecations\.rb)i, warning
|
52
|
-
end
|
53
|
-
|
54
|
-
end
|
@@ -1,92 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class TestFakeAuthentication < Test::Unit::TestCase
|
4
|
-
|
5
|
-
def test_register_uri_with_authentication
|
6
|
-
FakeWeb.register_uri(:get, 'http://user:pass@mock/test_example.txt', :body => "example")
|
7
|
-
assert FakeWeb.registered_uri?(:get, 'http://user:pass@mock/test_example.txt')
|
8
|
-
end
|
9
|
-
|
10
|
-
def test_register_uri_with_authentication_doesnt_trigger_without
|
11
|
-
FakeWeb.register_uri(:get, 'http://user:pass@mock/test_example.txt', :body => "example")
|
12
|
-
assert !FakeWeb.registered_uri?(:get, 'http://mock/test_example.txt')
|
13
|
-
end
|
14
|
-
|
15
|
-
def test_register_uri_with_authentication_doesnt_trigger_with_incorrect_credentials
|
16
|
-
FakeWeb.register_uri(:get, 'http://user:pass@mock/test_example.txt', :body => "example")
|
17
|
-
assert !FakeWeb.registered_uri?(:get, 'http://user:wrong@mock/test_example.txt')
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_unauthenticated_request
|
21
|
-
FakeWeb.register_uri(:get, 'http://mock/auth.txt', :body => 'unauthorized')
|
22
|
-
http = Net::HTTP.new('mock', 80)
|
23
|
-
req = Net::HTTP::Get.new('/auth.txt')
|
24
|
-
assert_equal 'unauthorized', http.request(req).body
|
25
|
-
end
|
26
|
-
|
27
|
-
def test_authenticated_request
|
28
|
-
FakeWeb.register_uri(:get, 'http://user:pass@mock/auth.txt', :body => 'authorized')
|
29
|
-
http = Net::HTTP.new('mock',80)
|
30
|
-
req = Net::HTTP::Get.new('/auth.txt')
|
31
|
-
req.basic_auth 'user', 'pass'
|
32
|
-
assert_equal 'authorized', http.request(req).body
|
33
|
-
end
|
34
|
-
|
35
|
-
def test_authenticated_request_where_only_userinfo_differs
|
36
|
-
FakeWeb.register_uri(:get, 'http://user:pass@mock/auth.txt', :body => 'first user')
|
37
|
-
FakeWeb.register_uri(:get, 'http://user2:pass@mock/auth.txt', :body => 'second user')
|
38
|
-
http = Net::HTTP.new('mock')
|
39
|
-
req = Net::HTTP::Get.new('/auth.txt')
|
40
|
-
req.basic_auth 'user2', 'pass'
|
41
|
-
assert_equal 'second user', http.request(req).body
|
42
|
-
end
|
43
|
-
|
44
|
-
def test_basic_auth_support_is_transparent_to_oauth
|
45
|
-
FakeWeb.register_uri(:get, "http://sp.example.com/protected", :body => "secret")
|
46
|
-
|
47
|
-
# from http://oauth.net/core/1.0/#auth_header
|
48
|
-
auth_header = <<-HEADER
|
49
|
-
OAuth realm="http://sp.example.com/",
|
50
|
-
oauth_consumer_key="0685bd9184jfhq22",
|
51
|
-
oauth_token="ad180jjd733klru7",
|
52
|
-
oauth_signature_method="HMAC-SHA1",
|
53
|
-
oauth_signature="wOJIO9A2W5mFwDgiDvZbTSMK%2FPY%3D",
|
54
|
-
oauth_timestamp="137131200",
|
55
|
-
oauth_nonce="4572616e48616d6d65724c61686176",
|
56
|
-
oauth_version="1.0"
|
57
|
-
HEADER
|
58
|
-
auth_header.gsub!(/\s+/, " ").strip!
|
59
|
-
|
60
|
-
http = Net::HTTP.new("sp.example.com", 80)
|
61
|
-
response = nil
|
62
|
-
http.start do |request|
|
63
|
-
response = request.get("/protected", {"authorization" => auth_header})
|
64
|
-
end
|
65
|
-
assert_equal "secret", response.body
|
66
|
-
end
|
67
|
-
|
68
|
-
def test_basic_auth_when_userinfo_contains_allowed_unencoded_characters
|
69
|
-
FakeWeb.register_uri(:get, "http://roses&hel1o,(+$):so;longs=@example.com", :body => "authorized")
|
70
|
-
http = Net::HTTP.new("example.com")
|
71
|
-
request = Net::HTTP::Get.new("/")
|
72
|
-
request.basic_auth("roses&hel1o,(+$)", "so;longs=")
|
73
|
-
assert_equal "authorized", http.request(request).body
|
74
|
-
end
|
75
|
-
|
76
|
-
def test_basic_auth_when_userinfo_contains_encoded_at_sign
|
77
|
-
FakeWeb.register_uri(:get, "http://user%40example.com:secret@example.com", :body => "authorized")
|
78
|
-
http = Net::HTTP.new("example.com")
|
79
|
-
request = Net::HTTP::Get.new("/")
|
80
|
-
request.basic_auth("user@example.com", "secret")
|
81
|
-
assert_equal "authorized", http.request(request).body
|
82
|
-
end
|
83
|
-
|
84
|
-
def test_basic_auth_when_userinfo_contains_allowed_encoded_characters
|
85
|
-
FakeWeb.register_uri(:get, "http://us%20er:sec%20%2F%2Fret%3F@example.com", :body => "authorized")
|
86
|
-
http = Net::HTTP.new("example.com")
|
87
|
-
request = Net::HTTP::Get.new("/")
|
88
|
-
request.basic_auth("us er", "sec //ret?")
|
89
|
-
assert_equal "authorized", http.request(request).body
|
90
|
-
end
|
91
|
-
|
92
|
-
end
|
@@ -1,590 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class TestFakeWeb < Test::Unit::TestCase
|
4
|
-
|
5
|
-
def test_register_uri
|
6
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => "example")
|
7
|
-
assert FakeWeb.registered_uri?(:get, 'http://mock/test_example.txt')
|
8
|
-
end
|
9
|
-
|
10
|
-
def test_register_uri_with_wrong_number_of_arguments
|
11
|
-
assert_raises ArgumentError do
|
12
|
-
FakeWeb.register_uri("http://example.com")
|
13
|
-
end
|
14
|
-
assert_raises ArgumentError do
|
15
|
-
FakeWeb.register_uri(:get, "http://example.com", "/example", :body => "example")
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
def test_registered_uri_with_wrong_number_of_arguments
|
20
|
-
assert_raises ArgumentError do
|
21
|
-
FakeWeb.registered_uri?
|
22
|
-
end
|
23
|
-
assert_raises ArgumentError do
|
24
|
-
FakeWeb.registered_uri?(:get, "http://example.com", "/example")
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
def test_response_for_with_wrong_number_of_arguments
|
29
|
-
assert_raises ArgumentError do
|
30
|
-
FakeWeb.response_for
|
31
|
-
end
|
32
|
-
assert_raises ArgumentError do
|
33
|
-
FakeWeb.response_for(:get, "http://example.com", "/example")
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
def test_register_uri_without_domain_name
|
38
|
-
assert_raises URI::InvalidURIError do
|
39
|
-
FakeWeb.register_uri(:get, 'test_example2.txt', fixture_path("test_example.txt"))
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
def test_register_uri_with_port_and_check_with_port
|
44
|
-
FakeWeb.register_uri(:get, 'http://example.com:3000/', :body => 'foo')
|
45
|
-
assert FakeWeb.registered_uri?(:get, 'http://example.com:3000/')
|
46
|
-
end
|
47
|
-
|
48
|
-
def test_register_uri_with_port_and_check_without_port
|
49
|
-
FakeWeb.register_uri(:get, 'http://example.com:3000/', :body => 'foo')
|
50
|
-
assert !FakeWeb.registered_uri?(:get, 'http://example.com/')
|
51
|
-
end
|
52
|
-
|
53
|
-
def test_register_uri_with_default_port_for_http_and_check_without_port
|
54
|
-
FakeWeb.register_uri(:get, 'http://example.com:80/', :body => 'foo')
|
55
|
-
assert FakeWeb.registered_uri?(:get, 'http://example.com/')
|
56
|
-
end
|
57
|
-
|
58
|
-
def test_register_uri_with_default_port_for_https_and_check_without_port
|
59
|
-
FakeWeb.register_uri(:get, 'https://example.com:443/', :body => 'foo')
|
60
|
-
assert FakeWeb.registered_uri?(:get, 'https://example.com/')
|
61
|
-
end
|
62
|
-
|
63
|
-
def test_register_uri_with_no_port_for_http_and_check_with_default_port
|
64
|
-
FakeWeb.register_uri(:get, 'http://example.com/', :body => 'foo')
|
65
|
-
assert FakeWeb.registered_uri?(:get, 'http://example.com:80/')
|
66
|
-
end
|
67
|
-
|
68
|
-
def test_register_uri_with_no_port_for_https_and_check_with_default_port
|
69
|
-
FakeWeb.register_uri(:get, 'https://example.com/', :body => 'foo')
|
70
|
-
assert FakeWeb.registered_uri?(:get, 'https://example.com:443/')
|
71
|
-
end
|
72
|
-
|
73
|
-
def test_register_uri_with_no_port_for_https_and_check_with_443_on_http
|
74
|
-
FakeWeb.register_uri(:get, 'https://example.com/', :body => 'foo')
|
75
|
-
assert !FakeWeb.registered_uri?(:get, 'http://example.com:443/')
|
76
|
-
end
|
77
|
-
|
78
|
-
def test_register_uri_with_no_port_for_http_and_check_with_80_on_https
|
79
|
-
FakeWeb.register_uri(:get, 'http://example.com/', :body => 'foo')
|
80
|
-
assert !FakeWeb.registered_uri?(:get, 'https://example.com:80/')
|
81
|
-
end
|
82
|
-
|
83
|
-
def test_register_uri_for_any_method_explicitly
|
84
|
-
FakeWeb.register_uri(:any, "http://example.com/rpc_endpoint", :body => "OK")
|
85
|
-
assert FakeWeb.registered_uri?(:get, "http://example.com/rpc_endpoint")
|
86
|
-
assert FakeWeb.registered_uri?(:post, "http://example.com/rpc_endpoint")
|
87
|
-
assert FakeWeb.registered_uri?(:put, "http://example.com/rpc_endpoint")
|
88
|
-
assert FakeWeb.registered_uri?(:delete, "http://example.com/rpc_endpoint")
|
89
|
-
assert FakeWeb.registered_uri?(:any, "http://example.com/rpc_endpoint")
|
90
|
-
capture_stderr do # silence deprecation warning
|
91
|
-
assert FakeWeb.registered_uri?("http://example.com/rpc_endpoint")
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
def test_register_uri_for_get_method_only
|
96
|
-
FakeWeb.register_uri(:get, "http://example.com/users", :body => "User list")
|
97
|
-
assert FakeWeb.registered_uri?(:get, "http://example.com/users")
|
98
|
-
assert !FakeWeb.registered_uri?(:post, "http://example.com/users")
|
99
|
-
assert !FakeWeb.registered_uri?(:put, "http://example.com/users")
|
100
|
-
assert !FakeWeb.registered_uri?(:delete, "http://example.com/users")
|
101
|
-
assert !FakeWeb.registered_uri?(:any, "http://example.com/users")
|
102
|
-
capture_stderr do # silence deprecation warning
|
103
|
-
assert !FakeWeb.registered_uri?("http://example.com/users")
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
def test_clean_registry_affects_registered_uri
|
108
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => "registered")
|
109
|
-
assert FakeWeb.registered_uri?(:get, "http://example.com")
|
110
|
-
FakeWeb.clean_registry
|
111
|
-
assert !FakeWeb.registered_uri?(:get, "http://example.com")
|
112
|
-
end
|
113
|
-
|
114
|
-
def test_clean_registry_affects_net_http_requests
|
115
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => "registered")
|
116
|
-
response = Net::HTTP.start("example.com") { |query| query.get("/") }
|
117
|
-
assert_equal "registered", response.body
|
118
|
-
FakeWeb.clean_registry
|
119
|
-
assert_raise FakeWeb::NetConnectNotAllowedError do
|
120
|
-
Net::HTTP.start("example.com") { |query| query.get("/") }
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
def test_response_for_with_registered_uri
|
125
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => fixture_path("test_example.txt"))
|
126
|
-
assert_equal 'test example content', FakeWeb.response_for(:get, 'http://mock/test_example.txt').body
|
127
|
-
end
|
128
|
-
|
129
|
-
def test_response_for_with_unknown_uri
|
130
|
-
assert_nil FakeWeb.response_for(:get, 'http://example.com/')
|
131
|
-
end
|
132
|
-
|
133
|
-
def test_response_for_with_put_method
|
134
|
-
FakeWeb.register_uri(:put, "http://example.com", :body => "response")
|
135
|
-
assert_equal 'response', FakeWeb.response_for(:put, "http://example.com").body
|
136
|
-
end
|
137
|
-
|
138
|
-
def test_response_for_with_any_method_explicitly
|
139
|
-
FakeWeb.register_uri(:any, "http://example.com", :body => "response")
|
140
|
-
assert_equal 'response', FakeWeb.response_for(:get, "http://example.com").body
|
141
|
-
assert_equal 'response', FakeWeb.response_for(:any, "http://example.com").body
|
142
|
-
end
|
143
|
-
|
144
|
-
def test_content_for_registered_uri_with_port_and_request_with_port
|
145
|
-
FakeWeb.register_uri(:get, 'http://example.com:3000/', :body => 'test example content')
|
146
|
-
response = Net::HTTP.start('example.com', 3000) { |http| http.get('/') }
|
147
|
-
assert_equal 'test example content', response.body
|
148
|
-
end
|
149
|
-
|
150
|
-
def test_content_for_registered_uri_with_default_port_for_http_and_request_without_port
|
151
|
-
FakeWeb.register_uri(:get, 'http://example.com:80/', :body => 'test example content')
|
152
|
-
response = Net::HTTP.start('example.com') { |http| http.get('/') }
|
153
|
-
assert_equal 'test example content', response.body
|
154
|
-
end
|
155
|
-
|
156
|
-
def test_content_for_registered_uri_with_no_port_for_http_and_request_with_default_port
|
157
|
-
FakeWeb.register_uri(:get, 'http://example.com/', :body => 'test example content')
|
158
|
-
response = Net::HTTP.start('example.com', 80) { |http| http.get('/') }
|
159
|
-
assert_equal 'test example content', response.body
|
160
|
-
end
|
161
|
-
|
162
|
-
def test_content_for_registered_uri_with_default_port_for_https_and_request_with_default_port
|
163
|
-
FakeWeb.register_uri(:get, 'https://example.com:443/', :body => 'test example content')
|
164
|
-
http = Net::HTTP.new('example.com', 443)
|
165
|
-
http.use_ssl = true
|
166
|
-
response = http.get('/')
|
167
|
-
assert_equal 'test example content', response.body
|
168
|
-
end
|
169
|
-
|
170
|
-
def test_content_for_registered_uri_with_no_port_for_https_and_request_with_default_port
|
171
|
-
FakeWeb.register_uri(:get, 'https://example.com/', :body => 'test example content')
|
172
|
-
http = Net::HTTP.new('example.com', 443)
|
173
|
-
http.use_ssl = true
|
174
|
-
response = http.get('/')
|
175
|
-
assert_equal 'test example content', response.body
|
176
|
-
end
|
177
|
-
|
178
|
-
def test_content_for_registered_uris_with_ports_on_same_domain_and_request_without_port
|
179
|
-
FakeWeb.register_uri(:get, 'http://example.com:3000/', :body => 'port 3000')
|
180
|
-
FakeWeb.register_uri(:get, 'http://example.com/', :body => 'port 80')
|
181
|
-
response = Net::HTTP.start('example.com') { |http| http.get('/') }
|
182
|
-
assert_equal 'port 80', response.body
|
183
|
-
end
|
184
|
-
|
185
|
-
def test_content_for_registered_uris_with_ports_on_same_domain_and_request_with_port
|
186
|
-
FakeWeb.register_uri(:get, 'http://example.com:3000/', :body => 'port 3000')
|
187
|
-
FakeWeb.register_uri(:get, 'http://example.com/', :body => 'port 80')
|
188
|
-
response = Net::HTTP.start('example.com', 3000) { |http| http.get('/') }
|
189
|
-
assert_equal 'port 3000', response.body
|
190
|
-
end
|
191
|
-
|
192
|
-
def test_content_for_registered_uri_with_get_method_only
|
193
|
-
FakeWeb.allow_net_connect = false
|
194
|
-
FakeWeb.register_uri(:get, "http://example.com/", :body => "test example content")
|
195
|
-
http = Net::HTTP.new('example.com')
|
196
|
-
assert_equal 'test example content', http.get('/').body
|
197
|
-
assert_raises(FakeWeb::NetConnectNotAllowedError) { http.post('/', nil) }
|
198
|
-
assert_raises(FakeWeb::NetConnectNotAllowedError) { http.put('/', nil) }
|
199
|
-
assert_raises(FakeWeb::NetConnectNotAllowedError) { http.delete('/') }
|
200
|
-
end
|
201
|
-
|
202
|
-
def test_content_for_registered_uri_with_any_method_explicitly
|
203
|
-
FakeWeb.allow_net_connect = false
|
204
|
-
FakeWeb.register_uri(:any, "http://example.com/", :body => "test example content")
|
205
|
-
http = Net::HTTP.new('example.com')
|
206
|
-
assert_equal 'test example content', http.get('/').body
|
207
|
-
assert_equal 'test example content', http.post('/', nil).body
|
208
|
-
assert_equal 'test example content', http.put('/', nil).body
|
209
|
-
assert_equal 'test example content', http.delete('/').body
|
210
|
-
end
|
211
|
-
|
212
|
-
def test_content_for_registered_uri_with_any_method_implicitly
|
213
|
-
FakeWeb.allow_net_connect = false
|
214
|
-
capture_stderr do # silence deprecation warning
|
215
|
-
FakeWeb.register_uri("http://example.com/", :body => "test example content")
|
216
|
-
end
|
217
|
-
|
218
|
-
http = Net::HTTP.new('example.com')
|
219
|
-
assert_equal 'test example content', http.get('/').body
|
220
|
-
assert_equal 'test example content', http.post('/', nil).body
|
221
|
-
assert_equal 'test example content', http.put('/', nil).body
|
222
|
-
assert_equal 'test example content', http.delete('/').body
|
223
|
-
end
|
224
|
-
|
225
|
-
def test_mock_request_with_block
|
226
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => fixture_path("test_example.txt"))
|
227
|
-
response = Net::HTTP.start('mock') { |http| http.get('/test_example.txt') }
|
228
|
-
assert_equal 'test example content', response.body
|
229
|
-
end
|
230
|
-
|
231
|
-
def test_request_with_registered_body_yields_the_response_body_to_a_request_block
|
232
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => "content")
|
233
|
-
body = nil
|
234
|
-
Net::HTTP.start("example.com") do |http|
|
235
|
-
http.get("/") do |response_body|
|
236
|
-
body = response_body
|
237
|
-
end
|
238
|
-
end
|
239
|
-
assert_equal "content", body
|
240
|
-
end
|
241
|
-
|
242
|
-
def test_request_with_registered_response_yields_the_response_body_to_a_request_block
|
243
|
-
fake_response = Net::HTTPOK.new('1.1', '200', 'OK')
|
244
|
-
fake_response.instance_variable_set(:@body, "content")
|
245
|
-
FakeWeb.register_uri(:get, 'http://example.com', :response => fake_response)
|
246
|
-
body = nil
|
247
|
-
Net::HTTP.start("example.com") do |http|
|
248
|
-
http.get("/") do |response_body|
|
249
|
-
body = response_body
|
250
|
-
end
|
251
|
-
end
|
252
|
-
assert_equal "content", body
|
253
|
-
end
|
254
|
-
|
255
|
-
def test_mock_request_with_undocumented_full_uri_argument_style
|
256
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => fixture_path("test_example.txt"))
|
257
|
-
response = Net::HTTP.start('mock') { |query| query.get('http://mock/test_example.txt') }
|
258
|
-
assert_equal 'test example content', response.body
|
259
|
-
end
|
260
|
-
|
261
|
-
def test_mock_request_with_undocumented_full_uri_argument_style_and_query
|
262
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt?a=b', :body => 'test query content')
|
263
|
-
response = Net::HTTP.start('mock') { |query| query.get('http://mock/test_example.txt?a=b') }
|
264
|
-
assert_equal 'test query content', response.body
|
265
|
-
end
|
266
|
-
|
267
|
-
def test_mock_post
|
268
|
-
FakeWeb.register_uri(:post, 'http://mock/test_example.txt', :body => fixture_path("test_example.txt"))
|
269
|
-
response = Net::HTTP.start('mock') { |query| query.post('/test_example.txt', '') }
|
270
|
-
assert_equal 'test example content', response.body
|
271
|
-
end
|
272
|
-
|
273
|
-
def test_mock_post_with_string_as_registered_uri
|
274
|
-
FakeWeb.register_uri(:post, 'http://mock/test_string.txt', :body => 'foo')
|
275
|
-
response = Net::HTTP.start('mock') { |query| query.post('/test_string.txt', '') }
|
276
|
-
assert_equal 'foo', response.body
|
277
|
-
end
|
278
|
-
|
279
|
-
def test_mock_post_with_body_sets_the_request_body
|
280
|
-
FakeWeb.register_uri(:post, "http://example.com/posts", :status => [201, "Created"])
|
281
|
-
http = Net::HTTP.new("example.com")
|
282
|
-
request = Net::HTTP::Post.new("/posts")
|
283
|
-
http.request(request, "title=Test")
|
284
|
-
assert_equal "title=Test", request.body
|
285
|
-
assert_equal 10, request.content_length
|
286
|
-
end
|
287
|
-
|
288
|
-
def test_mock_post_with_body_using_other_syntax_sets_the_request_body
|
289
|
-
FakeWeb.register_uri(:post, "http://example.com/posts", :status => [201, "Created"])
|
290
|
-
http = Net::HTTP.new("example.com")
|
291
|
-
request = Net::HTTP::Post.new("/posts")
|
292
|
-
request.body = "title=Test"
|
293
|
-
http.request(request)
|
294
|
-
assert_equal "title=Test", request.body
|
295
|
-
assert_equal 10, request.content_length
|
296
|
-
end
|
297
|
-
|
298
|
-
def test_real_post_with_body_sets_the_request_body
|
299
|
-
FakeWeb.allow_net_connect = true
|
300
|
-
setup_expectations_for_real_apple_hot_news_request :method => "POST",
|
301
|
-
:path => "/posts", :request_body => "title=Test"
|
302
|
-
http = Net::HTTP.new("images.apple.com")
|
303
|
-
request = Net::HTTP::Post.new("/posts")
|
304
|
-
request["Content-Type"] = "application/x-www-form-urlencoded"
|
305
|
-
http.request(request, "title=Test")
|
306
|
-
assert_equal "title=Test", request.body
|
307
|
-
assert_equal 10, request.content_length
|
308
|
-
end
|
309
|
-
|
310
|
-
def test_mock_get_with_request_as_registered_uri
|
311
|
-
fake_response = Net::HTTPOK.new('1.1', '200', 'OK')
|
312
|
-
FakeWeb.register_uri(:get, 'http://mock/test_response', :response => fake_response)
|
313
|
-
response = Net::HTTP.start('mock') { |query| query.get('/test_response') }
|
314
|
-
assert_equal fake_response, response
|
315
|
-
end
|
316
|
-
|
317
|
-
def test_mock_get_with_request_from_file_as_registered_uri
|
318
|
-
FakeWeb.register_uri(:get, 'http://www.google.com/', :response => fixture_path("google_response_without_transfer_encoding"))
|
319
|
-
response = Net::HTTP.start('www.google.com') { |query| query.get('/') }
|
320
|
-
assert_equal '200', response.code
|
321
|
-
assert response.body.include?('<title>Google</title>')
|
322
|
-
end
|
323
|
-
|
324
|
-
def test_mock_post_with_request_from_file_as_registered_uri
|
325
|
-
FakeWeb.register_uri(:post, 'http://www.google.com/', :response => fixture_path("google_response_without_transfer_encoding"))
|
326
|
-
response = Net::HTTP.start('www.google.com') { |query| query.post('/', '') }
|
327
|
-
assert_equal "200", response.code
|
328
|
-
assert response.body.include?('<title>Google</title>')
|
329
|
-
end
|
330
|
-
|
331
|
-
def test_proxy_request
|
332
|
-
FakeWeb.register_uri(:get, 'http://www.example.com/', :body => "hello world")
|
333
|
-
FakeWeb.register_uri(:get, 'http://your.proxy.host/', :body => "lala")
|
334
|
-
|
335
|
-
response = nil
|
336
|
-
Net::HTTP::Proxy('your.proxy.host', 8080).start('www.example.com') do |http|
|
337
|
-
response = http.get('/')
|
338
|
-
end
|
339
|
-
assert_equal "hello world", response.body
|
340
|
-
end
|
341
|
-
|
342
|
-
def test_https_request
|
343
|
-
FakeWeb.register_uri(:get, 'https://www.example.com/', :body => "Hello World")
|
344
|
-
http = Net::HTTP.new('www.example.com', 443)
|
345
|
-
http.use_ssl = true
|
346
|
-
response = http.get('/')
|
347
|
-
assert_equal "Hello World", response.body
|
348
|
-
end
|
349
|
-
|
350
|
-
def test_register_unimplemented_response
|
351
|
-
FakeWeb.register_uri(:get, 'http://mock/unimplemented', :response => 1)
|
352
|
-
assert_raises StandardError do
|
353
|
-
Net::HTTP.start('mock') { |q| q.get('/unimplemented') }
|
354
|
-
end
|
355
|
-
end
|
356
|
-
|
357
|
-
def test_specifying_nil_for_body
|
358
|
-
FakeWeb.register_uri(:head, "http://example.com", :body => nil)
|
359
|
-
response = Net::HTTP.start("example.com") { |query| query.head("/") }
|
360
|
-
assert_equal "", response.body
|
361
|
-
end
|
362
|
-
|
363
|
-
def test_real_http_request
|
364
|
-
FakeWeb.allow_net_connect = true
|
365
|
-
setup_expectations_for_real_apple_hot_news_request
|
366
|
-
|
367
|
-
resp = nil
|
368
|
-
Net::HTTP.start('images.apple.com') do |query|
|
369
|
-
resp = query.get('/main/rss/hotnews/hotnews.rss')
|
370
|
-
end
|
371
|
-
assert resp.body.include?('Apple')
|
372
|
-
assert resp.body.include?('News')
|
373
|
-
end
|
374
|
-
|
375
|
-
def test_real_http_request_with_undocumented_full_uri_argument_style
|
376
|
-
FakeWeb.allow_net_connect = true
|
377
|
-
setup_expectations_for_real_apple_hot_news_request(:path => 'http://images.apple.com/main/rss/hotnews/hotnews.rss')
|
378
|
-
|
379
|
-
resp = nil
|
380
|
-
Net::HTTP.start('images.apple.com') do |query|
|
381
|
-
resp = query.get('http://images.apple.com/main/rss/hotnews/hotnews.rss')
|
382
|
-
end
|
383
|
-
assert resp.body.include?('Apple')
|
384
|
-
assert resp.body.include?('News')
|
385
|
-
end
|
386
|
-
|
387
|
-
def test_real_https_request
|
388
|
-
FakeWeb.allow_net_connect = true
|
389
|
-
setup_expectations_for_real_apple_hot_news_request(:port => 443)
|
390
|
-
|
391
|
-
http = Net::HTTP.new('images.apple.com', 443)
|
392
|
-
http.use_ssl = true
|
393
|
-
http.verify_mode = OpenSSL::SSL::VERIFY_NONE # silence certificate warning
|
394
|
-
response = http.get('/main/rss/hotnews/hotnews.rss')
|
395
|
-
assert response.body.include?('Apple')
|
396
|
-
assert response.body.include?('News')
|
397
|
-
end
|
398
|
-
|
399
|
-
def test_real_request_on_same_domain_as_mock
|
400
|
-
FakeWeb.allow_net_connect = true
|
401
|
-
setup_expectations_for_real_apple_hot_news_request
|
402
|
-
|
403
|
-
FakeWeb.register_uri(:get, 'http://images.apple.com/test_string.txt', :body => 'foo')
|
404
|
-
|
405
|
-
resp = nil
|
406
|
-
Net::HTTP.start('images.apple.com') do |query|
|
407
|
-
resp = query.get('/main/rss/hotnews/hotnews.rss')
|
408
|
-
end
|
409
|
-
assert resp.body.include?('Apple')
|
410
|
-
assert resp.body.include?('News')
|
411
|
-
end
|
412
|
-
|
413
|
-
def test_mock_request_on_real_domain
|
414
|
-
FakeWeb.register_uri(:get, 'http://images.apple.com/test_string.txt', :body => 'foo')
|
415
|
-
resp = nil
|
416
|
-
Net::HTTP.start('images.apple.com') do |query|
|
417
|
-
resp = query.get('/test_string.txt')
|
418
|
-
end
|
419
|
-
assert_equal 'foo', resp.body
|
420
|
-
end
|
421
|
-
|
422
|
-
def test_mock_post_that_raises_exception
|
423
|
-
FakeWeb.register_uri(:post, 'http://mock/raising_exception.txt', :exception => StandardError)
|
424
|
-
assert_raises(StandardError) do
|
425
|
-
Net::HTTP.start('mock') do |query|
|
426
|
-
query.post('/raising_exception.txt', 'some data')
|
427
|
-
end
|
428
|
-
end
|
429
|
-
end
|
430
|
-
|
431
|
-
def test_mock_post_that_raises_an_http_error
|
432
|
-
FakeWeb.register_uri(:post, 'http://mock/raising_exception.txt', :exception => Net::HTTPError)
|
433
|
-
assert_raises(Net::HTTPError) do
|
434
|
-
Net::HTTP.start('mock') do |query|
|
435
|
-
query.post('/raising_exception.txt', '')
|
436
|
-
end
|
437
|
-
end
|
438
|
-
end
|
439
|
-
|
440
|
-
def test_raising_an_exception_that_requires_an_argument_to_instantiate
|
441
|
-
FakeWeb.register_uri(:get, "http://example.com/timeout.txt", :exception => Timeout::Error)
|
442
|
-
assert_raises(Timeout::Error) do
|
443
|
-
Net::HTTP.get(URI.parse("http://example.com/timeout.txt"))
|
444
|
-
end
|
445
|
-
end
|
446
|
-
|
447
|
-
def test_mock_instance_syntax
|
448
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => fixture_path("test_example.txt"))
|
449
|
-
response = nil
|
450
|
-
uri = URI.parse('http://mock/test_example.txt')
|
451
|
-
http = Net::HTTP.new(uri.host, uri.port)
|
452
|
-
response = http.start do
|
453
|
-
http.get(uri.path)
|
454
|
-
end
|
455
|
-
|
456
|
-
assert_equal 'test example content', response.body
|
457
|
-
end
|
458
|
-
|
459
|
-
def test_mock_via_nil_proxy
|
460
|
-
response = nil
|
461
|
-
proxy_address = nil
|
462
|
-
proxy_port = nil
|
463
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => fixture_path("test_example.txt"))
|
464
|
-
uri = URI.parse('http://mock/test_example.txt')
|
465
|
-
http = Net::HTTP::Proxy(proxy_address, proxy_port).new(
|
466
|
-
uri.host, (uri.port or 80))
|
467
|
-
response = http.start do
|
468
|
-
http.get(uri.path)
|
469
|
-
end
|
470
|
-
|
471
|
-
assert_equal 'test example content', response.body
|
472
|
-
end
|
473
|
-
|
474
|
-
def test_response_type
|
475
|
-
FakeWeb.register_uri(:get, 'http://mock/test_example.txt', :body => "test")
|
476
|
-
response = Net::HTTP.start('mock') { |http| http.get('/test_example.txt') }
|
477
|
-
assert_kind_of Net::HTTPSuccess, response
|
478
|
-
end
|
479
|
-
|
480
|
-
def test_mock_request_that_raises_an_http_error_with_a_specific_status
|
481
|
-
FakeWeb.register_uri(:get, 'http://mock/raising_exception.txt', :exception => Net::HTTPError, :status => ['404', 'Not Found'])
|
482
|
-
exception = assert_raises(Net::HTTPError) do
|
483
|
-
Net::HTTP.start('mock') { |http| http.get('/raising_exception.txt') }
|
484
|
-
end
|
485
|
-
assert_equal '404', exception.response.code
|
486
|
-
assert_equal 'Not Found', exception.response.msg
|
487
|
-
end
|
488
|
-
|
489
|
-
def test_mock_rotate_responses
|
490
|
-
FakeWeb.register_uri(:get, 'http://mock/multiple_test_example.txt',
|
491
|
-
[ {:body => fixture_path("test_example.txt"), :times => 2},
|
492
|
-
{:body => "thrice", :times => 3},
|
493
|
-
{:body => "ever_more"} ])
|
494
|
-
|
495
|
-
uri = URI.parse('http://mock/multiple_test_example.txt')
|
496
|
-
2.times { assert_equal 'test example content', Net::HTTP.get(uri) }
|
497
|
-
3.times { assert_equal 'thrice', Net::HTTP.get(uri) }
|
498
|
-
4.times { assert_equal 'ever_more', Net::HTTP.get(uri) }
|
499
|
-
end
|
500
|
-
|
501
|
-
def test_mock_request_using_response_with_transfer_encoding_header_has_valid_transfer_encoding_header
|
502
|
-
FakeWeb.register_uri(:get, 'http://www.google.com/', :response => fixture_path("google_response_with_transfer_encoding"))
|
503
|
-
response = Net::HTTP.start('www.google.com') { |query| query.get('/') }
|
504
|
-
assert_not_nil response['transfer-encoding']
|
505
|
-
assert response['transfer-encoding'] == 'chunked'
|
506
|
-
end
|
507
|
-
|
508
|
-
def test_mock_request_using_response_without_transfer_encoding_header_does_not_have_a_transfer_encoding_header
|
509
|
-
FakeWeb.register_uri(:get, 'http://www.google.com/', :response => fixture_path("google_response_without_transfer_encoding"))
|
510
|
-
response = nil
|
511
|
-
response = Net::HTTP.start('www.google.com') { |query| query.get('/') }
|
512
|
-
assert !response.key?('transfer-encoding')
|
513
|
-
end
|
514
|
-
|
515
|
-
def test_mock_request_using_response_from_curl_has_original_transfer_encoding_header
|
516
|
-
FakeWeb.register_uri(:get, 'http://www.google.com/', :response => fixture_path("google_response_from_curl"))
|
517
|
-
response = Net::HTTP.start('www.google.com') { |query| query.get('/') }
|
518
|
-
assert_not_nil response['transfer-encoding']
|
519
|
-
assert response['transfer-encoding'] == 'chunked'
|
520
|
-
end
|
521
|
-
|
522
|
-
def test_txt_file_should_have_three_lines
|
523
|
-
FakeWeb.register_uri(:get, 'http://www.google.com/', :body => fixture_path("test_txt_file"))
|
524
|
-
response = Net::HTTP.start('www.google.com') { |query| query.get('/') }
|
525
|
-
assert response.body.split(/\n/).size == 3, "response has #{response.body.split(/\n/).size} lines should have 3"
|
526
|
-
end
|
527
|
-
|
528
|
-
def test_requiring_fakeweb_instead_of_fake_web
|
529
|
-
require "fakeweb"
|
530
|
-
end
|
531
|
-
|
532
|
-
def test_registering_with_string_containing_null_byte
|
533
|
-
# Regression test for File.exists? raising an ArgumentError ("string
|
534
|
-
# contains null byte") since :response first tries to find by filename.
|
535
|
-
# The string should be treated as a response body, instead, and an
|
536
|
-
# EOFError is raised when the byte is encountered.
|
537
|
-
FakeWeb.register_uri(:get, "http://example.com", :response => "test\0test")
|
538
|
-
assert_raise EOFError do
|
539
|
-
Net::HTTP.get(URI.parse("http://example.com"))
|
540
|
-
end
|
541
|
-
|
542
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => "test\0test")
|
543
|
-
body = Net::HTTP.get(URI.parse("http://example.com"))
|
544
|
-
assert_equal "test\0test", body
|
545
|
-
end
|
546
|
-
|
547
|
-
def test_registering_with_string_that_is_a_directory_name
|
548
|
-
# Similar to above, but for Errno::EISDIR being raised since File.exists?
|
549
|
-
# returns true for directories
|
550
|
-
FakeWeb.register_uri(:get, "http://example.com", :response => File.dirname(__FILE__))
|
551
|
-
assert_raise EOFError do
|
552
|
-
body = Net::HTTP.get(URI.parse("http://example.com"))
|
553
|
-
end
|
554
|
-
|
555
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => File.dirname(__FILE__))
|
556
|
-
body = Net::HTTP.get(URI.parse("http://example.com"))
|
557
|
-
assert_equal File.dirname(__FILE__), body
|
558
|
-
end
|
559
|
-
|
560
|
-
def test_registering_with_a_body_pointing_to_a_pathname
|
561
|
-
path = Pathname.new(fixture_path("test_example.txt"))
|
562
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => path)
|
563
|
-
response = Net::HTTP.start("example.com") { |http| http.get("/") }
|
564
|
-
assert_equal "test example content", response.body
|
565
|
-
end
|
566
|
-
|
567
|
-
def test_registering_with_a_response_pointing_to_a_pathname
|
568
|
-
path = Pathname.new(fixture_path("google_response_without_transfer_encoding"))
|
569
|
-
FakeWeb.register_uri(:get, "http://google.com", :response => path)
|
570
|
-
response = Net::HTTP.start("google.com") { |http| http.get("/") }
|
571
|
-
assert response.body.include?("<title>Google</title>")
|
572
|
-
end
|
573
|
-
|
574
|
-
def test_http_version_from_string_response
|
575
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => "example")
|
576
|
-
response = Net::HTTP.start("example.com") { |http| http.get("/") }
|
577
|
-
assert_equal "1.0", response.http_version
|
578
|
-
end
|
579
|
-
|
580
|
-
def test_http_version_from_file_response
|
581
|
-
FakeWeb.register_uri(:get, "http://example.com", :body => fixture_path("test_example.txt"))
|
582
|
-
response = Net::HTTP.start("example.com") { |http| http.get("/") }
|
583
|
-
assert_equal "1.0", response.http_version
|
584
|
-
end
|
585
|
-
|
586
|
-
def test_version
|
587
|
-
assert_equal "1.3.0", FakeWeb::VERSION
|
588
|
-
end
|
589
|
-
|
590
|
-
end
|