Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 26, 2012
  1. @joliss

    Exclude Rubinius and JRuby with base versions on Travis

    joliss authored
    Setting the DISPLAY variable is not longer done through env, because it
    is not part of the build matrix. (If we kept it, we would have to repeat
    it in the exclude list.)
  2. @joliss

    Reindent .travis.yml

    joliss authored
  3. @joliss
  4. @joliss

    Update rspec and cucumber dependency to lowest compatible versions

    joliss authored
    Cucumber 0.10.5 was only released in June 2011, but I cannot get the
    Rake tasks to work with older Cucumbers. Luckily this only affects the
    development dependencies, so Capybara may in actuality still work with
    older versions of Cucumber.
  5. @joliss

    Add cucumber rake task, and run it in default task

    joliss authored
    I was going for :features, but :cucumber is the default task name
    suggested by the cucumber gem.
Commits on Jan 21, 2012
  1. @joliss

    Use RbConfig instead of deprecated Config in specs

    joliss authored
    RbConfig works on Ruby >=1.8.5 (i.e. everywhere), and Config is deprecated
    as of Ruby 1.9.3.
Commits on Jan 12, 2012
  1. @joliss

    Merge pull request #612 from michaelklishin/patch-1

    joliss authored
    Update .travis.yml: rbx and rbx-2.0 are now both aliases for rbx-18mode
  2. @joliss

    Merge pull request #613 from jonleighton/fix_specs

    joliss authored
    Correct the specs for Session#body, #html, #source.
  3. @joliss

    Merge pull request #614 from joliss/query-string-test-problem

    joliss authored
    Strip empty query string in current_url test
  4. @joliss

    Strip empty query string in current_url test

    joliss authored
    Some drivers (like WebKit) apparently do this. Suggested by
    @jonleighton in #611.
  5. @joliss

    Revert "Use method="post"."

    joliss authored
    This reverts commit 3f2e028.
  6. @jonleighton

    Correct the specs for Session#body, #html, #source.

    jonleighton authored
    Per f4360f6, #body should return the
    unmodified source, just like #source. However, in Selenium it doesn't,
    which is why this test was passing, even though it is incorrect.
    
    I have corrected the spec for #body to match #source (as it is just an
    alias), and changed the original spec for #body to be the spec for #html.
  7. @jnicklas

    Merge pull request #611 from jonleighton/fix_current_url_spec

    jnicklas authored
    Use method="post".
  8. @jonleighton

    Use method="post".

    jonleighton authored
    WebKit will append a '?' to the URL when submitting a form via GET, even
    if there is no actual form data. (Firefox does not.) This causes a couple
    of tests to fail for the Poltergeist driver, because the tests do not
    expect there to be a '?'. Presumably it would also affect
    capybara-webkit.
    
    I am not sure which behaviour is 'correct' but it would seem a bad idea
    to mess with the URL that the browser is actually providing, so changing
    to test like this just allows the results to be consistent.
Commits on Jan 10, 2012
  1. @joliss

    Add more referer tests

    joliss authored
    This includes a pending test "should send no referer when visiting a
    second page", which does not pass on Rack::Test right now.
  2. @joliss

    Update History

    joliss authored
  3. @joliss

    Merge pull request #603 from robvandijk/master

    joliss authored
    Referer should point to original referer after a redirect
  4. @joliss

    Typo. Thanks @khustochka!

    joliss authored
  5. Moved test to shared_example_for in driver, included test both for ra…

    Rob van Dijk authored
    …ck_test and selenium
  6. @joliss

    Do not hard-code port 80 or things will break for https

    joliss authored
    This was introduced in 8c6ff16.
  7. @jnicklas

    Merge pull request #605 from joliss/has-text

    jnicklas authored
    Refer to has_content rather than has_text for now
  8. @joliss

    Refer to has_content rather than has_text for now

    joliss authored
    This way users of Capybara 1.1.2 will not be confused. We could start
    preferring has_text in the README once 2.0.0 is out.
    
    @hardbap in #580 and @mipearson in #604 ran into this -- thanks to
    both for the reports!
  9. @joliss
Commits on Jan 9, 2012
  1. @jnicklas

    Merge pull request #601 from joliss/remove-server-boot-timeout

    jnicklas authored
    Remove Capybara.server_boot_timeout, hard-code 60 seconds. Closes #589
Commits on Jan 8, 2012
  1. @joliss

    Remove Capybara.server_boot_timeout, hard-code 60 seconds. Closes #589

    joliss authored
    Thanks to Adam Cigánek for his helpful input and the original patch!
  2. @joliss

    Update history

    joliss authored
  3. @jnicklas

    Merge pull request #600 from joliss/text-normalizes-whitespace

    jnicklas authored
    RackTest::Node#text now normalizes whitespace like Selenium
  4. @joliss

    RackTest::Node#text now normalizes whitespace like Selenium

    joliss authored
    Previously Rack::Test's #text method might have returned
    "   some  text ", whereas now it returns "some text", just like
    Selenium.
  5. Use the referer of the last request when redirecting

    Rob van Dijk authored
  6. @joliss
  7. @jnicklas

    Merge pull request #599 from kou/suppress-warnings

    jnicklas authored
    Suppress warnings
  8. @kou

    suppress a warning:

    kou authored
    lib/capybara/selenium/driver.rb:22: warning: instance variable @exit_status not initialized
  9. @kou

    suppress warnings:

    kou authored
    lib/capybara/selenium/driver.rb:14: warning: instance variable @browser not initialized
    lib/capybara/selenium/driver.rb:79: warning: instance variable @browser not initialized
  10. @kou

    suppress a warning:

    kou authored
    lib/capybara/selenium/driver.rb:82: warning: assigned but unused variable - e
Something went wrong with that request. Please try again.