- 21 2月, 2017 10 次提交
-
-
由 eileencodes 提交于
This allows any application to change the driver adapter based on the config settings in the test env.
-
由 eileencodes 提交于
These FormHelpers are selectors that aren't a capybara default but are considered useful for Rails applications.
-
由 eileencodes 提交于
This is not yet configurable but is the minimum required to make Capybara work with the Selenium driver. A lot of this will change as the tests get fleshed out and the initialization requirements will eventually be configurable via the application.
-
由 eileencodes 提交于
Capybara defaults to Rack Test for it's driver and works out of the box but this adds the headers and allows for future configurable adapters for system testing.
-
由 eileencodes 提交于
This skelton is the bare minimum to get system tests to actually run in an application. This of course doesn't yet actually run a test but it is enough for `bin/rails test:system` to attempt to run files in `test/system` that inherit from `Rails::SystemTestCase`.
-
由 eileencodes 提交于
* Generates system test requirements with new Rails app * Includes required default gems in Gemfile for Rails app * Generates a single system test case * Generates a system test case with scaffold
-
由 Matthew Draper 提交于
Some improvements to the API site's sidebar
-
由 Matthew Draper 提交于
Delegate to `scope` rather than `merge!` for collection proxy
-
由 Ryuta Kamizono 提交于
-
由 Robin Dupret 提交于
Since Active Support is monkey patching a lot of core classes, let's rather document these changes under a new section so they are still documented but not encumbering the sidebar. We can safely remove the rescuing of the `LoadError` since as of cd7cc525, it's not possible to generate the API from an application. [ci skip] [Kasper Timm Hansen & Robin Dupret]
-
- 20 2月, 2017 12 次提交
-
-
由 Robin Dupret 提交于
Update Guides to use macOS instead of Mac OS X [ci skip]
-
由 Vitali Tatarintev 提交于
-
由 Kasper Timm Hansen 提交于
Remove the top-level `HashWithIndifferentAccess` contant
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
Do not run `git init` in dummy application
-
由 Guillermo Iguaran 提交于
Improve `create_table force: true`
-
由 Guillermo Iguaran 提交于
Add assertion to polymorphic_routes_test.rb
-
由 bogdanvlviv 提交于
-
由 bogdanvlviv 提交于
The assertion will ensure that the behavior doesn't regress. assert_equal "/projects", polymorphic_path("projects") Remove FIXME related to polymorphic_url behavior. polymorphic_url with Symbol or String works equally. Example: default_url_options[:host] = "example.com" polymorphic_url(:projects) # => "http://example.com/projects" polymorphic_url("projects") # => "http://example.com/projects" Related to 37d4415a
-
由 Robin Dupret 提交于
This constant was kept for the sake of backward compatibility; it is still available under `ActiveSupport::HashWithIndifferentAccess`. Furthermore, since Ruby 2.5 (https://bugs.ruby-lang.org/issues/11547) won't support top level constant lookup, people would have to update their code anyway.
-
由 Godfrey Chan 提交于
Add missing module namespacing wrapper
-
由 Matthew Draper 提交于
Unfreeze interpolated string because it's unnecessary.
-
- 19 2月, 2017 3 次提交
-
-
由 Stan Lo 提交于
-
由 Ryuta Kamizono 提交于
Extra `data_source_exists?(table_name)` is unneeded if `drop_table(table_name, if_exists: true)` directly.
-
由 Kasper Timm Hansen 提交于
-
- 18 2月, 2017 6 次提交
-
-
由 yuuji.yaginuma 提交于
-
由 Jon Moss 提交于
Remove deprecate passing string to `:if` and `:unless` conditional options [ci skip]
-
由 yuuji.yaginuma 提交于
Follow up to #27608
-
由 Jon Moss 提交于
Change engines guide to demonstrate maintained forum
-
由 Akira Matsuda 提交于
Remove `:doc:` for `NumericalityValidator` [ci skip]
-
由 Richard 提交于
Change Rails engine guide to references a maintained project Thredded instead of the abandoned project Forem. I chose Thredded as Forem's closing note (below) suggests the choice. https://github.com/rubysherpas/forem/blob/rails4/README.md
-
- 17 2月, 2017 5 次提交
-
-
由 Ryuta Kamizono 提交于
The `:doc:` was added in cdb9d7f4 but `NumericalityValidator` is already `:nodoc:` class. `:doc:` is unneeded. https://github.com/rails/rails/blob/master/activemodel/lib/active_model/validations/numericality.rb#L3
-
由 Yves Senn 提交于
Fix typo in I18n Guide [ci skip]
-
由 Erol Fornoles 提交于
-
由 Jon Moss 提交于
Fix doc in Multibyte::Chars [ci skip]
-
由 kenta-s 提交于
-
- 16 2月, 2017 4 次提交
-
-
由 Shota Iguchi 提交于
-
由 Jon Moss 提交于
Change ActiveModel::Validation to ActiveModel::Validations in comments
-
由 Sen Zhang 提交于
-
由 Jon Moss 提交于
Remove redundant namespaces from sample code of `deprecated_method_wa…
-