aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'rails/master' into ujs"Joshua Peek2010-01-306-471/+326
| | | | | | | | | | | This reverts commit 3aa1ea1ae4baa4a03d03644e798eeb98a4745785, reversing changes made to 2c12a71378d2146c822acb389b00b866f6420ff5. Conflicts: actionpack/lib/action_view/helpers/javascript_helper.rb actionpack/lib/action_view/helpers/url_helper.rb actionpack/test/template/url_helper_test.rb
* Revert "fixed tests to also look for rails.js when using ↵Joshua Peek2010-01-301-7/+7
| | | | | | javascript_include_tag :defaults" This reverts commit 7f181e475080924164b3fa0071ee4898bd66cbb8.
* Bring helpers_dir deprecation back.José Valim2010-01-301-11/+10
|
* Deprecate link_to :popupJoshua Peek2010-01-291-30/+0
|
* fixed tests to also look for rails.js when using javascript_include_tag ↵Erik St. Martin2010-01-291-7/+7
| | | | :defaults
* Added :format and :locale options to render.José Valim2010-01-291-1/+40
|
* Fix rendering of layouts.José Valim2010-01-291-3/+3
|
* Get rid of AM warnings in AP test suite.José Valim2010-01-291-2/+2
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-7/+7
|
* updated tests + docs, plus minor inconsistency fixesStefan Penner2010-01-271-86/+182
|
* Added regression tests that discovered the previous issue. Stefan Penner2010-01-271-0/+14
|
* :href should be comming in through html_options and not optionsErik St. Martin2010-01-271-1/+1
|
* removing container inline js function of observed elements :function callbackErik St. Martin2010-01-271-2/+9
|
* periodically_call_remote does not need data-observe=trueErik St. Martin2010-01-271-2/+2
|
* test to go with last commit, explicit :href for link_to_remoteErik St. Martin2010-01-271-0/+5
|
* fix duplidate data-submit attribute, submit_to_remote should test urlStephen St. Martin2010-01-271-2/+2
|
* account for the fact a few options may be passed as symbols and need to be ↵Erik St. Martin2010-01-271-0/+5
| | | | converted to string
* removing Prototype inline js for attributes for :with and :condition, it now ↵Erik St. Martin2010-01-271-6/+24
| | | | is free form js that can be placed there, also moved :submit out into AjaxHelper, updated tests to reflect changes
* add missing test for :with option to link_to_remoteStephen St. Martin2010-01-271-0/+6
|
* add missing :before and :after callbacks for link_to_remoteStephen St. Martin2010-01-271-0/+5
|
* modified helper that adds attributes for :method to include rel='nofollow' ↵Erik St. Martin2010-01-271-3/+3
| | | | if :method => :delete, same as its remote_ equivalent
* making non remote versions of link_to, button_to, submit_tag and ↵Erik St. Martin2010-01-272-20/+20
| | | | image_submit_tag output data attributes for things like :confirm, :method, :popup, and :disable_with
* link_to_remote and button_to_remote now support :confirmErik St. Martin2010-01-271-0/+10
|
* test :method option of link_to_remote, and ensure rel='nofollow' is added ↵Stephen St. Martin2010-01-271-0/+5
| | | | when :method => 'delete'
* port existing test suite to check for new output, and fix all breaking testsStephen St. Martin2010-01-271-121/+223
|
* fixed current tests that were failing do to module location change, this is ↵Erik St. Martin2010-01-271-3/+8
| | | | temporary to fix state of repo till all the new tests are complete
* Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. ↵Erik St. Martin2010-01-272-197/+4
| | | | Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper
* fixing failing tests from last commit, order of attributes matters should ↵Erik St. Martin2010-01-271-2/+2
| | | | probably change this later
* fix failing tests from fork/mergeStephen St. Martin2010-01-271-2/+2
|
* rename ajax_test.rb to ajax_helper_test.rb for consistencyStephen St. Martin2010-01-271-0/+0
|
* nuke what appears to be a duplicate and unused test fileStephen St. Martin2010-01-271-454/+0
|
* Added observe_formBob Remeika2010-01-271-8/+15
|
* Added submit_to_remote helperBob Remeika2010-01-271-1/+11
|
* Removed duplicationBob Remeika2010-01-271-0/+12
|
* Changed data-name to data-observed on observe_fieldBob Remeika2010-01-271-7/+7
|
* Refactored ajax helpers so they use a little bit more coherent pattern; ↵Bob Remeika2010-01-271-35/+46
| | | | Removed code duplication from form_remote_tag
* Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵Bob Remeika2010-01-271-19/+31
| | | | form_helper and ajax_helper; Added script_decorator helper
* Changed observe_field to field_observerBob Remeika2010-01-271-1/+1
|
* Changed data-rails-type to data-js-typeBob Remeika2010-01-271-1/+1
|
* Changed data-remote='true' to data-js-type='remote'Bob Remeika2010-01-271-17/+28
|
* remote_form_for tests passBob Remeika2010-01-271-10/+93
|
* Took first stab at reimplementing form_remote_tag helpersBob Remeika2010-01-271-0/+123
|
* Added assert_data_element_json test helper for data element helpersBob Remeika2010-01-271-16/+28
|
* Took another stab at observe_field. Now implementing data only helpers as ↵Bob Remeika2010-01-271-23/+28
| | | | script elements.
* Changed the observe field node into a div with display:noneBob Remeika2010-01-271-8/+12
|
* ObserveFieldTest uses url_for from AjaxTestCaseBob Remeika2010-01-271-0/+51
|
* fixed failing testsStefan Penner2010-01-272-363/+15
|
* Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵Bob Remeika2010-01-271-3/+10
| | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this.
* Added observe_formBob Remeika2010-01-271-8/+15
|
* Added submit_to_remote helperBob Remeika2010-01-271-1/+11
|