parent
3db80fc3fc
commit
a31088cc1b
@ -1,249 +1,136 @@
|
||||
source 'https://rubygems.org'
|
||||
source 'http://ruby.taobao.org'
|
||||
#source 'http://ruby.sdutlinux.org/'
|
||||
|
||||
unless RUBY_PLATFORM =~ /w32/
|
||||
5
|
||||
# unix-like only
|
||||
6
|
||||
gem 'iconv'
|
||||
7
|
||||
gem 'rubyzip'
|
||||
8
|
||||
gem 'zip-zip'
|
||||
9
|
||||
end
|
||||
10
|
||||
11
|
||||
|
||||
gem 'seems_rateable', path: 'lib/seems_rateable'
|
||||
12
|
||||
gem "rails", "3.2.13"
|
||||
13
|
||||
gem "jquery-rails", "~> 2.0.2"
|
||||
14
|
||||
gem "i18n", "~> 0.6.0"
|
||||
15
|
||||
gem "coderay", "~> 1.0.6"
|
||||
16
|
||||
gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby]
|
||||
17
|
||||
gem "builder", "3.0.0"
|
||||
18
|
||||
gem 'acts-as-taggable-on', '2.4.1'
|
||||
19
|
||||
gem 'spreadsheet'
|
||||
20
|
||||
gem 'ruby-ole'
|
||||
21
|
||||
22
|
||||
|
||||
group :development do
|
||||
23
|
||||
gem 'better_errors', path: 'lib/better_errors'
|
||||
24
|
||||
gem 'rack-mini-profiler', path: 'lib/rack-mini-profiler'
|
||||
25
|
||||
end
|
||||
26
|
||||
27
|
||||
|
||||
group :test do
|
||||
28
|
||||
gem "shoulda", "~> 3.5.0"
|
||||
29
|
||||
gem "mocha", "~> 1.1.0"
|
||||
30
|
||||
gem 'capybara', '~> 2.4.1'
|
||||
31
|
||||
gem 'nokogiri', '~> 1.6.3'
|
||||
32
|
||||
gem 'factory_girl', '~> 4.4.0'
|
||||
33
|
||||
gem 'selenium-webdriver', '~> 2.42.0'
|
||||
34
|
||||
35
|
||||
36
|
||||
|
||||
|
||||
platforms :mri, :mingw do
|
||||
37
|
||||
group :rmagick do
|
||||
38
|
||||
# RMagick 2 supports ruby 1.9
|
||||
39
|
||||
# RMagick 1 would be fine for ruby 1.8 but Bundler does not support
|
||||
40
|
||||
# different requirements for the same gem on different platforms
|
||||
41
|
||||
gem "rmagick", ">= 2.0.0"
|
||||
42
|
||||
end
|
||||
43
|
||||
end
|
||||
44
|
||||
end
|
||||
45
|
||||
46
|
||||
|
||||
group :development, :test do
|
||||
47
|
||||
gem "guard-rails", '~> 0.5.3'
|
||||
48
|
||||
gem 'spork-testunit', '~> 0.0.8'
|
||||
49
|
||||
gem 'guard-spork', '~> 1.5.1'
|
||||
50
|
||||
gem 'guard-test', '~> 1.0.0'
|
||||
51
|
||||
gem 'ruby-prof', '~> 0.15.1' unless RUBY_PLATFORM =~ /w32/
|
||||
52
|
||||
gem 'pry'
|
||||
53
|
||||
gem 'pry-nav'
|
||||
54
|
||||
55
|
||||
|
||||
end
|
||||
56
|
||||
57
|
||||
58
|
||||
|
||||
|
||||
# Gems used only for assets and not required
|
||||
59
|
||||
# in production environments by default.
|
||||
60
|
||||
group :assets do
|
||||
61
|
||||
gem 'sass-rails', '~> 3.2.3'
|
||||
62
|
||||
gem 'coffee-rails', '~> 3.2.1'
|
||||
63
|
||||
64
|
||||
|
||||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
||||
65
|
||||
gem 'therubyracer', :platforms => :ruby
|
||||
66
|
||||
67
|
||||
|
||||
gem 'uglifier', '>= 1.0.3'
|
||||
68
|
||||
end
|
||||
69
|
||||
70
|
||||
|
||||
# Optional gem for LDAP authentication
|
||||
71
|
||||
group :ldap do
|
||||
72
|
||||
gem "net-ldap", "~> 0.3.1"
|
||||
73
|
||||
end
|
||||
74
|
||||
75
|
||||
76
|
||||
|
||||
|
||||
# Optional gem for OpenID authentication
|
||||
77
|
||||
group :openid do
|
||||
78
|
||||
gem "ruby-openid", "~> 2.1.4", :require => "openid"
|
||||
79
|
||||
gem "rack-openid"
|
||||
80
|
||||
end
|
||||
81
|
||||
82
|
||||
|
||||
# Optional gem for exporting the gantt to a PNG file, not supported with jruby
|
||||
83
|
||||
platforms :jruby do
|
||||
84
|
||||
# jruby-openssl is bundled with JRuby 1.7.0
|
||||
85
|
||||
gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
|
||||
86
|
||||
gem "activerecord-jdbc-adapter", "1.2.5"
|
||||
87
|
||||
end
|
||||
88
|
||||
89
|
||||
|
||||
# Include database gems for the adapters found in the database
|
||||
90
|
||||
# configuration file
|
||||
91
|
||||
require 'erb'
|
||||
92
|
||||
require 'yaml'
|
||||
93
|
||||
database_file = File.join(File.dirname(__FILE__), "config/database.yml")
|
||||
94
|
||||
if File.exist?(database_file)
|
||||
95
|
||||
database_config = YAML::load(ERB.new(IO.read(database_file)).result)
|
||||
96
|
||||
adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
|
||||
97
|
||||
if adapters.any?
|
||||
98
|
||||
adapters.each do |adapter|
|
||||
99
|
||||
case adapter
|
||||
100
|
||||
when 'mysql2'
|
||||
101
|
||||
gem "mysql2", "= 0.3.11", :platforms => [:mri, :mingw]
|
||||
102
|
||||
gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
|
||||
103
|
||||
when 'mysql'
|
||||
104
|
||||
gem "mysql", "~> 2.8.1", :platforms => [:mri, :mingw]
|
||||
105
|
||||
gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
|
||||
106
|
||||
when /postgresql/
|
||||
107
|
||||
gem "pg", ">= 0.11.0", :platforms => [:mri, :mingw]
|
||||
108
|
||||
gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
|
||||
109
|
||||
when /sqlite3/
|
||||
110
|
||||
gem "sqlite3", :platforms => [:mri, :mingw]
|
||||
111
|
||||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
|
||||
112
|
||||
when /sqlserver/
|
||||
113
|
||||
gem "tiny_tds", "~> 0.5.1", :platforms => [:mri, :mingw]
|
||||
114
|
||||
gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw]
|
||||
115
|
||||
else
|
||||
116
|
||||
warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
|
||||
117
|
||||
end
|
||||
118
|
||||
end
|
||||
119
|
||||
else
|
||||
120
|
||||
warn("No adapter found in config/database.yml, please configure it first")
|
||||
121
|
||||
end
|
||||
122
|
||||
else
|
||||
123
|
||||
warn("Please configure your config/database.yml first")
|
||||
124
|
||||
end
|
||||
125
|
||||
126
|
||||
|
||||
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
|
||||
127
|
||||
if File.exists?(local_gemfile)
|
||||
128
|
||||
puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||
129
|
||||
instance_eval File.read(local_gemfile)
|
||||
130
|
||||
end
|
||||
131
|
||||
132
|
||||
|
||||
# Load plugins' Gemfiles
|
||||
133
|
||||
Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
|
||||
134
|
||||
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||
135
|
||||
instance_eval File.read(file)
|
||||
136
|
||||
end
|
||||
end
|
||||
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AppliedProjectControllerTest < ActionController::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,49 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ApplyProjectMastersControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@apply_project_master = apply_project_masters(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:apply_project_masters)
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get :new
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should create apply_project_master" do
|
||||
assert_difference('ApplyProjectMaster.count') do
|
||||
post :create, apply_project_master: { }
|
||||
end
|
||||
|
||||
assert_redirected_to apply_project_master_path(assigns(:apply_project_master))
|
||||
end
|
||||
|
||||
test "should show apply_project_master" do
|
||||
get :show, id: @apply_project_master
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get :edit, id: @apply_project_master
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should update apply_project_master" do
|
||||
put :update, id: @apply_project_master, apply_project_master: { }
|
||||
assert_redirected_to apply_project_master_path(assigns(:apply_project_master))
|
||||
end
|
||||
|
||||
test "should destroy apply_project_master" do
|
||||
assert_difference('ApplyProjectMaster.count', -1) do
|
||||
delete :destroy, id: @apply_project_master
|
||||
end
|
||||
|
||||
assert_redirected_to apply_project_masters_path
|
||||
end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AttachmentTypeEditControllerTest < ActionController::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,49 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ContestnotificationsControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@contestnotification = contestnotifications(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:contestnotifications)
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get :new
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should create contestnotification" do
|
||||
assert_difference('Contestnotification.count') do
|
||||
post :create, contestnotification: { author_id: @contestnotification.author_id, comments_count: @contestnotification.comments_count, contest_id: @contestnotification.contest_id, description: @contestnotification.description, summary: @contestnotification.summary, title: @contestnotification.title }
|
||||
end
|
||||
|
||||
assert_redirected_to contestnotification_path(assigns(:contestnotification))
|
||||
end
|
||||
|
||||
test "should show contestnotification" do
|
||||
get :show, id: @contestnotification
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get :edit, id: @contestnotification
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should update contestnotification" do
|
||||
put :update, id: @contestnotification, contestnotification: { author_id: @contestnotification.author_id, comments_count: @contestnotification.comments_count, contest_id: @contestnotification.contest_id, description: @contestnotification.description, summary: @contestnotification.summary, title: @contestnotification.title }
|
||||
assert_redirected_to contestnotification_path(assigns(:contestnotification))
|
||||
end
|
||||
|
||||
test "should destroy contestnotification" do
|
||||
assert_difference('Contestnotification.count', -1) do
|
||||
delete :destroy, id: @contestnotification
|
||||
end
|
||||
|
||||
assert_redirected_to contestnotifications_path
|
||||
end
|
||||
end
|
@ -0,0 +1,49 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ForumsControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@forum = forums(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:forums)
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get :new
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should create forum" do
|
||||
assert_difference('Forum.count') do
|
||||
post :create, forum: { }
|
||||
end
|
||||
|
||||
assert_redirected_to forum_path(assigns(:forum))
|
||||
end
|
||||
|
||||
test "should show forum" do
|
||||
get :show, id: @forum
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get :edit, id: @forum
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should update forum" do
|
||||
put :update, id: @forum, forum: { }
|
||||
assert_redirected_to forum_path(assigns(:forum))
|
||||
end
|
||||
|
||||
test "should destroy forum" do
|
||||
assert_difference('Forum.count', -1) do
|
||||
delete :destroy, id: @forum
|
||||
end
|
||||
|
||||
assert_redirected_to forums_path
|
||||
end
|
||||
end
|
@ -0,0 +1,11 @@
|
||||
require 'test_helper'
|
||||
|
||||
class MemosControllerTest < ActionController::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
def test_memo_create_fail
|
||||
memo = Memo.create(:subject => nil)
|
||||
assert true
|
||||
end
|
||||
end
|
@ -0,0 +1,49 @@
|
||||
require 'test_helper'
|
||||
|
||||
class NoUsesControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@no_use = no_uses(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:no_uses)
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get :new
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should create no_use" do
|
||||
assert_difference('NoUse.count') do
|
||||
post :create, no_use: { }
|
||||
end
|
||||
|
||||
assert_redirected_to no_use_path(assigns(:no_use))
|
||||
end
|
||||
|
||||
test "should show no_use" do
|
||||
get :show, id: @no_use
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get :edit, id: @no_use
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should update no_use" do
|
||||
put :update, id: @no_use, no_use: { }
|
||||
assert_redirected_to no_use_path(assigns(:no_use))
|
||||
end
|
||||
|
||||
test "should destroy no_use" do
|
||||
assert_difference('NoUse.count', -1) do
|
||||
delete :destroy, id: @no_use
|
||||
end
|
||||
|
||||
assert_redirected_to no_uses_path
|
||||
end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class NotificationcommentsControllerTest < ActionController::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,49 @@
|
||||
require 'test_helper'
|
||||
|
||||
class OpenSourceProjectsControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@open_source_project = open_source_projects(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:open_source_projects)
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get :new
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should create open_source_project" do
|
||||
assert_difference('OpenSourceProject.count') do
|
||||
post :create, open_source_project: { String: @open_source_project.String }
|
||||
end
|
||||
|
||||
assert_redirected_to open_source_project_path(assigns(:open_source_project))
|
||||
end
|
||||
|
||||
test "should show open_source_project" do
|
||||
get :show, id: @open_source_project
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get :edit, id: @open_source_project
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should update open_source_project" do
|
||||
put :update, id: @open_source_project, open_source_project: { String: @open_source_project.String }
|
||||
assert_redirected_to open_source_project_path(assigns(:open_source_project))
|
||||
end
|
||||
|
||||
test "should destroy open_source_project" do
|
||||
assert_difference('OpenSourceProject.count', -1) do
|
||||
delete :destroy, id: @open_source_project
|
||||
end
|
||||
|
||||
assert_redirected_to open_source_projects_path
|
||||
end
|
||||
end
|
@ -0,0 +1,49 @@
|
||||
require 'test_helper'
|
||||
|
||||
class SoftapplicationsControllerTest < ActionController::TestCase
|
||||
setup do
|
||||
@softapplication = softapplications(:one)
|
||||
end
|
||||
|
||||
test "should get index" do
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_not_nil assigns(:softapplications)
|
||||
end
|
||||
|
||||
test "should get new" do
|
||||
get :new
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should create softapplication" do
|
||||
assert_difference('Softapplication.count') do
|
||||
post :create, softapplication: { android_min_version_available: @softapplication.android_min_version_available, app_type_id: @softapplication.app_type_id, app_type_name: @softapplication.app_type_name, description: @softapplication.description, name: @softapplication.name, user_id: @softapplication.user_id }
|
||||
end
|
||||
|
||||
assert_redirected_to softapplication_path(assigns(:softapplication))
|
||||
end
|
||||
|
||||
test "should show softapplication" do
|
||||
get :show, id: @softapplication
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should get edit" do
|
||||
get :edit, id: @softapplication
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
test "should update softapplication" do
|
||||
put :update, id: @softapplication, softapplication: { android_min_version_available: @softapplication.android_min_version_available, app_type_id: @softapplication.app_type_id, app_type_name: @softapplication.app_type_name, description: @softapplication.description, name: @softapplication.name, user_id: @softapplication.user_id }
|
||||
assert_redirected_to softapplication_path(assigns(:softapplication))
|
||||
end
|
||||
|
||||
test "should destroy softapplication" do
|
||||
assert_difference('Softapplication.count', -1) do
|
||||
delete :destroy, id: @softapplication
|
||||
end
|
||||
|
||||
assert_redirected_to softapplications_path
|
||||
end
|
||||
end
|
@ -0,0 +1,13 @@
|
||||
require 'test_helper'
|
||||
|
||||
class TestControllerTest < ActionController::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
test "get test index error" do
|
||||
@request.env["REQUEST_URI"] = ""
|
||||
get :index
|
||||
assert_template :index
|
||||
# assert_template layout: "layouts/base", partial: ["layouts/base_header","_base_header", 'layouts/base_footer', "_base_footer",]
|
||||
end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AttachmentstypeTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ContestingSoftapplicationTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ContestnotificationTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class CourseInfosTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class CourseStatusTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ForumTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AppliedProjectHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ApplyProjectMastersHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class AttachmentTypeEditHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ContestnotificationsHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,12 @@
|
||||
require File.expand_path('../../../test_helper', __FILE__)
|
||||
|
||||
class CoursesHelperTest < ActionView::TestCase
|
||||
include CoursesHelper
|
||||
# test "test truth" do
|
||||
# @project = Project.find_by_id 6834
|
||||
# teacherNum = teacherCount @project
|
||||
# studentNum = studentCount @project
|
||||
# assert_equal 1, teacherNum
|
||||
# assert_equal 5, studentNum
|
||||
# end
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ForumsHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class MemosHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class NoUsesHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class NotificationcommentsHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class OpenSourceProjectsHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class SchoolHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class SoftapplicationsHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class StoresHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class TestHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,4 @@
|
||||
require 'test_helper'
|
||||
|
||||
class ZipdownHelperTest < ActionView::TestCase
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class JoinInContestTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class JournalReplyTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,17 @@
|
||||
# encoding: utf-8
|
||||
require 'test_helper'
|
||||
|
||||
class MemoTest < ActiveSupport::TestCase
|
||||
test "the truth" do
|
||||
assert true
|
||||
end
|
||||
|
||||
def test_the_truth
|
||||
assert true
|
||||
end
|
||||
|
||||
test "should not save memo without content" do
|
||||
memo = Memo.new
|
||||
assert !memo.save, "assert, save memo without content."
|
||||
end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class NoUseTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class NotificationcommentsTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class OpenSourceProjectTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class RelativeMemoTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class SchoolTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class SoftapplicationTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
@ -0,0 +1,7 @@
|
||||
require 'test_helper'
|
||||
|
||||
class UserScoreDetailsTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
Loading…
Reference in new issue