start to switch to rails 3.2.2
This commit is contained in:
parent
244942a78f
commit
74c23fa0d1
253 changed files with 648 additions and 17155 deletions
0
test/fixtures/.gitkeep
vendored
Normal file
0
test/fixtures/.gitkeep
vendored
Normal file
15
test/fixtures/contacts.yml
vendored
15
test/fixtures/contacts.yml
vendored
|
@ -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
|
15
test/fixtures/folders.yml
vendored
15
test/fixtures/folders.yml
vendored
|
@ -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
|
15
test/fixtures/links.yml
vendored
15
test/fixtures/links.yml
vendored
|
@ -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
|
27
test/fixtures/messages.yml
vendored
27
test/fixtures/messages.yml
vendored
|
@ -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
|
9
test/fixtures/prefs.yml
vendored
9
test/fixtures/prefs.yml
vendored
|
@ -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
|
9
test/fixtures/servers.yml
vendored
9
test/fixtures/servers.yml
vendored
|
@ -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
|
11
test/fixtures/users.yml
vendored
11
test/fixtures/users.yml
vendored
|
@ -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
0
test/functional/.gitkeep
Normal file
|
@ -1,9 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class ContactsControllerTest < ActionController::TestCase
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
|
@ -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
|
|
@ -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
|
|
@ -1,9 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class InternalControllerTest < ActionController::TestCase
|
||||
test "should get error" do
|
||||
get :error
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
|
@ -1,9 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class MessagesControllerTest < ActionController::TestCase
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
|
@ -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
|
|
@ -1,9 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class PrefsControllerTest < ActionController::TestCase
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
end
|
0
test/integration/.gitkeep
Normal file
0
test/integration/.gitkeep
Normal file
5
test/performance/browsing_test.rb
Executable file → Normal file
5
test/performance/browsing_test.rb
Executable file → Normal 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
0
test/test_helper.rb
Executable file → Normal file
0
test/unit/.gitkeep
Normal file
0
test/unit/.gitkeep
Normal 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
|
|
@ -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
|
|
@ -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
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class ContactsHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class CoreHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class FolderHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class InternalHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class MessagesHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class MessagesOpsHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
require 'test_helper'
|
||||
|
||||
class PrefsHelperTest < ActionView::TestCase
|
||||
end
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue