639dea5d33
# Version 2.5.0 Release date: 2015-08-25 ### Fixed * Error message now raised correctly when invalid options passed to 'have_text'/'have_content' [Tom Walpole] * Rack-test driver correctly gets document title when elements on the page have nested title elements (SVG) [Tom Walpole] * 'save_page' no longer errors when using Capybara.asset_host if the page has no \<head> element [Travis Grathwell] * rack-test driver will ignore clicks on links with href starting with '#' or 'javascript:' ### Added * has_current_path? and associated asserts/matchers added [Tom Walpole] * Implement Node#path in selenium driver [Soutaro Matsumoto] * 'using_session' is now nestable [Tom Walpole] * 'switch_to_window' will now use waiting behavior for a matching window to appear [Tom Walpole] * Capybara.default_wait_time deprecated in favor of Capybara.default_max_wait_time to more clearly explain its purpose [Paul Pettengill] * Warning when attempting to select a disabled option * Capybara matchers are now available in RSpec view specs by default [Joshua Clayton] * 'have_link' and 'click_link' now accept Regexp for href matching [Yaniv Savir] * 'find_all' as an alias of 'all' due to collision with RSpec * Capybara.wait_on_first_by_default setting (default is false) If set to true 'first' will use Capybaras waiting behavior to wait for at least one element to appear by default * Capybara waiting behavior uses the monotonic clock if supported to ease restrictions on freezing time in tests [Dmitry Maksyoma, Tom Walpole] * Capybara.server_errors setting that allows to configure what type of errors will be raised from the server thread [Tom Walpole] * Node#send_keys to allow for sending keypresses directly to elements [Tom Walpole] * 'formmethod' attribute support in RackTest driver [Emilia Andrzejewska] * Clear field using backspaces in Selenium driver by using `:fill_options => { :clear => :backspace }` [Joe Lencioni]
21 lines
735 B
Makefile
21 lines
735 B
Makefile
# $NetBSD: Makefile,v 1.5 2015/09/13 15:27:55 taca Exp $
|
|
|
|
DISTNAME= capybara-2.5.0
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel ruby www
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
HOMEPAGE= http://github.com/jnicklas/capybara
|
|
COMMENT= Integration testing tool for rack based web applications
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=1.16:../../mail/ruby-mime-types
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.3.3:../../textproc/ruby-nokogiri
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.0.0:../../www/ruby-rack
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-rack-test>=0.5.4:../../www/ruby-rack-test
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-xpath>=2.0:../../textproc/ruby-xpath
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|