Permalink
Browse files

cleanup test folder

  • Loading branch information...
geraldb committed Mar 9, 2012
1 parent 07df468 commit b03cc6025ed0672f567bc6ed6f9f45c5d67b0dc6
View
@@ -0,0 +1,27 @@
+
+
+## Tips for Heroku
+
+Upload via
+
+ git push heroku master
+
+Create DB on first upload via
+
+ heroku run rake db:migrate db:seed
+
+Drop and recreate DB on later uploads via
+
+ heroku pg:reset SHARED_DATABASE --confirm wettpool
+ heroku run rake db:migrate db:seed
+ heroku restart
+
+Debugging. Get latest logs via
+
+ heroku logs
+
+
+## License
+
+The wettpool scripts and templates are dedicated to the public domain.
+Use it as you please with no restrictions whatsoever.
View
@@ -1,20 +0,0 @@
-# == Schema Information
-#
-# Table name: pools
-#
-# id :integer not null, primary key
-# event_id :integer not null
-# title :string(255) not null
-# user_id :integer not null
-# welcome :text
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
-
-one:
- title: MyString
-
-two:
- title: MyString
View
@@ -1,25 +0,0 @@
-# == Schema Information
-#
-# Table name: tips
-#
-# id :integer not null, primary key
-# user_id :integer not null
-# pool_id :integer not null
-# game_id :integer not null
-# score1 :integer
-# score2 :integer
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
-
-# This model initially had no columns defined. If you add columns to the
-# model remove the '{}' from the fixture names and add the columns immediately
-# below each fixture, per the syntax in the comments below
-#
-one: {}
-# column: value
-#
-two: {}
-# column: value
View
@@ -1,19 +0,0 @@
-# == Schema Information
-#
-# Table name: users
-#
-# id :integer not null, primary key
-# name :string(255) not null
-# email :string(255)
-# password :string(255)
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
-
-one:
- name: MyString
-
-two:
- name: MyString
@@ -1,19 +0,0 @@
-require 'test_helper'
-
-class PlayersControllerTest < ActionController::TestCase
- test "should get index" do
- get :index
- assert_response :success
- end
-
- test "should get show" do
- get :show
- assert_response :success
- end
-
- test "should get edit" do
- get :edit
- assert_response :success
- end
-
-end
@@ -1,49 +0,0 @@
-require 'test_helper'
-
-class PoolsControllerTest < ActionController::TestCase
- setup do
- @pool = pools(:one)
- end
-
- test "should get index" do
- get :index
- assert_response :success
- assert_not_nil assigns(:pools)
- end
-
- test "should get new" do
- get :new
- assert_response :success
- end
-
- test "should create pool" do
- assert_difference('Pool.count') do
- post :create, pool: @pool.attributes
- end
-
- assert_redirected_to pool_path(assigns(:pool))
- end
-
- test "should show pool" do
- get :show, id: @pool
- assert_response :success
- end
-
- test "should get edit" do
- get :edit, id: @pool
- assert_response :success
- end
-
- test "should update pool" do
- put :update, id: @pool, pool: @pool.attributes
- assert_redirected_to pool_path(assigns(:pool))
- end
-
- test "should destroy pool" do
- assert_difference('Pool.count', -1) do
- delete :destroy, id: @pool
- end
-
- assert_redirected_to pools_path
- end
-end
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class SessionControllerTest < ActionController::TestCase
- test "should get new" do
- get :new
- assert_response :success
- end
-
-end
@@ -1,9 +0,0 @@
-require 'test_helper'
-
-class SessionsControllerTest < ActionController::TestCase
- test "should get new" do
- get :new
- assert_response :success
- end
-
-end
@@ -1,49 +0,0 @@
-require 'test_helper'
-
-class UsersControllerTest < ActionController::TestCase
- setup do
- @user = users(:one)
- end
-
- test "should get index" do
- get :index
- assert_response :success
- assert_not_nil assigns(:users)
- end
-
- test "should get new" do
- get :new
- assert_response :success
- end
-
- test "should create user" do
- assert_difference('User.count') do
- post :create, user: @user.attributes
- end
-
- assert_redirected_to user_path(assigns(:user))
- end
-
- test "should show user" do
- get :show, id: @user
- assert_response :success
- end
-
- test "should get edit" do
- get :edit, id: @user
- assert_response :success
- end
-
- test "should update user" do
- put :update, id: @user, user: @user.attributes
- assert_redirected_to user_path(assigns(:user))
- end
-
- test "should destroy user" do
- assert_difference('User.count', -1) do
- delete :destroy, id: @user
- end
-
- assert_redirected_to users_path
- end
-end
@@ -1,12 +0,0 @@
-require 'test_helper'
-require 'rails/performance_test_help'
-
-class BrowsingTest < ActionDispatch::PerformanceTest
- # Refer to the documentation for all available options
- # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
- # :output => 'tmp/performance', :formats => [:flat] }
-
- def test_homepage
- get '/'
- end
-end
View
@@ -1,13 +0,0 @@
-ENV["RAILS_ENV"] = "test"
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
- #
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
- # -- they do not yet inherit this setting
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end
File renamed without changes.
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class PlayersHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class PoolsHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class SessionHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class SessionsHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class UsersHelperTest < ActionView::TestCase
-end
View
@@ -1,20 +0,0 @@
-# == Schema Information
-#
-# Table name: pools
-#
-# id :integer not null, primary key
-# event_id :integer not null
-# title :string(255) not null
-# user_id :integer not null
-# welcome :text
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
-require 'test_helper'
-
-class PoolTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
View
@@ -1,21 +0,0 @@
-# == Schema Information
-#
-# Table name: tips
-#
-# id :integer not null, primary key
-# user_id :integer not null
-# pool_id :integer not null
-# game_id :integer not null
-# score1 :integer
-# score2 :integer
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
-require 'test_helper'
-
-class TipTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end
View
@@ -1,19 +0,0 @@
-# == Schema Information
-#
-# Table name: users
-#
-# id :integer not null, primary key
-# name :string(255) not null
-# email :string(255)
-# password :string(255)
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # test "the truth" do
- # assert true
- # end
-end

0 comments on commit b03cc60

Please sign in to comment.