Commit 50c62525

mo k <mo@mokhan.ca>
2012-08-01 02:26:30
add routing specs for home controller.
1 parent a949bdd
Changed files (1)
spec/routing/home_routing_spec.rb
@@ -0,0 +1,12 @@
+require 'spec_helper'
+
+describe HomeController do
+  describe "routing" do
+    it "routes to about us" do
+      get('about_us').should route_to("home#about_us")
+    end
+    it "routes to why" do
+      get('why_cakeside').should route_to("home#why_cakeside")
+    end
+  end
+end