Permalink
Commits on Jan 26, 2012
  1. Exclude Rubinius and JRuby with base versions on Travis

    joliss committed Jan 26, 2012
    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. Reindent .travis.yml

    joliss committed Jan 26, 2012
  3. Update rspec and cucumber dependency to lowest compatible versions

    joliss committed Jan 26, 2012
    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.
  4. Add cucumber rake task, and run it in default task

    joliss committed Jan 26, 2012
    I was going for :features, but :cucumber is the default task name
    suggested by the cucumber gem.
Commits on Jan 21, 2012
  1. Use RbConfig instead of deprecated Config in specs

    joliss committed Jan 21, 2012
    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. Merge pull request #612 from michaelklishin/patch-1

    joliss committed Jan 12, 2012
    Update .travis.yml: rbx and rbx-2.0 are now both aliases for rbx-18mode
  2. Merge pull request #613 from jonleighton/fix_specs

    joliss committed Jan 12, 2012
    Correct the specs for Session#body, #html, #source.
  3. Merge pull request #614 from joliss/query-string-test-problem

    joliss committed Jan 12, 2012
    Strip empty query string in current_url test
  4. Strip empty query string in current_url test

    joliss committed Jan 12, 2012
    Some drivers (like WebKit) apparently do this. Suggested by
    @jonleighton in #611.
  5. Revert "Use method="post"."

    joliss committed Jan 12, 2012
    This reverts commit 3f2e028.
  6. Correct the specs for Session#body, #html, #source.

    jonleighton committed Jan 12, 2012
    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. Merge pull request #611 from jonleighton/fix_current_url_spec

    jnicklas committed Jan 12, 2012
    Use method="post".
  8. Use method="post".

    jonleighton committed Jan 12, 2012
    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. Add more referer tests

    joliss committed Jan 10, 2012
    This includes a pending test "should send no referer when visiting a
    second page", which does not pass on Rack::Test right now.
  2. Update History

    joliss committed Jan 10, 2012
  3. Merge pull request #603 from robvandijk/master

    joliss committed Jan 10, 2012
    Referer should point to original referer after a redirect
  4. Typo. Thanks @khustochka!

    joliss committed Jan 10, 2012
  5. Moved test to shared_example_for in driver, included test both for ra…

    Rob van Dijk committed Jan 10, 2012
    …ck_test and selenium
  6. Do not hard-code port 80 or things will break for https

    joliss committed Jan 10, 2012
    This was introduced in 8c6ff16.
  7. Merge pull request #605 from joliss/has-text

    jnicklas committed Jan 10, 2012
    Refer to has_content rather than has_text for now
  8. Refer to has_content rather than has_text for now

    joliss committed Jan 10, 2012
    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!
Commits on Jan 9, 2012
  1. Merge pull request #601 from joliss/remove-server-boot-timeout

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

    joliss committed Jan 8, 2012
    Thanks to Adam Cigánek for his helpful input and the original patch!
  2. Update history

    joliss committed Jan 8, 2012
  3. Merge pull request #600 from joliss/text-normalizes-whitespace

    jnicklas committed Jan 8, 2012
    RackTest::Node#text now normalizes whitespace like Selenium
  4. RackTest::Node#text now normalizes whitespace like Selenium

    joliss committed Jan 6, 2012
    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 committed Jan 8, 2012
  6. Merge pull request #599 from kou/suppress-warnings

    jnicklas committed Jan 8, 2012
    Suppress warnings
  7. suppress a warning:

    kou committed Jan 8, 2012
    lib/capybara/selenium/driver.rb:22: warning: instance variable @exit_status not initialized
  8. suppress warnings:

    kou committed Jan 8, 2012
    lib/capybara/selenium/driver.rb:14: warning: instance variable @browser not initialized
    lib/capybara/selenium/driver.rb:79: warning: instance variable @browser not initialized
  9. suppress a warning:

    kou committed Jan 8, 2012
    lib/capybara/selenium/driver.rb:82: warning: assigned but unused variable - e