Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 3, 2015
  1. @myronmarston

    Refactor aruba spec setup.

    myronmarston authored
    This will facilitate writing other specs in using aruba.
Commits on Dec 15, 2014
  1. @myronmarston
Commits on Mar 24, 2014
  1. @samphippen @myronmarston

    Remove the automatic call to RSpec.reset.

    samphippen authored myronmarston committed
    As far as I (Myron) can tell, the reset doesn't
    provide any useful value to folks running specs
    the normal way via the `rspec` command, and it
    takes a bit of extra time to do so. It also limits
    flexibility as alternate runners can't prevent RSpec
    from calling this if they do not want it, but by
    us no longer calling it, they can now decide if they
    want things reset and can call it at the appropriate time.
Commits on Feb 2, 2014
  1. @xaviershay

    Tag slow specs.

    xaviershay authored
    In a new project, I would have split these "integration" tests out from
    "unit" tests. That still may be worthwhile, but this is the first step
Commits on Dec 2, 2013
  1. @JonRowe

    remove config reconfiguration

    JonRowe authored
  2. @JonRowe
  3. @JonRowe

    Use `RSpec.#{method}` for top level DSLs

    JonRowe authored
     * use RSpec.describe as opposed to describe
     * use RSpec DSL for shared examples
Commits on Nov 4, 2013
  1. @myronmarston

    Revert "Swap output stream to current sandbox (Read why)."

    myronmarston authored
    This reverts commit a22d524.
    This is no longer needed with the new approach we are taking
    to `output_stream` (e.g. having it default to $stdout), and
    it was causing `command_line_spec.rb` to have a failure when
    run in isolation.
Commits on Oct 23, 2013
  1. @ToadJamb
Commits on Sep 27, 2013
  1. @myronmarston

    Rename `--default` ordering to `--defined`.

    myronmarston authored
    `--default` was never a good name. (Consider that
    if we had made `--random` the default, `--default`
    would have been even more confusing).
  2. @myronmarston

    Simplify ordering API.

    myronmarston authored
    - Don't have separate `groups`, `examples` and
      `groups_and_examples` methods. There are very
      few use cases for having separate logic for
      groups vs examples and it doesn't justify the
      added complexity to have separate APIs. If you
      need to order them separately, put a conditional
      in your ordering strategy that branches based on
      the type of the first item in the list.
    - Remove legacy `order_xyz` methods. These set the
      global ordering but didn't make that clear. Instead,
      the global ordering can be set by `register_ordering :global`.
  3. @myronmarston

    Improve isolation of order specs.

    myronmarston authored
    * Cleanup extra files created by individual specs.
    * Change to the aruba tmp dir before running the
      command.  This is important so that it doesn't
      pick up options in our `.rspec` file.
  4. @myronmarston

    Improve expectation.

    myronmarston authored
Commits on Sep 12, 2013
  1. @JonRowe

    Swap output stream to current sandbox (Read why).

    JonRowe authored
    Specs that use the runner need to use the current sandbox output stream
    (rather than attempting to create a new one) so that inadvertant use of
    the config hasn't preloaded any formatters (e.g. deprecation warnings
    will cause stuff to be initialised which would then not be captured in
    our specs correctly).
Commits on Jan 1, 2013
  1. @myronmarston

    Switch to the new `expect` syntax.

    myronmarston authored
    I used some vim macros to do most of the work here:
    I also had to re-gen the html/textmate formatter output since
    those include the failing line, which changed from `should`
    to `expect`.
    While I was at it, I deleted the files for 1.9.2-jruby because
    the current jruby version supports 1.9.3, but not 1.9.2.
    I wasn't able to re-gen the rbx files because my local
    rbx installation is messed up and RVM is failing on me
    when trying to re-install rbx :(.
Commits on Oct 27, 2012
  1. @samphippen @myronmarston

    Make Configuration#get_files_to_run consistently order files.

    samphippen authored myronmarston committed
    Fixes #715.
    Closes #717.
Commits on Oct 3, 2012
  1. @myronmarston

    Don't output the seed before loading spec files.

    myronmarston authored
    This sets the formatter before users have a chance to
    configure it in a `RSpec.configure` block in a loaded
    spec file, and it turns out we don't need it--#660
    fixes the order files are loaded to a consistent order,
    so the seed isn't involved at file load time.
    This reverts the following commits:
    * "Changelog for #676."
    * "Ensures that error commands always throw an error"
    * "Outputs random seed before loading files"
    Closes #676.
Commits on Sep 17, 2012
  1. Ensures that error commands always throw an error

    M. Scott Ford authored
Commits on Sep 11, 2012
  1. Outputs random seed before loading files

    M. Scott Ford authored
    Ordering dependencies between files can result in a raised exception
    when rspec is loading files. If random ordering is turned on, then the
    exception will prevent the random seed from being displayed. This
    always outputs the random seed before file are loaded, so that the
    ordering that produced the exception can be repeated.
Commits on Jul 13, 2012
  1. @myronmarston
Commits on Nov 20, 2011
  1. @justinko
Commits on Oct 30, 2011
  1. @dchelimsky

    add '--order default' option

    dchelimsky authored
    This allows you to override --order rand in a .rspec file from the CLI.
    It actually worked before, but it was completely by accident - this
    makes it explicit and less likely to regress in the future.
    Related to #403.
  2. @dchelimsky
Commits on Oct 26, 2011
  1. @justinko

    Add a line after the seed.

    justinko authored
Commits on Oct 24, 2011
  1. @justinko
  2. @justinko
Commits on Oct 23, 2011
  1. @dchelimsky

    Separate cli specs from the rest (they're SLOW)

    dchelimsky authored
    Also use FakeFS instead of stubbing IO
  2. @dchelimsky

    refactor randomize_spec

    dchelimsky authored
Commits on Oct 22, 2011
  1. @justinko
  2. @justinko
Commits on Oct 21, 2011
  1. @justinko
  2. @justinko

    Remove extra line.

    justinko authored
Commits on Oct 20, 2011
  1. @justinko

    --randomize and --seed

    justinko authored
Commits on Oct 14, 2011
  1. @justinko
Something went wrong with that request. Please try again.