Commit Graph

7 Commits

Author SHA1 Message Date
Thomas Walpole 85e9fcd7f2 fix feature definition in case user has RSpec set not to expose dsl globally - test in rspec 3 beta tests 2014-04-03 10:25:03 -07:00
Thomas Walpole ba37f78692 Update all tests to "expect" format and add support for RSpec 3 usage
Swap from :skip to :capybara_skip since :skip is now used by RSpec 3
Add rspec 3 testing to beta gemfile
2014-04-02 14:33:26 -07:00
Edgars Beigarts f6b3124d7f Renamed rspec examples 2011-08-22 12:32:35 +03:00
Edgars Beigarts 8d0442073d Tests for selenium driver exit codes. #463 2011-08-22 12:27:45 +03:00
Jonas Nicklas cf1aa4d073 Moved shared specs into lib directory
This way, implementations of other drivers can
use the specs to verify that they are working
correctly.
2010-04-09 16:41:35 +02:00
Thorbjørn Hermansen fe6f5a1bde Wrote failing specs which highlights missing content-type with rack test driver
Don't know if this could have been written any better, guess it can as
this is my first "deep" look into Capybara. The problem is found in the
Capybara::Driver::RackTest; it doesn't forward the content type of the
file being uplloaded to Rack::Test::UploadedFile.new. UploadFile's
initializer sets the content type to text/plain as a default.

This will make for instance Paperclip's attachment validation fail when
testing with Cucumber and Capybara even though we are uploading a type
which should pass.
2010-01-07 23:43:11 +01:00
Jonas Nicklas and Kevin Fitzpatrick ac7d044243 Changed to use selenium-webdriver and it works! 2009-11-14 10:44:46 +01:00