Add basic integration test using Cucumber
This test will generate a basic Rails application, include Paperclip into Gemfile, and call basic `has_attached_file` in the model. This will make sure that we're not messing up any of the configuration and integration for our gem and the Rails framework.
Showing
... | ... | @@ -2,6 +2,7 @@ source "http://rubygems.org" |
gem "activerecord", :require => "active_record" | ||
gem "appraisal" | ||
gem "aruba" | ||
gem "aws-s3", :require => "aws/s3" | ||
gem "bundler" | ||
gem "cocaine", "~>0.2" | ||
... | ... | @@ -11,11 +12,11 @@ gem "mime-types" |
gem "mocha" | ||
gem "rake" | ||
gem "rdoc", :require => false | ||
gem "capybara" | ||
gem "cucumber", "~> 1.0.0" | ||
gem "shoulda" | ||
gem "sqlite3", "~>1.3.4" | ||
# This is for Rails 3.1 | ||
gem "sprockets", "~> 2.0.0.beta.13", :require => false | ||
gem "fakeweb", :require => false | ||
# gem "ruby-debug", :platform => :ruby_18 | ||
# gem "ruby-debug19", :platform => :ruby_19 |
Gemfile.lock
deleted
100644 → 0
features/basic.feature
deleted
100644 → 0
features/basic_integration.feature
0 → 100644
features/s3.feature
deleted
100644 → 0
features/support/fakeweb.rb
0 → 100644
File added
features/support/fixtures/boot_config.txt
0 → 100644
features/support/fixtures/gemfile.txt
0 → 100644
features/support/fixtures/preinitializer.txt
0 → 100644
features/support/s3.rb
deleted
100644 → 0
features/support/selectors.rb
0 → 100644
Please
register
or
sign in
to comment