1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
Commit graph

4 commits

Author SHA1 Message Date
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
Jonas Nicklas
2e432b82e7 Don't put DSL specs into modules
I don't understand how this is useful?
2010-01-18 20:33:22 +01: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
Andrew Brown
41c7bb3d99 renamed sessions spec directory to dsl 2009-12-16 13:42:45 +01:00
Renamed from spec/sessions/attach_file_spec.rb (Browse further)