Sha256: 192add7f3cbd7ce71c8da5a0eb414de08fedcc3ce9bf7457255928d4061c9c13
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
# Copyright (C) 2010-2011 Kouhei Sutou <kou@clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA require "test/unit/capybara" require 'json' require 'racknga' require 'racknga/middleware/cache' require 'racknga/middleware/instance_name' Capybara.configure do |config| config.default_driver = nil config.current_driver = nil end module RackngaTestUtils include Capybara::DSL def fixtures_dir Pathname(__FILE__).dirname + "fixtures" end def get(*args) page.driver.get(*args) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
racknga-0.9.3 | test/racknga-test-utils.rb |
racknga-0.9.2 | test/racknga-test-utils.rb |