Skip to content
This repository
  • 11 commits
  • 21 files changed
  • 0 comments
  • 2 contributors
10  History.markdown
Source Rendered
... ...
@@ -1,5 +1,15 @@
1 1
 ## rspec-core release history (incomplete)
2 2
 
  3
+### 2.3.1 / 2010-12-16
  4
+
  5
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.3.0...v2.3.1)
  6
+
  7
+* Bug fixes
  8
+  * send debugger warning message to $stdout if RSpec.configuration.error_stream
  9
+    has not been defined yet. 
  10
+  * HTML Formatter _finally_ properly displays nested groups (Jarmo Pertman)
  11
+  * eliminate some warnings when running RSpec's own suite (Jarmo Pertman)
  12
+
3 13
 ### 2.3.0 / 2010-12-12
4 14
 
5 15
 [full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
46  features/.nav
... ...
@@ -0,0 +1,46 @@
  1
+- Upgrade.md
  2
+- Changelog.md
  3
+- example_groups:
  4
+  - basic_structure.feature
  5
+  - shared_example_group.feature
  6
+- hooks:
  7
+  - before_and_after_hooks.feature
  8
+  - around_hooks.feature
  9
+- pending:
  10
+  - pending_examples.feature
  11
+- subject:
  12
+  - implicit_subject.feature
  13
+  - explicit_subject.feature
  14
+  - attribute_of_subject.feature
  15
+  - implicit_receiver.feature
  16
+- metadata:
  17
+  - described_class.feature
  18
+- filtering:
  19
+  - inclusion_filters.feature
  20
+  - exclusion_filters.feature
  21
+  - implicit_filters.feature
  22
+  - run_all_when_everything_filtered.feature
  23
+- command_line:
  24
+  - configure.feature
  25
+  - example_name_option.feature
  26
+  - exit_status.feature
  27
+  - line_number_appended_to_path.feature
  28
+  - line_number_option.feature
  29
+  - rake_task.feature
  30
+  - tag.feature
  31
+- configuration:
  32
+  - read_options_from_file.feature
  33
+  - fail_fast.feature
  34
+  - custom_settings.feature
  35
+- expectation_framework_integration:
  36
+  - configure_expectation_framework.feature
  37
+- mock_framework_integration:
  38
+  - use_rspec.feature
  39
+  - use_flexmock.feature
  40
+  - use_mocha.feature
  41
+  - use_rr.feature
  42
+  - use_any_framework.feature
  43
+- formatters:
  44
+  - custom_formatter.feature
  45
+- spec_files:
  46
+  - arbitrary_file_suffix.feature
154  features/Changelog.md
Source Rendered
... ...
@@ -0,0 +1,154 @@
  1
+## rspec-core release history (incomplete)
  2
+
  3
+### 2.3.0 / 2010-12-12
  4
+
  5
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.2.1...v2.3.0)
  6
+
  7
+* Enhancements
  8
+  * tell autotest to use "rspec2" if it sees a .rspec file in the project's
  9
+    root directory
  10
+    * replaces the need for ./autotest/discover.rb, which will not work with
  11
+      all versions of ZenTest and/or autotest
  12
+  * config.expect_with
  13
+    * :rspec          # => rspec/expectations
  14
+    * :stdlib         # => test/unit/assertions
  15
+    * :rspec, :stdlib # => both
  16
+
  17
+* Bug fixes
  18
+  * fix dev Gemfile to work on non-mac-os machines (Lake Denman)
  19
+  * ensure explicit subject is only eval'd once (Laszlo Bacsi)
  20
+
  21
+### 2.2.1 / 2010-11-28
  22
+
  23
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...v2.2.1)
  24
+
  25
+* Bug fixes
  26
+  * alias_method instead of override Kernel#method_missing (John Wilger)
  27
+  * changed --autotest to --tty in generated command (MIKAMI Yoshiyuki) 
  28
+  * revert change to debugger (had introduced conflict with Rails)
  29
+    * also restored --debugger/-debug option
  30
+
  31
+### 2.2.0 / 2010-11-28
  32
+
  33
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.1.0...v2.2.0)
  34
+
  35
+* Deprecations/changes
  36
+  * --debug/-d on command line is deprecated and now has no effect
  37
+  * win32console is now ignored; Windows users must use ANSICON for color support
  38
+    (Bosko Ivanisevic)
  39
+
  40
+* Enhancements
  41
+  * When developing locally rspec-core now works with the rspec-dev setup or your local gems
  42
+  * Raise exception with helpful message when rspec-1 is loaded alongside
  43
+    rspec-2 (Justin Ko)
  44
+  * debugger statements _just work_ as long as ruby-debug is installed
  45
+    * otherwise you get warned, but not fired
  46
+  * Expose example.metadata in around hooks
  47
+  * Performance improvments (see [Upgrade.markdown](https://github.com/rspec/rspec-core/blob/master/Upgrade.markdown))
  48
+
  49
+* Bug fixes
  50
+  * Make sure --fail-fast makes it across drb
  51
+  * Pass -Ilib:spec to rcov
  52
+
  53
+### 2.1.0 / 2010-11-07
  54
+
  55
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.1...v2.1.0)
  56
+
  57
+* Enhancments
  58
+  * Add skip_bundler option to rake task to tell rake task to ignore the
  59
+    presence of a Gemfile (jfelchner)
  60
+  * Add gemfile option to rake task to tell rake task what Gemfile to look
  61
+    for (defaults to 'Gemfile')
  62
+  * Allow passing caller trace into Metadata to support extensions (Glenn
  63
+    Vanderburg)
  64
+  * Add deprecation warning for Spec::Runner.configure to aid upgrade from
  65
+    RSpec-1
  66
+  * Add deprecated Spec::Rake::SpecTask to aid upgrade from RSpec-1
  67
+  * Add 'autospec' command with helpful message to aid upgrade from RSpec-1
  68
+  * Add support for filtering with tags on CLI (Lailson Bandeira)
  69
+  * Add a helpful message about RUBYOPT when require fails in bin/rspec
  70
+    (slyphon)
  71
+  * Add "-Ilib" to the default rcov options (Tianyi Cui)
  72
+  * Make the expectation framework configurable (default rspec, of course)
  73
+    (Justin Ko)
  74
+  * Add 'pending' to be conditional (Myron Marston)
  75
+  * Add explicit support for :if and :unless as metadata keys for conditional run
  76
+    of examples (Myron Marston)
  77
+  * Add --fail-fast command line option (Jeff Kreeftmeijer)
  78
+
  79
+* Bug fixes
  80
+  * Eliminate stack overflow with "subject { self }"
  81
+  * Require 'rspec/core' in the Raketask (ensures it required when running rcov)
  82
+
  83
+### 2.0.1 / 2010-10-18
  84
+
  85
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0...v2.0.1)
  86
+
  87
+* Bug fixes
  88
+  * Restore color when using spork + autotest
  89
+  * Pending examples without docstrings render the correct message (Josep M. Bach)
  90
+  * Fixed bug where a failure in a spec file ending in anything but _spec.rb would
  91
+    fail in a confusing way.
  92
+  * Support backtrace lines from erb templates in html formatter (Alex Crichton)
  93
+
  94
+### 2.0.0 / 2010-10-10
  95
+
  96
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.rc...v2.0.0)
  97
+
  98
+* RSpec-1 compatibility
  99
+  * Rake task uses ENV["SPEC"] as file list if present
  100
+
  101
+* Bug fixes
  102
+  * Bug Fix: optparse --out foo.txt (Leonardo Bessa)
  103
+  * Suppress color codes for non-tty output (except autotest)
  104
+
  105
+### 2.0.0.rc / 2010-10-05
  106
+
  107
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.22...v2.0.0.rc)
  108
+
  109
+* Enhancements
  110
+  * implicitly require unknown formatters so you don't have to require the
  111
+    file explicitly on the commmand line (Michael Grosser)
  112
+  * add --out/-o option to assign output target
  113
+  * added fail_fast configuration option to abort on first failure
  114
+  * support a Hash subject (its([:key]) { should == value }) (Josep M. Bach)
  115
+
  116
+* Bug fixes
  117
+  * Explicitly require rspec version to fix broken rdoc task (Hans de Graaff)
  118
+  * Ignore backtrace lines that come from other languages, like Java or
  119
+    Javascript (Charles Lowell)
  120
+  * Rake task now does what is expected when setting (or not setting)
  121
+    fail_on_error and verbose
  122
+  * Fix bug in which before/after(:all) hooks were running on excluded nested
  123
+    groups (Myron Marston)
  124
+  * Fix before(:all) error handling so that it fails examples in nested groups,
  125
+    too (Myron Marston)
  126
+
  127
+### 2.0.0.beta.22 / 2010-09-12
  128
+
  129
+[full changelog](http://github.com/rspec/rspec-core/compare/v2.0.0.beta.20...v2.0.0.beta.22)
  130
+
  131
+* Enhancements
  132
+  * removed at_exit hook
  133
+  * CTRL-C stops the run (almost) immediately
  134
+    * first it cleans things up by running the appropriate after(:all) and after(:suite) hooks
  135
+    * then it reports on any examples that have already run
  136
+  * cleaned up rake task
  137
+    * generate correct task under variety of conditions
  138
+    * options are more consistent
  139
+    * deprecated redundant options
  140
+  * run 'bundle exec autotest' when Gemfile is present
  141
+  * support ERB in .rspec options files (Justin Ko)
  142
+  * depend on bundler for development tasks (Myron Marston)
  143
+  * add example_group_finished to formatters and reporter (Roman Chernyatchik)
  144
+
  145
+* Bug fixes
  146
+  * support paths with spaces when using autotest (Andreas Neuhaus)
  147
+  * fix module_exec with ruby 1.8.6 (Myron Marston)
  148
+  * remove context method from top-level
  149
+    * was conflicting with irb, for example
  150
+  * errors in before(:all) are now reported correctly (Chad Humphries)
  151
+
  152
+* Removals
  153
+  * removed -o --options-file command line option
  154
+    * use ./.rspec and ~/.rspec
345  features/Upgrade.md
Source Rendered
... ...
@@ -0,0 +1,345 @@
  1
+# rspec-core-2.3
  2
+
  3
+## autotest integration
  4
+
  5
+Add a .rspec file to the project's root directory to tell RSpec to tell
  6
+Autotest to use RSpec's specialized Autotest class.
  7
+
  8
+NOTE that rspec-core-2.0, 2.1, and 2.2 required an autotest/discover.rb file in
  9
+the project's root directory. This worked with some, but not all versions of
  10
+autotest and/or the autotest command that ships with ZenTest. This new approach
  11
+will work regardless of which version of autotest/ZenTest you are using.
  12
+
  13
+## config.expect_with
  14
+
  15
+Use this to configure RSpec to use rspec/expectations (default),
  16
+test/unit/assertions, or both:
  17
+
  18
+    RSpec.configure do |config|
  19
+      config.expect_with :rspec          # => rspec/expectations
  20
+      config.expect_with :stdlib         # => test/unit/assertions
  21
+      config.expect_with :rspec, :stdlib # => both
  22
+    end
  23
+
  24
+# rspec-core-2.2
  25
+
  26
+## FASTER!
  27
+
  28
+Made several small optimizations that all add up to a considerable improvement
  29
+in performance. Using a simple benchmark:
  30
+
  31
+    generate 5000 example groups,
  32
+    each with one example,
  33
+    each with one passing expectation
  34
+
  35
+Run using ruby-1.9.2 on Mac OS X w/ 3.06 G
  36
+
  37
+* rspec-2.1
  38
+  * loaded in 0.85 on avg
  39
+  * ran in 2.61 on avg
  40
+* rspec-2.2
  41
+  * loaded in 0.73 on avg (~15% improvement)
  42
+  * ran in 0.94 on avg    (~64% improvement**)
  43
+    
  44
+** this does _not_ mean your suite will be 64% faster, but it does mean that
  45
+   the overhead incurred by RSpec in your suite should be roughly 64% less.
  46
+
  47
+## Command line
  48
+
  49
+### --debug/-d is now deprecated
  50
+
  51
+This command line option is now has no effect (other than a deprecation
  52
+warning). To use the debugger, just add a `debugger` statement anywhere in your
  53
+code. As long as you have ruby-debug installed, it will just work. If you
  54
+don't, then you'll get a friendly warning telling you what's going on, but
  55
+execution will continue.
  56
+
  57
+# rspec-core-2.1
  58
+
  59
+## Command line
  60
+
  61
+### `--tags`
  62
+
  63
+Now you can tag groups and examples using metadata and access those tags from
  64
+the command line. So if you have a group with `:foo => true`:
  65
+
  66
+    describe "something", :foo => true do
  67
+      it "does something" do
  68
+        # ...
  69
+      end
  70
+    end
  71
+
  72
+... now you can run just that group like this:
  73
+
  74
+    rspec spec --tags foo
  75
+
  76
+### `--fail-fast`
  77
+
  78
+Add this flag to the command line to tell rspec to clean up and exit after the
  79
+first failure:
  80
+
  81
+    rspec spec --fail-fast
  82
+
  83
+## Metata/filtering
  84
+
  85
+### :if and :unless keys
  86
+
  87
+Use :if and :unless keys to conditionally run examples with simple boolean
  88
+expressions:
  89
+
  90
+    describe "something" do
  91
+      it "does something", :if => RUBY_VERSION == 1.8.6 do
  92
+        # ...
  93
+      end
  94
+      it "does something", :unless => RUBY_VERSION == 1.8.6 do
  95
+        # ...
  96
+      end
  97
+    end
  98
+
  99
+## Conditionally 'pending' examples
  100
+
  101
+Make examples pending based on a condition.  This is most useful when you
  102
+have an example that runs in multiple contexts and fails in one of those due to
  103
+a bug in a third-party dependency that you expect to be fixed in the future.
  104
+
  105
+    describe "something" do
  106
+      it "does something that doesn't yet work right on JRuby" do
  107
+        pending("waiting for the JRuby team to fix issue XYZ", :if => RUBY_PLATFORM == 'java') do
  108
+          # the content of your spec
  109
+        end
  110
+      end
  111
+    end
  112
+
  113
+This example would run normally on all ruby interpretters except JRuby.  On JRuby,
  114
+it uses the block form of `pending`, which causes the example to still be run and
  115
+will remain pending as long as it fails.  In the future, if you upgraded your
  116
+JRuby installation to a newer release that allows the example to pass, RSpec
  117
+will report it as a failure (`Expected pending '...' to fail.  No Error was raised.`),
  118
+so that know that you can remove the call to `pending`.
  119
+
  120
+# New features in rspec-core-2.0
  121
+
  122
+### Runner
  123
+
  124
+The new runner for rspec-2 comes from Micronaut.
  125
+
  126
+### Metadata!
  127
+
  128
+In rspec-2, every example and example group comes with metadata information
  129
+like the file and line number on which it was declared, the arguments passed to
  130
+`describe` and `it`, etc.  This metadata can be appended to through a hash
  131
+argument passed to `describe` or `it`, allowing us to pre and post-process
  132
+each example in a variety of ways.
  133
+
  134
+### Filtering
  135
+
  136
+The most obvious use is for filtering the run. For example:
  137
+
  138
+    # in spec/spec_helper.rb
  139
+    RSpec.configure do |c|
  140
+      c.filter_run :focus => true
  141
+    end
  142
+
  143
+    # in any spec file
  144
+    describe "something" do
  145
+      it "does something", :focus => true do
  146
+        # ....
  147
+      end
  148
+    end
  149
+
  150
+When you run the `rspec` command, rspec will run only the examples that have
  151
+`:focus => true` in the hash. 
  152
+
  153
+You can also add `run_all_when_everything_filtered` to the config:
  154
+
  155
+    RSpec.configure do |c|
  156
+      c.filter_run :focus => true
  157
+      c.run_all_when_everything_filtered = true
  158
+    end
  159
+
  160
+Now if there are no examples tagged with `:focus => true`, all examples
  161
+will be run. This makes it really easy to focus on one example for a
  162
+while, but then go back to running all of the examples by removing that
  163
+argument from `it`. Works with `describe` too, in which case it runs
  164
+all of the examples in that group.
  165
+
  166
+The configuration will accept a lambda, which provides a lot of flexibility
  167
+in filtering examples. Say, for example, you have a spec for functionality that
  168
+behaves slightly differently in Ruby 1.8 and Ruby 1.9. We have that in
  169
+rspec-core, and here's how we're getting the right stuff to run under the
  170
+right version:
  171
+
  172
+    # in spec/spec_helper.rb
  173
+    RSpec.configure do |c|
  174
+      c.exclusion_filter = { :ruby => lambda {|version|
  175
+        !(RUBY_VERSION.to_s =~ /^#{version.to_s}/)
  176
+      }}
  177
+    end
  178
+
  179
+    # in any spec file
  180
+    describe "something" do
  181
+      it "does something", :ruby => 1.8 do
  182
+        # ....
  183
+      end
  184
+
  185
+      it "does something", :ruby => 1.9 do
  186
+        # ....
  187
+      end
  188
+    end
  189
+
  190
+In this case, we're using `exclusion_filter` instead of `filter_run` or
  191
+`filter`, which indicate _inclusion_ filters. So each of those examples is
  192
+excluded if we're _not_ running the version of Ruby they work with.
  193
+
  194
+### Shared example groups
  195
+
  196
+Shared example groups are now run in a nested group within the including group
  197
+(they used to be run in the same group). Nested groups inherit `before`, `after`,
  198
+`around`, and `let` hooks, as well as any methods that are defined in the parent
  199
+group.
  200
+
  201
+This new approach provides better encapsulation, better output, and an
  202
+opportunity to add contextual information to the shared group via a block
  203
+passed to `it_should_behave_like`.
  204
+
  205
+See [features/example\_groups/shared\_example\_group.feature](http://github.com/rspec/rspec-core/blob/master/features/example_groups/shared_example_group.feature) for more information.
  206
+
  207
+NOTICE: The including example groups no longer have access to any of the
  208
+methods, hooks, or state defined inside a shared group. This will break specs
  209
+that were using shared example groups to extend the behavior of including
  210
+groups in any way besides their intended purpose: to add examples to a group.
  211
+
  212
+# Upgrading from rspec-1.x
  213
+
  214
+### rspec command
  215
+
  216
+The command to run specs is now `rspec` instead of `spec`.
  217
+
  218
+    rspec ./spec
  219
+
  220
+#### Co-habitation of rspec-1 and rspec-2
  221
+
  222
+Early beta versions of RSpec-2 included a `spec` command, which conflicted with
  223
+the RSpec-1 `spec` command because RSpec-1's was installed by the rspec gem,
  224
+while RSpec-2's is installed by the rspec-core gem.
  225
+
  226
+If you installed one of these early versions, the safest bet is to uninstall
  227
+rspec-1 and rspec-core-2, and then reinstall both. After you do this, you will
  228
+be able to run rspec-2 like this:
  229
+
  230
+    rspec ./spec
  231
+
  232
+... and rspec-1 like this:
  233
+
  234
+    spec _1.3.1_ ./spec
  235
+
  236
+Rubygems inspects the first argument to any gem executable to see if it's
  237
+formatted like a version number surrounded by underscores. If so, it uses that
  238
+version (e.g.  `1.3.1`). If not, it uses the most recent version (e.g.
  239
+`2.0.0`).
  240
+
  241
+### rake task
  242
+
  243
+A few things changed in the Rake task used to run specs:
  244
+
  245
+1.  The file in which it is defined changed from `spec/rake/spectask` to
  246
+    `rspec/core/rake_task`
  247
+
  248
+2.  The `spec_opts` accessor has been deprecated in favor of `rspec_opts`. Also,
  249
+    the `rspec` command no longer supports the `--options` command line option
  250
+    so the options must be embedded directly in the Rakefile, or stored in the
  251
+    `.rspec` files mentioned above.
  252
+    
  253
+3.  In RSpec-1, the rake task would read in rcov options from an `rcov.opts`
  254
+    file. This is ignored by RSpec-2. RCov options are now set directly on the Rake
  255
+    task:
  256
+
  257
+        RSpec::Core::RakeTask.new(:rcov) do |t|
  258
+          t.rcov_opts =  %q[--exclude "spec"]
  259
+        end
  260
+
  261
+3.  The `spec_files` accessor has been replaced by `pattern`.
  262
+
  263
+        # rspec-1
  264
+        require 'spec/rake/spectask'
  265
+
  266
+        Spec::Rake::SpecTask.new do |t|
  267
+          t.spec_opts = ['--options', "\"spec/spec.opts\""]
  268
+          t.spec_files = FileList['spec/**/*.rb']
  269
+        end
  270
+
  271
+        # rspec-2
  272
+        require 'rspec/core/rake_task'
  273
+
  274
+        RSpec::Core::RakeTask.new do |t|
  275
+          t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
  276
+          t.pattern = 'spec/**/*_spec.rb'
  277
+        end
  278
+
  279
+### autotest
  280
+
  281
+RSpec-2 works with autotest as follows:
  282
+
  283
+    rspec --configure autotest
  284
+
  285
+This adds `./autotest/discover.rb` with:
  286
+
  287
+    Autotest.add_discovery { "rspec2" }
  288
+
  289
+Now, on the command line just type:
  290
+
  291
+    autotest
  292
+
  293
+Or, if you're using bundler:
  294
+
  295
+    bundle exec autotest
  296
+
  297
+The `autospec` command is a thing of the past. 
  298
+
  299
+### RSpec is the new Spec
  300
+
  301
+The root namespace (top level module) is now `RSpec` instead of `Spec`, and
  302
+the root directory under `lib` within all of the `rspec` gems is `rspec` instead of `spec`.
  303
+
  304
+### Configuration
  305
+
  306
+Typically in `spec/spec_helper.rb`, configuration is now done like this:
  307
+
  308
+    RSpec.configure do |c|
  309
+      # ....
  310
+    end
  311
+
  312
+### .rspec
  313
+
  314
+Command line options can be persisted in a `.rspec` file in a project. You
  315
+can also store a `.rspec` file in your home directory (`~/.rspec`) with global
  316
+options. Precedence is:
  317
+
  318
+    command line
  319
+    ./.rspec
  320
+    ~/.rspec
  321
+
  322
+### `context` is no longer a top-level method
  323
+
  324
+We removed `context` from the main object because it was creating conflicts with
  325
+IRB and some users who had `Context` domain objects. `describe` is still there,
  326
+so if you want to use `context` at the top level, just alias it:
  327
+
  328
+    alias :context :describe
  329
+
  330
+Of course, you can still use `context` to declare a nested group:
  331
+
  332
+    describe "something" do
  333
+      context "in some context" do
  334
+        it "does something" do
  335
+          # ...
  336
+        end
  337
+      end
  338
+    end
  339
+
  340
+### `$KCODE` no longer set implicitly to `'u'`
  341
+
  342
+In RSpec-1, the runner set `$KCODE` to `'u'`, which impacts, among other
  343
+things, the behaviour of Regular Expressions when applied to non-ascii
  344
+characters. This is no longer the case in RSpec-2.
  345
+
2  features/example_groups/basic_structure.feature
... ...
@@ -1,4 +1,4 @@
1  
-Feature: basic structure
  1
+Feature: basic structure (describe/it)
2 2
 
3 3
   RSpec is a DSL for creating executable examples of how code is expected to
4 4
   behave, organized in groups. It uses the words "describe" and "it" so we can
2  features/example_groups/shared_example_group.feature
... ...
@@ -1,4 +1,4 @@
1  
-Feature: Shared example group
  1
+Feature: shared example group
2 2
 
3 3
   Shared example groups let you describe behaviour of types or modules. When
4 4
   declared, a shared group's content is stored. It is only realized in the
2  lib/rspec/core/extensions/kernel.rb
... ...
@@ -1,5 +1,5 @@
1 1
 module Kernel
2 2
   def debugger(*args)
3  
-    RSpec.configuration.error_stream.puts "debugger statement ignored, use -d or --debug option to enable debugging\n#{caller(0)[1]}"
  3
+    (RSpec.configuration.error_stream || $stderr).puts "\n***** debugger statement ignored, use -d or --debug option to enable debugging\n#{caller(0)[1]}"
4 4
   end unless respond_to?(:debugger)
5 5
 end
6  lib/rspec/core/formatters/html_formatter.rb
@@ -49,7 +49,7 @@ def example_group_started(example_group)
49 49
             @output.puts "</div>"
50 50
           end
51 51
           @output.puts "<div class=\"example_group\">"
52  
-          @output.puts "  <dl>"
  52
+          @output.puts "  <dl #{current_indentation}>"
53 53
           @output.puts "  <dt id=\"example_group_#{example_group_number}\">#{h(example_group.description)}</dt>"
54 54
           @output.flush
55 55
         end
@@ -146,6 +146,10 @@ def dump_summary(duration, example_count, failure_count, pending_count)
146 146
           @output.puts "</html>"
147 147
           @output.flush
148 148
         end
  149
+        
  150
+        def current_indentation
  151
+          "style=\"margin-left: #{(example_group.ancestors.size - 1) * 15}px;\""
  152
+        end
149 153
 
150 154
         def html_header
151 155
           <<-EOF
2  lib/rspec/core/version.rb
... ...
@@ -1,7 +1,7 @@
1 1
 module RSpec # :nodoc:
2 2
   module Core # :nodoc:
3 3
     module Version # :nodoc:
4  
-      STRING = '2.3.0'
  4
+      STRING = '2.3.1'
5 5
     end
6 6
   end
7 7
 end
4  spec/rspec/core/formatters/documentation_formatter_spec.rb
@@ -49,7 +49,7 @@ module RSpec::Core::Formatters
49 49
 
50 50
       group.run(RSpec::Core::Reporter.new(formatter))
51 51
 
52  
-      output.string.should eql "
  52
+      output.string.should eql("
53 53
 root
54 54
   context 1
55 55
     nested example 1.1
@@ -60,7 +60,7 @@ module RSpec::Core::Formatters
60 60
   context 2
61 61
     nested example 2.1
62 62
     nested example 2.2
63  
-"
  63
+")
64 64
     end
65 65
   end
66 66
 end
14  spec/rspec/core/formatters/html_formatted-1.8.6.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
12  spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -236,14 +236,14 @@
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_5">passing spec</dt>
241 241
     <script type="text/javascript">moveProgressBar('80.0');</script>
242 242
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
243 243
   </dl>
244 244
 </div>
245 245
 <div class="example_group">
246  
-  <dl>
  246
+  <dl style="margin-left: 0px;">
247 247
   <dt id="example_group_6">failing spec</dt>
248 248
     <script type="text/javascript">makeRed('example_group_6');</script>
249 249
     <script type="text/javascript">moveProgressBar('100.0');</script>
14  spec/rspec/core/formatters/html_formatted-1.8.7.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
14  spec/rspec/core/formatters/html_formatted-1.9.1.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
14  spec/rspec/core/formatters/html_formatted-1.9.2.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
14  spec/rspec/core/formatters/text_mate_formatted-1.8.6.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
12  spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -233,14 +233,14 @@
233 233
   </dl>
234 234
 </div>
235 235
 <div class="example_group">
236  
-  <dl>
  236
+  <dl style="margin-left: 0px;">
237 237
   <dt id="example_group_5">passing spec</dt>
238 238
     <script type="text/javascript">moveProgressBar('80.0');</script>
239 239
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
240 240
   </dl>
241 241
 </div>
242 242
 <div class="example_group">
243  
-  <dl>
  243
+  <dl style="margin-left: 0px;">
244 244
   <dt id="example_group_6">failing spec</dt>
245 245
     <script type="text/javascript">makeRed('example_group_6');</script>
246 246
     <script type="text/javascript">moveProgressBar('100.0');</script>
14  spec/rspec/core/formatters/text_mate_formatted-1.8.7.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
14  spec/rspec/core/formatters/text_mate_formatted-1.9.1.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">
206  
-  <dl>
  206
+  <dl style="margin-left: 15px;">
207 207
   <dt id="example_group_4">with content that would pass</dt>
208 208
     <script type="text/javascript">makeRed('rspec-header');</script>
209 209
     <script type="text/javascript">makeRed('example_group_4');</script>
@@ -229,14 +229,14 @@
229 229
   </dl>
230 230
 </div>
231 231
 <div class="example_group">
232  
-  <dl>
  232
+  <dl style="margin-left: 0px;">
233 233
   <dt id="example_group_5">passing spec</dt>
234 234
     <script type="text/javascript">moveProgressBar('57.1');</script>
235 235
     <dd class="spec passed"><span class="passed_spec_name">passes</span></dd>
236 236
   </dl>
237 237
 </div>
238 238
 <div class="example_group">
239  
-  <dl>
  239
+  <dl style="margin-left: 0px;">
240 240
   <dt id="example_group_6">failing spec</dt>
241 241
     <script type="text/javascript">makeRed('example_group_6');</script>
242 242
     <script type="text/javascript">moveProgressBar('71.4');</script>
@@ -265,7 +265,7 @@
265 265
   </dl>
266 266
 </div>
267 267
 <div class="example_group">
268  
-  <dl>
  268
+  <dl style="margin-left: 0px;">
269 269
   <dt id="example_group_7">a failing spec with odd backtraces</dt>
270 270
     <script type="text/javascript">makeRed('example_group_7');</script>
271 271
     <script type="text/javascript">moveProgressBar('85.7');</script>
14  spec/rspec/core/formatters/text_mate_formatted-1.9.2.html
@@ -180,7 +180,7 @@
180 180
 
181 181
 <div class="results">
182 182
 <div class="example_group">
183  
-  <dl>
  183
+  <dl style="margin-left: 0px;">
184 184
   <dt id="example_group_1">pending spec with no implementation</dt>
185 185
     <script type="text/javascript">makeYellow('rspec-header');</script>
186 186
     <script type="text/javascript">makeYellow('example_group_1');</script>
@@ -189,12 +189,12 @@
189 189
   </dl>
190 190
 </div>
191 191
 <div class="example_group">
192  
-  <dl>
  192
+  <dl style="margin-left: 0px;">
193 193
   <dt id="example_group_2">pending command with block format</dt>
194 194
   </dl>
195 195
 </div>
196 196
 <div class="example_group">
197  
-  <dl>
  197
+  <dl style="margin-left: 15px;">
198 198
   <dt id="example_group_3">with content that would fail</dt>
199 199
     <script type="text/javascript">makeYellow('rspec-header');</script>
200 200
     <script type="text/javascript">makeYellow('example_group_3');</script>
@@ -203,7 +203,7 @@
203 203
   </dl>
204 204
 </div>
205 205
 <div class="example_group">