This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In capybara tests, I get the following situations: | |
js - enabled tests | |
visit "/" - domain = localhost | |
visit "/agent" - domain = 127.0.0.1 | |
js - disabled tests | |
visit "/" - domain = localhost |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PasswordsController < Devise::PasswordsController | |
caches_page :thanks | |
layout "floating_box" | |
skip_before_filter :require_active | |
before_filter :require_password_token, only: :edit | |
before_filter :load_reset_resource, only: :edit | |
before_filter :require_reset_resource, only: :edit | |
respond_to :html, :popup, only: [:new, :create, :thanks] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.alert(); |
OlderNewer