Permalink
Browse files

add logins controller

  • Loading branch information...
1 parent 1b7fbd4 commit 7b13bb4b32abed43099368f87876d05f9787f81b @timriley committed Jun 23, 2008
View
2 app/controllers/logins_controller.rb
@@ -0,0 +1,2 @@
+class LoginsController < ApplicationController
+end
View
2 app/helpers/logins_helper.rb
@@ -0,0 +1,2 @@
+module LoginsHelper
+end
View
18 db/schema.rb
@@ -1,5 +1,5 @@
# This file is auto-generated from the current state of the database. Instead of editing this file,
-# please use the migrations feature of ActiveRecord to incrementally modify your database, and
+# please use the migrations feature of Active Record to incrementally modify your database, and
# then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
@@ -21,31 +21,31 @@
create_table "bj_job", :primary_key => "bj_job_id", :force => true do |t|
t.text "command"
t.text "state"
- t.integer "priority"
+ t.integer "priority", :limit => 11
t.text "tag"
- t.integer "is_restartable"
+ t.integer "is_restartable", :limit => 11
t.text "submitter"
t.text "runner"
- t.integer "pid"
+ t.integer "pid", :limit => 11
t.datetime "submitted_at"
t.datetime "started_at"
t.datetime "finished_at"
t.text "env"
t.text "stdin"
t.text "stdout"
t.text "stderr"
- t.integer "exit_status"
+ t.integer "exit_status", :limit => 11
end
create_table "bj_job_archive", :primary_key => "bj_job_archive_id", :force => true do |t|
t.text "command"
t.text "state"
- t.integer "priority"
+ t.integer "priority", :limit => 11
t.text "tag"
- t.integer "is_restartable"
+ t.integer "is_restartable", :limit => 11
t.text "submitter"
t.text "runner"
- t.integer "pid"
+ t.integer "pid", :limit => 11
t.datetime "submitted_at"
t.datetime "started_at"
t.datetime "finished_at"
@@ -54,7 +54,7 @@
t.text "stdin"
t.text "stdout"
t.text "stderr"
- t.integer "exit_status"
+ t.integer "exit_status", :limit => 11
end
create_table "photos", :force => true do |t|
View
10 spec/controllers/logins_controller_spec.rb
@@ -0,0 +1,10 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe LoginsController do
+
+ #Delete this example and add some real ones
+ it "should use LoginsController" do
+ controller.should be_an_instance_of(LoginsController)
+ end
+
+end
View
11 spec/helpers/logins_helper_spec.rb
@@ -0,0 +1,11 @@
+require File.dirname(__FILE__) + '/../spec_helper'
+
+describe LoginsHelper do
+
+ #Delete this example and add some real ones or delete this file
+ it "should include the LoginsHelper" do
+ included_modules = self.metaclass.send :included_modules
+ included_modules.should include(LoginsHelper)
+ end
+
+end

0 comments on commit 7b13bb4

Please sign in to comment.