-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Comparing changes
Open a pull request
base repository: rspec/rspec-rails
base: v3.7.1
head repository: rspec/rspec-rails
compare: v3.7.2
- 15 commits
- 16 files changed
- 10 contributors
Commits on Nov 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9688432 - Browse repository at this point
Copy the full SHA 9688432View commit details -
Check for puma and capybara when defining system tests (#1893)
* Check for puma and capybara when defining system tests Rather than skipping the definition altogether define a fake module that warns about the dependencies. * If we can't load system_test_case for some reason we cant run system tests As per @mockdeep's conversation in #1889 other dependencies might not allow us to even load system_test_case so we fallback to our original strategy for now.
Configuration menu - View commit details
-
Copy full SHA for 1a7202d - Browse repository at this point
Copy the full SHA 1a7202dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c86b17d - Browse repository at this point
Copy the full SHA c86b17dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d97a5a - Browse repository at this point
Copy the full SHA 9d97a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 272f70a - Browse repository at this point
Copy the full SHA 272f70aView commit details -
Follow updated ruby versions in the matrix (#1906)
* Follow updated ruby versions in the matrix * Keep 2.2.n matrix as before
Configuration menu - View commit details
-
Copy full SHA for 7ed9300 - Browse repository at this point
Copy the full SHA 7ed9300View commit details -
Refactor system test integration (delay loading). (#1903)
Delay loading system tests as late as possible in order to allow people who arent using them to not have to turn off puma or other such things. It also enables other webservers to be configured other than puma which is needed in Rails as of rails/rails@50f6976
Configuration menu - View commit details
-
Copy full SHA for 5a252e8 - Browse repository at this point
Copy the full SHA 5a252e8View commit details -
Fix failing sanity check spec under latest bundler (#1912)
Relax the regexp for matching the expected "uninitialized constant" error to fix this spec failure when running on Bundler 1.16.0 and Ruby 2.4.2: expected "NameError: uninitialized constant RSpec::Support" to match /uninitialized constant RSpec::Support \(NameError\)/
Configuration menu - View commit details
-
Copy full SHA for 0b52569 - Browse repository at this point
Copy the full SHA 0b52569View commit details -
Configuration menu - View commit details
-
Copy full SHA for c48864a - Browse repository at this point
Copy the full SHA c48864aView commit details -
Improve doc about Job specs & Rails versions matrix (#1886)
* Improve doc about Job specs & rails versions matrix * Add System specs information in doc * doc: add links from directory structure feature to other features * doc: simpler links to other features
Configuration menu - View commit details
-
Copy full SHA for 301a95e - Browse repository at this point
Copy the full SHA 301a95eView commit details -
Fix "uninitialized constant Gem" and other Travis errors (#1914)
* Fix RuboCop violation * Update test harness for Bundler 1.16 compatibility This commit fixes Travis failures due to the recent introduction of Bundler 1.16.0. Both are related to the new style of binstubs that are generated by 1.16.0. First, add `bundler` to the list of binstubs that we explicitly generate when creating the test Rails app. The `bin/bundle` binstub that ships as part of `rails new` is in the pre-1.16 format, and conflicts with the 1.16 format binstubs that are generated for rake and rspec. Fix this by replacing the default `bin/bundle` with a fresh one generated by `bundle binstubs bundler --force`. Second, the `Bundle.with_clean_env` wrapper seems to remove some important information from the environment that causes binstubs to fail with errors like `uninitialized constant Gem (NameError)`. Fix this by using `Bundle.with_original_env` instead (which is what the Bundler documentation recommends). Because Travis also sets its own `BUNDLER_GEMFILE` variable, I had to also reset that one manually. * Choose cuke tags based on correct RAILS_VERSION * Travis needs doc gems in order to run bin/yard * Add --no-rc flag for more reliable local testing The rspec-rails acceptance tests use `rails new` to generate a sample app for running tests. If a developer running the rspec-rails test suite has a `.railsrc` file, this will affect the app that is generated, causing specs to fail. This commit fixes this by passing the `--no-rc` flag so that `rails new` ignores the developer's local `.railsrc`.
Configuration menu - View commit details
-
Copy full SHA for e941214 - Browse repository at this point
Copy the full SHA e941214View commit details -
Fix system test screenshots for aggregate failures
If RSpec's `:aggregate_failures` is enabled, a system spec with a failed expectation would not automatically trigger a screenshot as expected. This is because aggregated failures are not exposed via the typical `RSpec.current_example.exception`. To correctly detect failures when aggregation is enabled, we have to do more work. This commit works around this problem by using some behind-the-scenes knowledge of how rspec-expectations does the aggregation. Now we reach into the thread-local storage (`RSpec::Support.failure_notifier`) and discover whether there are in fact failures "queued up". If so, we will consider the example to have failed and take a screenshot. This is the same workaround as used by capybara-screenshot: mattheworiordan/capybara-screenshot#213
Configuration menu - View commit details
-
Copy full SHA for 0012b8e - Browse repository at this point
Copy the full SHA 0012b8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a90cc9 - Browse repository at this point
Copy the full SHA 9a90cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 409d78c - Browse repository at this point
Copy the full SHA 409d78cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68cea15 - Browse repository at this point
Copy the full SHA 68cea15View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.7.1...v3.7.2