Permalink
Browse files

Remove 'test' directory, we use RSpec.

  • Loading branch information...
1 parent 8c6497e commit 0cef7402c55d68f0ab51303d4ae28a10e88a1f8a @FooBarWidget FooBarWidget committed Feb 3, 2012
View
@@ -1,11 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/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,11 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/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,11 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/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,11 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/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
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class Admin::CommentsControllerTest < ActionController::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class Admin::DashboardControllerTest < ActionController::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class Admin::SitesControllerTest < ActionController::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class ApiControllerTest < ActionController::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- 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.to_param
- assert_response :success
- end
-
- test "should get edit" do
- get :edit, :id => @user.to_param
- assert_response :success
- end
-
- test "should update user" do
- put :update, :id => @user.to_param, :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.to_param
- end
-
- assert_redirected_to users_path
- end
-end
@@ -1,9 +0,0 @@
-require 'test_helper'
-require 'rails/performance_test_help'
-
-# Profiling results for each test method are written to tmp/performance.
-class BrowsingTest < ActionDispatch::PerformanceTest
- 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
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class CommentTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class Admin::CommentsHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class Admin::DashboardHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class Admin::SitesHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class ApiHelperTest < ActionView::TestCase
-end
@@ -1,4 +0,0 @@
-require 'test_helper'
-
-class UsersHelperTest < ActionView::TestCase
-end
View
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class SiteTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
View
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class TopicTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
View
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class UserTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end

0 comments on commit 0cef740

Please sign in to comment.