Permalink
Browse files

fixed typos

  • Loading branch information...
2 parents 26992fb + a863dbc commit 10e96dbd3f486c3a444451c8268cdeeb7063c3f6 @astraelly astraelly committed Apr 2, 2012
@@ -1,4 +1,4 @@
-class HallController < ApplicationController
+class HallsController < ApplicationController
def index
end
@@ -1,2 +0,0 @@
-module HallHelper
-end
@@ -0,0 +1,2 @@
+module HallsHelper
+end
@@ -0,0 +1,3 @@
+<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
+<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
+<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
@@ -0,0 +1 @@
+=render :partial => "jqmobile_scripts"
@@ -1,2 +1,3 @@
-%head= @script
+@script
+=render :partial => "jqmobile_scripts"
View
@@ -1,5 +1,6 @@
EnegeryManagement::Application.routes.draw do
- resources :hall, :only => [:index, :show]
+
+ resources :halls, :only => [:index, :show]
# The priority is based upon order of creation:
# first created -> highest priority.
@@ -1,6 +1,6 @@
require 'spec_helper'
-describe HallController do
+describe HallsController do
before :each do
@hall = Factory(:hall, { :name => 'Test Hall', :key => '12345678' })
@feature = Factory(:green_feature, { :name => 'Fluorescence', :content => 'This hall has fluorescent light bulbs' })
@@ -3,13 +3,13 @@
# Specs in this file have access to a helper object that includes
# the HallHelper. For example:
#
-# describe HallHelper do
+# describe HallsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
-describe HallHelper do
+describe HallsHelper do
pending "add some examples to (or delete) #{__FILE__}"
end

0 comments on commit 10e96db

Please sign in to comment.