start to switch to rails 3.2.2

This commit is contained in:
Wojciech Todryk 2012-03-03 18:53:39 +01:00
parent 244942a78f
commit 74c23fa0d1
253 changed files with 648 additions and 17155 deletions

0
test/fixtures/.gitkeep vendored Normal file
View file

View file

@ -1,15 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
nick: MyString
mail: MyString
fname: MyString
lname: MyString
info: MyString
two:
nick: MyString
mail: MyString
fname: MyString
lname: MyString
info: MyString

View file

@ -1,15 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
name: MyString
delim: MyString
attribs: MyString
messages: 1
new: 1
two:
name: MyString
delim: MyString
attribs: MyString
messages: 1
new: 1

View file

@ -1,15 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
user_id: 1
lgroup_id: 1
name: MyString
url: MyString
info: MyString
two:
user_id: 1
lgroup_id: 1
name: MyString
url: MyString
info: MyString

View file

@ -1,27 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
folder_id: 1
user_id: 1
msg_id: MyString
from: MyString
to: MyString
subject: MyString
content_type: MyString
uid: 1
size: 1
unread: false
date: 2011-07-27 15:43:52
two:
folder_id: 1
user_id: 1
msg_id: MyString
from: MyString
to: MyString
subject: MyString
content_type: MyString
uid: 1
size: 1
unread: false
date: 2011-07-27 15:43:52

View file

@ -1,9 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
theme: MyString
locale: MyString
two:
theme: MyString
locale: MyString

View file

@ -1,9 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
name: MyString
port: MyString
two:
name: MyString
port: MyString

View file

@ -1,11 +0,0 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
email: MyString
first_name: MyString
last_name: MyString
two:
email: MyString
first_name: MyString
last_name: MyString

0
test/functional/.gitkeep Normal file
View file

View file

@ -1,9 +0,0 @@
require 'test_helper'
class ContactsControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end

View file

@ -1,14 +0,0 @@
require 'test_helper'
class CoreControllerTest < ActionController::TestCase
test "should get login" do
get :login
assert_response :success
end
test "should get logout" do
get :logout
assert_response :success
end
end

View file

@ -1,19 +0,0 @@
require 'test_helper'
class FolderControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
test "should get create" do
get :create
assert_response :success
end
test "should get delete" do
get :delete
assert_response :success
end
end

View file

@ -1,9 +0,0 @@
require 'test_helper'
class InternalControllerTest < ActionController::TestCase
test "should get error" do
get :error
assert_response :success
end
end

View file

@ -1,9 +0,0 @@
require 'test_helper'
class MessagesControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class MessagesOpsControllerTest < ActionController::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,9 +0,0 @@
require 'test_helper'
class PrefsControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end

View file

5
test/performance/browsing_test.rb Executable file → Normal file
View file

@ -1,8 +1,11 @@
require 'test_helper'
require 'rails/performance_test_help'
# Profiling results for each test method are written to tmp/performance.
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

0
test/test_helper.rb Executable file → Normal file
View file

0
test/unit/.gitkeep Normal file
View file

View file

@ -1,8 +0,0 @@
require 'test_helper'
class ContactTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class EventTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class FolderTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class ContactsHelperTest < ActionView::TestCase
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class CoreHelperTest < ActionView::TestCase
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class FolderHelperTest < ActionView::TestCase
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class InternalHelperTest < ActionView::TestCase
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class MessagesHelperTest < ActionView::TestCase
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class MessagesOpsHelperTest < ActionView::TestCase
end

View file

@ -1,4 +0,0 @@
require 'test_helper'
class PrefsHelperTest < ActionView::TestCase
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class LinkTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class MessageTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class PrefsTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -1,8 +0,0 @@
require 'test_helper'
class ServerTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end

View file

@ -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