Commit graph

4 commits

Author SHA1 Message Date
blackst0ne
1a455f3d5c [Rails5] Fix running spinach tests
1. Add support for `RAILS5=1|true` for the `bin/spinach` command.
2. Synchronize used spinach versions both for rails4 and rails5.

For rails5 it was accidently used spinach 0.10.1 instead of 0.8.10.
That brought some problems on running spinach tests.

Example of failure message:

NoMethodError: undefined method `line' for #<Spinach::Scenario:0x000000000c86ba80>
Did you mean?  lines
  /builds/gitlab-org/gitlab-ce/features/support/env.rb:52:in `before_scenario_run'
2018-04-10 22:18:37 +11:00
Robert Speicher
fdc8b05ab1 Re-generate Spring binstubs for updated version of Spring
Prevents output like this:

    Array values in the parameter are deprecated. Please use a String or nil.
    An Array was passed in from bin/rspec:3:in `load'
2016-04-22 16:00:56 -04:00
Jeroen van Baarsen
055937c417 Added executable file permission to binstubs 2014-02-20 12:56:22 +01:00
Jeroen van Baarsen
99dc9c6fc9 Inserted spring in the binstubs
Now possible to run:
`bin/rails`
`bin/rspec`
`bin/spinach`
`bin/rake`
2014-02-16 11:22:03 +01:00