Commit d93e2bc1

mo khan <mo@mokhan.ca>
2014-08-25 03:17:06
fix broken spec.
1 parent 8f3e361
Changed files (1)
spec/features/add_to_favorites_spec.rb
@@ -12,7 +12,7 @@ describe "adding a cake to your favorites", :js => true do
     end
     click_button("Sign In")
     visit root_path
-    click_link(creation.name)
+    click_link(creation.name[0...12])
     click_button("ADD TO FAVORITES")
   end