Permalink
Browse files

mail and capybara are runtime dependencies

  • Loading branch information...
1 parent 52116b0 commit 930d649acb861160c31247168fa57456624fe71e @ngauthier ngauthier committed Nov 6, 2012
Showing with 4 additions and 1 deletion.
  1. +2 −1 capybara-email.gemspec
  2. +2 −0 lib/capybara-email.rb
View
@@ -14,7 +14,8 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.version = Capybara::Email::VERSION
- gem.add_development_dependency 'mail'
+ gem.add_dependency 'mail'
+ gem.add_dependency 'capybara'
gem.add_development_dependency 'actionmailer'
gem.add_development_dependency 'capybara', '2.0.0.beta2'
gem.add_development_dependency 'bourne'
View
@@ -1,3 +1,5 @@
+require 'capybara'
+require 'mail'
module Capybara
autoload :Email, 'capybara/email'
end

0 comments on commit 930d649

Please sign in to comment.