Commits

Josh Hubbard committed c799a98

Changed from webrat to capybara. Updated the factories.

  • Participants
  • Parent commits ce03c0e

Comments (0)

Files changed (3)

 gem 'will_paginate', '3.0.pre2'
 
 # Bundle edge Rails instead: #
-# gem 'rails', :git => 'git://github.com/rails/rails.git'
+                      # gem 'rails', :git => 'git://github.com/rails/rails.git'
 
 gem 'mysql2', '< 0.3' #older version required since newer seems buggy with thie rails version http://stackoverflow.com/questions/3467054/problem-with-mysql2-and-rails3-bundler
-#gem 'compass'
-#gem 'compass-960-plugin'
+                      #gem 'compass'
+                      #gem 'compass-960-plugin'
 
 gem 'net-ldap'
 gem 'recaptcha', :require => 'recaptcha/rails'
 gem 'omniauth', '~> 0.2.6'
 gem 'wkhtmltopdf-binary'
-gem 'wicked_pdf' #gem install wicked_pdf
+gem 'wicked_pdf'      #gem install wicked_pdf
 gem 'uuidtools'
 gem 'htmlentities'
 
 
 # Test Mode Gems
 group :test do
-   gem 'rspec', '2.10.0'
-   gem 'webrat', '0.7.1'
-   gem 'factory_girl_rails', '1.4.0'
-   gem 'ladle'
-   gem 'spork', '0.9.0'
-   gem 'guard-spork', '0.3.2'
+  gem 'rspec', '2.10.0'
+  gem 'capybara', '1.1.2'
+  gem 'factory_girl_rails', '1.4.0'
+  gem 'ladle'
+  gem 'spork', '0.9.0'
+  gem 'guard-spork', '0.3.2'
+  gem 'rb-fsevent', '0.4.3.1', require: false
 end
 
 

File Gemfile.lock

     archive-tar-minitar (0.5.2)
     arel (2.0.10)
     builder (2.1.2)
+    capybara (1.1.2)
+      mime-types (>= 1.16)
+      nokogiri (>= 1.3.3)
+      rack (>= 1.0.0)
+      rack-test (>= 0.5.4)
+      selenium-webdriver (~> 2.0)
+      xpath (~> 0.1.4)
+    childprocess (0.3.9)
+      ffi (~> 1.0, >= 1.0.11)
     coderay (1.0.9)
     columnize (0.3.6)
     diff-lcs (1.1.3)
       multipart-post (~> 1.1.0)
       rack (>= 1.1.0, < 2)
       rack (>= 1.1.0, < 2)
+    ffi (1.6.0)
     formatador (0.2.4)
     gravatar_image_tag (1.0.0.pre2)
     guard (1.7.0)
       rdoc (~> 3.4)
       thor (~> 0.14.4)
     rake (10.0.4)
+    rb-fsevent (0.4.3.1)
     rdoc (3.12.2)
       json (~> 1.4)
     recaptcha (0.3.5)
     ruby_core_source (0.1.5)
       archive-tar-minitar (>= 0.5.2)
     rubyntlm (0.1.1)
+    rubyzip (0.9.9)
+    selenium-webdriver (2.31.0)
+      childprocess (>= 0.2.5)
+      multi_json (~> 1.0)
+      rubyzip
+      websocket (~> 1.0.4)
     slop (3.4.4)
     spork (0.9.0)
     sqlite3 (1.3.3)
       polyglot (>= 0.3.1)
     tzinfo (0.3.37)
     uuidtools (2.1.3)
-    webrat (0.7.1)
-      nokogiri (>= 1.2.0)
-      rack (>= 1.0)
-      rack-test (>= 0.5.3)
+    websocket (1.0.7)
     wicked_pdf (0.9.4)
       rails
     will_paginate (3.0.pre2)
     wkhtmltopdf-binary (0.9.9.1)
+    xpath (0.1.4)
+      nokogiri (~> 1.3)
 
 PLATFORMS
   ruby
 
 DEPENDENCIES
   annotate (= 2.4.0)
+  capybara (= 1.1.2)
   factory_girl_rails (= 1.4.0)
   gravatar_image_tag (= 1.0.0.pre2)
   guard-spork (= 0.3.2)
   net-ldap
   omniauth (~> 0.2.6)
   rails (= 3.0.20)
+  rb-fsevent (= 0.4.3.1)
   recaptcha
   rspec (= 2.10.0)
   rspec-rails (= 2.10.0)
   spork (= 0.9.0)
   sqlite3 (= 1.3.3)
   uuidtools
-  webrat (= 0.7.1)
   wicked_pdf
   will_paginate (= 3.0.pre2)
   wkhtmltopdf-binary

File spec/factories.rb

   factory :user do
     first_name "Test"
     last_name "User"
-    nonPartnerInstition "CDL"
+    nonPartnerInstitution "CDL"
   end