Commit 228b5bc3

mo k <mo@mokhan.ca>
2012-08-14 22:19:33
fix profiles routing spec.
1 parent 8a873d7
Changed files (2)
spec/routing/profiles_routing_spec.rb
@@ -2,10 +2,10 @@ require 'spec_helper'
 describe ProfilesController do
   describe "routing" do
     it "routes to index" do
-      get('/profiles/').should route_to("profiles#index", :method => "GET")
+      get('/profiles/').should route_to("profiles#index")
     end
     it "routes to #show" do
-      get("/profiles/1").should route_to("profiles#show", :id => "1", :method => 'GET')
+      get("/profiles/1").should route_to("profiles#show", :id => "1")
     end
     it "routes to my profile" do
       get("mine").should route_to("profiles#mine", :method => 'GET')
Gemfile.lock
@@ -1,15 +1,15 @@
 GEM
   remote: http://rubygems.org/
   specs:
-    actionmailer (3.2.6)
-      actionpack (= 3.2.6)
+    actionmailer (3.2.8)
+      actionpack (= 3.2.8)
       mail (~> 2.4.4)
-    actionpack (3.2.6)
-      activemodel (= 3.2.6)
-      activesupport (= 3.2.6)
+    actionpack (3.2.8)
+      activemodel (= 3.2.8)
+      activesupport (= 3.2.8)
       builder (~> 3.0.0)
       erubis (~> 2.7.0)
-      journey (~> 1.0.1)
+      journey (~> 1.0.4)
       rack (~> 1.4.0)
       rack-cache (~> 1.2)
       rack-test (~> 0.6.1)
@@ -25,25 +25,25 @@ GEM
       meta_search (>= 0.9.2)
       rails (>= 3.0.0)
       sass (>= 3.1.0)
-    activemodel (3.2.6)
-      activesupport (= 3.2.6)
+    activemodel (3.2.8)
+      activesupport (= 3.2.8)
       builder (~> 3.0.0)
-    activerecord (3.2.6)
-      activemodel (= 3.2.6)
-      activesupport (= 3.2.6)
+    activerecord (3.2.8)
+      activemodel (= 3.2.8)
+      activesupport (= 3.2.8)
       arel (~> 3.0.2)
       tzinfo (~> 0.3.29)
-    activeresource (3.2.6)
-      activemodel (= 3.2.6)
-      activesupport (= 3.2.6)
-    activesupport (3.2.6)
+    activeresource (3.2.8)
+      activemodel (= 3.2.8)
+      activesupport (= 3.2.8)
+    activesupport (3.2.8)
       i18n (~> 0.6)
       multi_json (~> 1.0)
     acts_as_commentable_with_threading (1.1.2)
       activerecord (>= 3.0)
       activesupport (~> 3.0)
       awesome_nested_set (>= 2.0)
-    addressable (2.3.1)
+    addressable (2.3.2)
     arel (3.0.2)
     awesome_nested_set (2.1.3)
       activerecord (>= 3.0.0)
@@ -73,7 +73,7 @@ GEM
     carrierwave (0.6.2)
       activemodel (>= 3.2.0)
       activesupport (>= 3.2.0)
-    childprocess (0.3.4)
+    childprocess (0.3.5)
       ffi (~> 1.0, >= 1.0.6)
     coffee-rails (3.2.2)
       coffee-script (>= 2.2.0)
@@ -96,13 +96,13 @@ GEM
     eventmachine (0.12.10)
     exception_notification (2.6.1)
       actionmailer (>= 3.0.4)
-    excon (0.14.3)
+    excon (0.15.5)
     execjs (1.4.0)
       multi_json (~> 1.0)
-    factory_girl (3.5.0)
+    factory_girl (4.0.0)
       activesupport (>= 3.0.0)
-    factory_girl_rails (3.5.0)
-      factory_girl (~> 3.5.0)
+    factory_girl_rails (4.0.0)
+      factory_girl (~> 4.0.0)
       railties (>= 3.0.0)
     fakes (1.0.2)
       developwithpassion_arrays
@@ -110,10 +110,10 @@ GEM
       fakes
       rspec
     fastercsv (1.5.5)
-    ffi (1.1.0)
-    fog (1.4.0)
+    ffi (1.1.5)
+    fog (1.5.0)
       builder
-      excon (~> 0.14.0)
+      excon (~> 0.14)
       formatador (~> 0.2.0)
       mime-types
       multi_json (~> 1.0)
@@ -124,14 +124,14 @@ GEM
     formatador (0.2.3)
     formtastic (2.1.1)
       actionpack (~> 3.0)
-    guard (1.2.3)
+    guard (1.3.0)
       listen (>= 0.4.2)
       thor (>= 0.14.6)
     guard-livereload (1.0.0)
       em-websocket (>= 0.2.0)
       guard (>= 1.1.0)
       multi_json (~> 1.0)
-    guard-rspec (1.2.0)
+    guard-rspec (1.2.1)
       guard (>= 1.1)
     guard-spork (1.1.0)
       guard (>= 1.1)
@@ -158,7 +158,7 @@ GEM
       actionpack (>= 3.0.0)
       activesupport (>= 3.0.0)
       railties (>= 3.0.0)
-    libwebsocket (0.1.4)
+    libwebsocket (0.1.5)
       addressable
     listen (0.4.7)
       rb-fchange (~> 0.0.5)
@@ -182,7 +182,7 @@ GEM
     net-ssh (2.5.2)
     net-ssh-gateway (1.1.0)
       net-ssh (>= 1.99.1)
-    newrelic_rpm (3.4.0.1)
+    newrelic_rpm (3.4.1)
     nokogiri (1.5.5)
     orm_adapter (0.4.0)
     pg (0.14.0)
@@ -196,17 +196,17 @@ GEM
       rack
     rack-test (0.6.1)
       rack (>= 1.0)
-    rails (3.2.6)
-      actionmailer (= 3.2.6)
-      actionpack (= 3.2.6)
-      activerecord (= 3.2.6)
-      activeresource (= 3.2.6)
-      activesupport (= 3.2.6)
+    rails (3.2.8)
+      actionmailer (= 3.2.8)
+      actionpack (= 3.2.8)
+      activerecord (= 3.2.8)
+      activeresource (= 3.2.8)
+      activesupport (= 3.2.8)
       bundler (~> 1.0)
-      railties (= 3.2.6)
-    railties (3.2.6)
-      actionpack (= 3.2.6)
-      activesupport (= 3.2.6)
+      railties (= 3.2.8)
+    railties (3.2.8)
+      actionpack (= 3.2.8)
+      activesupport (= 3.2.8)
       rack-ssl (~> 1.3.2)
       rake (>= 0.8.7)
       rdoc (~> 3.4)
@@ -264,7 +264,7 @@ GEM
       polyglot
       polyglot (>= 0.3.1)
     tzinfo (0.3.33)
-    uglifier (1.2.6)
+    uglifier (1.2.7)
       execjs (>= 0.3.0)
       multi_json (~> 1.3)
     warden (1.2.1)