Commit d225b1a

mo khan <mo@mokhan.ca>
2015-06-01 04:19:41
explicitly set id in profile_path.
1 parent dd7fed9
Changed files (1)
spec
support
spec/support/pages/profile_page.rb
@@ -2,6 +2,6 @@ require_relative "../page_model.rb"
 
 class ProfilePage < PageModel
   def initialize(user)
-    super profile_path(user)
+    super profile_path(id: user.to_param)
   end
 end