Permalink
Browse files

deleting tests, mostly irrelevant. Now we swing without a net!

  • Loading branch information...
1 parent c12d4f5 commit ba7beeea6a9dbf9f4ea2f9708947a5aeda1d9382 @mockdeep mockdeep committed Jul 29, 2012
Showing with 0 additions and 19,683 deletions.
  1. +0 −25 test/exemplars/enumeration_exemplar.rb
  2. +0 −58 test/exemplars/issue_exemplar.rb
  3. +0 −23 test/exemplars/issue_status_exemplar.rb
  4. +0 −14 test/exemplars/member_exemplar.rb
  5. +0 −71 test/exemplars/project_exemplar.rb
  6. +0 −25 test/exemplars/query_exemplar.rb
  7. +0 −22 test/exemplars/role_exemplar.rb
  8. +0 −23 test/exemplars/tracker_exemplar.rb
  9. +0 −78 test/exemplars/user_exemplar.rb
  10. +0 −27 test/exemplars/version_exemplar.rb
  11. +0 −211 test/fixtures/activity_streams.yml
  12. +0 −165 test/fixtures/attachments.yml
  13. +0 −24 test/fixtures/auth_sources.yml
  14. +0 −44 test/fixtures/boards.yml
  15. +0 −39 test/fixtures/changes.yml
  16. +0 −121 test/fixtures/changesets.yml
  17. +0 −33 test/fixtures/comments.yml
  18. +0 −27 test/fixtures/credit_distributions.yml
  19. +0 −23 test/fixtures/credits.yml
  20. +0 −79 test/fixtures/diffs/subversion.diff
  21. +0 −24 test/fixtures/documents.yml
  22. +0 −7 test/fixtures/email_updates.yml
  23. +0 −74 test/fixtures/enabled_modules.yml
  24. +0 −21 test/fixtures/enterprises.yml
  25. +0 −62 test/fixtures/enumerations.yml
  26. BIN test/fixtures/files/060719210727_archive.zip
  27. +0 −13 test/fixtures/files/060719210727_changeset.diff
  28. +0 −10 test/fixtures/files/060719210727_source.rb
  29. +0 −2 test/fixtures/files/testfile.txt
  30. +0 −20 test/fixtures/help_sections.yml
  31. +0 −23 test/fixtures/hourly_types.yml
  32. +0 −34 test/fixtures/invitations.yml
  33. +0 −26 test/fixtures/issue_relations.yml
  34. +0 −46 test/fixtures/issue_statuses.yml
  35. +0 −26 test/fixtures/issue_votes.yml
  36. +0 −255 test/fixtures/issues.yml
  37. +0 −35 test/fixtures/journal_details.yml
  38. +0 −43 test/fixtures/journals.yml
  39. +0 −15 test/fixtures/mail_handler/message_reply.eml
  40. +0 −13 test/fixtures/mail_handler/message_reply_by_subject.eml
  41. +0 −18 test/fixtures/mail_handler/ticket_by_unknown_user.eml
  42. +0 −19 test/fixtures/mail_handler/ticket_from_emission_address.eml
  43. +0 −22 test/fixtures/mail_handler/ticket_html_only.eml
  44. +0 −54 test/fixtures/mail_handler/ticket_on_given_project.eml
  45. +0 −74 test/fixtures/mail_handler/ticket_reply.eml
  46. +0 −75 test/fixtures/mail_handler/ticket_reply_with_status.eml
  47. +0 −248 test/fixtures/mail_handler/ticket_with_attachment.eml
  48. +0 −43 test/fixtures/mail_handler/ticket_with_attributes.eml
  49. +0 −40 test/fixtures/mail_handler/ticket_with_cc.eml
  50. +0 −41 test/fixtures/mail_handler/ticket_with_custom_fields.eml
  51. +0 −43 test/fixtures/mail_handler/ticket_with_spaces_between_attribute_and_separator.eml
  52. +0 −40 test/fixtures/mail_handler/ticket_without_from_header.eml
  53. +0 −53 test/fixtures/member_roles.yml
  54. +0 −62 test/fixtures/members.yml
  55. +0 −98 test/fixtures/messages.yml
  56. +0 −28 test/fixtures/motion_votes.yml
  57. +0 −49 test/fixtures/motions.yml
  58. +0 −38 test/fixtures/news.yml
  59. +0 −34 test/fixtures/notifications.yml
  60. +0 −115 test/fixtures/projects.yml
  61. +0 −44 test/fixtures/projects_trackers.yml
  62. +0 −173 test/fixtures/queries.yml
  63. +0 −20 test/fixtures/quotes.yml
  64. +0 −30 test/fixtures/reputations.yml
  65. +0 −23 test/fixtures/retro_ratings.yml
  66. +0 −25 test/fixtures/retros.yml
  67. +0 −199 test/fixtures/roles.yml
  68. +0 −23 test/fixtures/shares.yml
  69. +0 −32 test/fixtures/todos.yml
  70. +0 −26 test/fixtures/tokens.yml
  71. +0 −31 test/fixtures/trackers.yml
  72. +0 −45 test/fixtures/user_preferences.yml
  73. +0 −205 test/fixtures/users.yml
  74. +0 −26 test/fixtures/watchers.yml
  75. +0 −56 test/fixtures/wiki_content_versions.yml
  76. +0 −90 test/fixtures/wiki_contents.yml
  77. +0 −58 test/fixtures/wiki_pages.yml
  78. +0 −24 test/fixtures/wikis.yml
  79. +0 −1,628 test/fixtures/workflows.yml
  80. +0 −142 test/functional/account_controller_test.rb
  81. +0 −52 test/functional/activity_stream_preferences_controller_test.rb
  82. +0 −169 test/functional/activity_streams_controller_test.rb
  83. +0 −132 test/functional/admin_controller_test.rb
  84. +0 −32 test/functional/application_controller_test.rb
  85. +0 −129 test/functional/attachments_controller_test.rb
  86. +0 −132 test/functional/boards_controller_test.rb
  87. +0 −45 test/functional/credit_distributions_controller_test.rb
  88. +0 −45 test/functional/credits_controller_test.rb
  89. +0 −107 test/functional/documents_controller_test.rb
  90. +0 −8 test/functional/email_update_controller_test.rb
  91. +0 −45 test/functional/enterprises_controller_test.rb
  92. +0 −47 test/functional/enumerations_controller_test.rb
  93. +0 −45 test/functional/help_sections_controller_test.rb
  94. +0 −8 test/functional/hourly_types_controller_test.rb
  95. +0 −45 test/functional/invitations_controller_test.rb
  96. +0 −67 test/functional/issue_relations_controller_test.rb
  97. +0 −96 test/functional/issue_statuses_controller_test.rb
  98. +0 −45 test/functional/issue_votes_controller_test.rb
  99. +0 −1,209 test/functional/issues_controller_test.rb
  100. +0 −46 test/functional/journals_controller_test.rb
  101. +0 −40 test/functional/mail_handler_controller_test.rb
  102. +0 −68 test/functional/members_controller_test.rb
  103. +0 −156 test/functional/messages_controller_test.rb
  104. +0 −45 test/functional/motion_votes_controller_test.rb
  105. +0 −45 test/functional/motions_controller_test.rb
  106. +0 −186 test/functional/my_controller_test.rb
  107. +0 −210 test/functional/news_controller_test.rb
  108. +0 −45 test/functional/notifications_controller_test.rb
  109. +0 −693 test/functional/projects_controller_test.rb
  110. +0 −227 test/functional/queries_controller_test.rb
  111. +0 −45 test/functional/quotes_controller_test.rb
  112. +0 −46 test/functional/reports_controller_test.rb
  113. +0 −45 test/functional/reputations_controller_test.rb
  114. +0 −45 test/functional/retro_ratings_controller_test.rb
  115. +0 −45 test/functional/retros_controller_test.rb
  116. +0 −166 test/functional/roles_controller_test.rb
  117. +0 −141 test/functional/search_controller_test.rb
  118. +0 −45 test/functional/settings_controller_test.rb
  119. +0 −45 test/functional/shares_controller_test.rb
  120. +0 −77 test/functional/sys_controller_test.rb
  121. +0 −45 test/functional/todos_controller_test.rb
  122. +0 −106 test/functional/trackers_controller_test.rb
  123. +0 −209 test/functional/users_controller_test.rb
  124. +0 −97 test/functional/watchers_controller_test.rb
  125. +0 −56 test/functional/welcome_controller_test.rb
  126. +0 −383 test/functional/wiki_controller_test.rb
  127. +0 −61 test/functional/wikis_controller_test.rb
  128. +0 −145 test/functional/workflows_controller_test.rb
  129. +0 −35 test/helper_testcase.rb
  130. +0 −193 test/integration/account_test.rb
  131. +0 −75 test/integration/activity_stream_preferences_integration_test.rb
  132. +0 −35 test/integration/admin_test.rb
  133. +0 −80 test/integration/api_token_login_test.rb
  134. +0 −43 test/integration/application_test.rb
  135. +0 −110 test/integration/disabled_rest_api_test.rb
  136. +0 −80 test/integration/http_basic_login_test.rb
  137. +0 −84 test/integration/http_basic_login_with_api_token_test.rb
  138. +0 −116 test/integration/issues_test.rb
  139. +0 −56 test/integration/lib/redmine/menu_manager_test.rb
  140. +0 −30 test/integration/projects_test.rb
  141. +0 −44 test/mocks/open_id_authentication_mock.rb
  142. +0 −33 test/object_daddy_helpers.rb
  143. +0 −11 test/selenium/testcase1.sel
  144. +0 −65 test/test_helper.rb
  145. +0 −122 test/unit/activity_stream_test.rb
  146. +0 −79 test/unit/activity_test.rb
  147. +0 −54 test/unit/attachment_test.rb
  148. +0 −45 test/unit/auth_source_ldap_test.rb
  149. +0 −46 test/unit/board_test.rb
  150. +0 −29 test/unit/calendar_test.rb
  151. +0 −100 test/unit/changeset_test.rb
  152. +0 −48 test/unit/comment_test.rb
  153. +0 −22 test/unit/credit_distribution_test.rb
  154. +0 −24 test/unit/credit_test.rb
  155. +0 −44 test/unit/default_data_test.rb
  156. +0 −59 test/unit/document_test.rb
  157. +0 −8 test/unit/email_update_test.rb
  158. +0 −40 test/unit/enabled_module_test.rb
  159. +0 −22 test/unit/enterprise_test.rb
  160. +0 −115 test/unit/enumeration_test.rb
  161. +0 −42 test/unit/filesystem_adapter_test.rb
  162. +0 −22 test/unit/git_adapter_test.rb
  163. +0 −21 test/unit/help_section_test.rb
  164. +0 −518 test/unit/helpers/application_helper_test.rb
  165. +0 −4 test/unit/helpers/credit_distributions_helper_test.rb
  166. +0 −4 test/unit/helpers/credits_helper_test.rb
  167. +0 −4 test/unit/helpers/email_update_helper_test.rb
  168. +0 −4 test/unit/helpers/enterprises_helper_test.rb
  169. +0 −4 test/unit/helpers/help_sections_helper_test.rb
  170. +0 −4 test/unit/helpers/hourly_types_helper_test.rb
  171. +0 −4 test/unit/helpers/invitations_helper_test.rb
  172. +0 −4 test/unit/helpers/issue_votes_helper_test.rb
  173. +0 −4 test/unit/helpers/motion_votes_helper_test.rb
  174. +0 −4 test/unit/helpers/motions_helper_test.rb
  175. +0 −4 test/unit/helpers/notifications_helper_test.rb
  176. +0 −68 test/unit/helpers/projects_helper_test.rb
  177. +0 −4 test/unit/helpers/quotes_helper_test.rb
  178. +0 −4 test/unit/helpers/reputations_helper_test.rb
  179. +0 −4 test/unit/helpers/retro_ratings_helper_test.rb
  180. +0 −4 test/unit/helpers/retros_helper_test.rb
  181. +0 −33 test/unit/helpers/search_helper_test.rb
  182. +0 −4 test/unit/helpers/shares_helper_test.rb
  183. +0 −71 test/unit/helpers/sort_helper_test.rb
  184. +0 −4 test/unit/helpers/todos_helper_test.rb
  185. +0 −24 test/unit/hourly_type_test.rb
  186. +0 −27 test/unit/invitation_test.rb
  187. +0 −42 test/unit/issue_priority_test.rb
  188. +0 −69 test/unit/issue_relation_test.rb
  189. +0 −106 test/unit/issue_status_test.rb
  190. +0 −632 test/unit/issue_test.rb
  191. +0 −27 test/unit/issue_vote_test.rb
  192. +0 −51 test/unit/journal_test.rb
  193. +0 −36 test/unit/lib/redmine/access_control_test.rb
  194. +0 −98 test/unit/lib/redmine/i18n_test.rb
  195. +0 −166 test/unit/lib/redmine/menu_manager/mapper_test.rb
  196. +0 −262 test/unit/lib/redmine/menu_manager/menu_helper_test.rb
  197. +0 −122 test/unit/lib/redmine/menu_manager/menu_item_test.rb
  198. +0 −32 test/unit/lib/redmine/menu_manager_test.rb
  199. +0 −47 test/unit/lib/redmine/mime_type_test.rb
  200. +0 −104 test/unit/lib/redmine/plugin_test.rb
  201. +0 −55 test/unit/lib/redmine/unified_diff_test.rb
  202. +0 −35 test/unit/lib/redmine/wiki_formatting.rb
  203. +0 −85 test/unit/lib/redmine/wiki_formatting/macros_test.rb
  204. +0 −84 test/unit/lib/redmine_test.rb
  205. +0 −337 test/unit/mail_handler_test.rb
  206. +0 −285 test/unit/mailer_test.rb
  207. +0 −136 test/unit/member_test.rb
  208. +0 −152 test/unit/message_test.rb
  209. +0 −50 test/unit/motion_test.rb
  210. +0 −23 test/unit/motion_vote_test.rb
  211. +0 −80 test/unit/news_test.rb
  212. +0 −27 test/unit/notification_test.rb
  213. +0 −91 test/unit/principal_test.rb
  214. +0 −703 test/unit/project_test.rb
  215. +0 −351 test/unit/query_test.rb
  216. +0 −21 test/unit/quote_test.rb
  217. +0 −23 test/unit/reputation_test.rb
  218. +0 −24 test/unit/retro_rating_test.rb
  219. +0 −26 test/unit/retro_test.rb
  220. +0 −55 test/unit/role_test.rb
  221. +0 −131 test/unit/search_test.rb
  222. +0 −44 test/unit/setting_test.rb
  223. +0 −24 test/unit/share_test.rb
  224. +0 −20 test/unit/subversion_adapter_test.rb
  225. +0 −32 test/unit/testing_test.rb
  226. +0 −27 test/unit/todo_test.rb
  227. +0 −37 test/unit/token_test.rb
  228. +0 −51 test/unit/tracker_test.rb
  229. +0 −43 test/unit/user_preference_test.rb
Sorry, we could not display the entire diff because it was too big.
View
25 test/exemplars/enumeration_exemplar.rb
@@ -1,25 +0,0 @@
-class Enumeration < ActiveRecord::Base
- generator_for :name, :method => :next_name
-
- def self.next_name
- @last_name ||= 'Enumeration0'
- @last_name.succ!
- @last_name
- end
-end
-
-# == Schema Information
-#
-# Table name: enumerations
-#
-# id :integer not null, primary key
-# opt :string(4) default(""), not null
-# name :string(30) default(""), not null
-# position :integer default(1)
-# is_default :boolean default(FALSE), not null
-# type :string(255)
-# active :boolean default(TRUE), not null
-# project_id :integer
-# parent_id :integer
-#
-
View
58 test/exemplars/issue_exemplar.rb
@@ -1,58 +0,0 @@
-class Issue < ActiveRecord::Base
- generator_for :subject, :method => :next_subject
- generator_for :author, :method => :next_author
-
- def self.next_subject
- @last_subject ||= 'Subject 0'
- @last_subject.succ!
- @last_subject
- end
-
- def self.next_author
- User.generate_with_protected!
- end
-
-end
-
-# == Schema Information
-#
-# Table name: issues
-#
-# id :integer not null, primary key
-# tracker_id :integer default(0), not null
-# project_id :integer default(0), not null
-# subject :string(255) default(""), not null
-# description :text
-# due_date :date
-# status_id :integer default(0), not null
-# assigned_to_id :integer
-# priority_id :integer default(0), not null
-# author_id :integer default(0), not null
-# lock_version :integer default(0), not null
-# created_at :datetime
-# updated_at :datetime
-# start_date :date
-# done_ratio :integer default(0), not null
-# estimated_hours :float
-# expected_date :date
-# points :float
-# pri :integer default(0)
-# accept :integer default(0)
-# reject :integer default(0)
-# accept_total :integer default(0)
-# agree :integer default(0)
-# disagree :integer default(0)
-# agree_total :integer default(0)
-# retro_id :integer
-# accept_nonbind :integer default(0)
-# reject_nonbind :integer default(0)
-# accept_total_nonbind :integer default(0)
-# agree_nonbind :integer default(0)
-# disagree_nonbind :integer default(0)
-# agree_total_nonbind :integer default(0)
-# points_nonbind :integer default(0)
-# pri_nonbind :integer default(0)
-# hourly_type_id :integer
-# num_hours :integer default(0)
-#
-
View
23 test/exemplars/issue_status_exemplar.rb
@@ -1,23 +0,0 @@
-class IssueStatus < ActiveRecord::Base
- generator_for :name, :method => :next_name
-
- def self.next_name
- @last_name ||= 'Status 0'
- @last_name.succ!
- @last_name
- end
-end
-
-
-# == Schema Information
-#
-# Table name: issue_statuses
-#
-# id :integer not null, primary key
-# name :string(30) default(""), not null
-# is_closed :boolean default(FALSE), not null
-# is_default :boolean default(FALSE), not null
-# position :integer default(1)
-# default_done_ratio :integer
-#
-
View
14 test/exemplars/member_exemplar.rb
@@ -1,14 +0,0 @@
-class Member < ActiveRecord::Base
-end
-
-# == Schema Information
-#
-# Table name: members
-#
-# id :integer not null, primary key
-# user_id :integer default(0), not null
-# project_id :integer default(0), not null
-# created_at :datetime
-# mail_notification :boolean default(FALSE), not null
-#
-
View
71 test/exemplars/project_exemplar.rb
@@ -1,71 +0,0 @@
-class Project < ActiveRecord::Base
- generator_for :name, :method => :next_name
- generator_for :identifier, :method => :next_identifier_from_object_daddy
- generator_for :enabled_modules, :method => :all_modules
- generator_for :trackers, :method => :next_tracker
-
- def self.next_name
- @last_name ||= 'Project 0'
- @last_name.succ!
- @last_name
- end
-
- # Project#next_identifier is defined on Redmine
- def self.next_identifier_from_object_daddy
- @last_identifier ||= 'project0'
- @last_identifier.succ!
- @last_identifier
- end
-
- def self.all_modules
- returning [] do |modules|
- Redmine::AccessControl.available_project_modules.each do |name|
- modules << EnabledModule.new(:name => name.to_s)
- end
- end
- end
-
- def self.next_tracker
- [Tracker.generate!]
- end
-end
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-# == Schema Information
-#
-# Table name: projects
-#
-# id :integer not null, primary key
-# name :string(30) default(""), not null
-# description :text
-# homepage :string(255) default("")
-# is_public :boolean default(TRUE), not null
-# parent_id :integer
-# created_at :datetime
-# updated_at :datetime
-# identifier :string(20)
-# status :integer default(1), not null
-# lft :integer
-# rgt :integer
-# enterprise_id :integer
-# last_item_updated_on :datetime
-# dpp :float default(100.0)
-# activity_line :text default("[]")
-# volunteer :boolean default(FALSE)
-# owner_id :integer
-# storage :float default(0.0)
-# issue_count :integer default(0)
-#
-
View
25 test/exemplars/query_exemplar.rb
@@ -1,25 +0,0 @@
-class Query < ActiveRecord::Base
- generator_for :name, :method => :next_name
-
- def self.next_name
- @last_name ||= 'Query 0'
- @last_name.succ!
- @last_name
- end
-end
-
-# == Schema Information
-#
-# Table name: queries
-#
-# id :integer not null, primary key
-# project_id :integer
-# name :string(255) default(""), not null
-# filters :text
-# user_id :integer default(0), not null
-# is_public :boolean default(FALSE), not null
-# column_names :text
-# sort_criteria :text
-# group_by :string(255)
-#
-
View
22 test/exemplars/role_exemplar.rb
@@ -1,22 +0,0 @@
-class Role < ActiveRecord::Base
- generator_for :name, :method => :next_name
-
- def self.next_name
- @last_name ||= 'Role0'
- @last_name.succ!
- end
-end
-
-# == Schema Information
-#
-# Table name: roles
-#
-# id :integer not null, primary key
-# name :string(30) default(""), not null
-# position :integer default(1)
-# assignable :boolean default(TRUE)
-# builtin :integer default(0), not null
-# permissions :text
-# level :integer default(3)
-#
-
View
23 test/exemplars/tracker_exemplar.rb
@@ -1,23 +0,0 @@
-class Tracker < ActiveRecord::Base
- generator_for :name, :method => :next_name
-
- def self.next_name
- @last_name ||= 'Tracker 0'
- @last_name.succ!
- @last_name
- end
-end
-
-
-# == Schema Information
-#
-# Table name: trackers
-#
-# id :integer not null, primary key
-# name :string(30) default(""), not null
-# is_in_chlog :boolean default(FALSE), not null
-# position :integer default(1)
-# is_in_roadmap :boolean default(TRUE), not null
-# for_credits_module :boolean default(FALSE)
-#
-
View
78 test/exemplars/user_exemplar.rb
@@ -1,78 +0,0 @@
-class User < Principal
- generator_for :login, :method => :next_login
- generator_for :mail, :method => :next_email
- generator_for :firstname, :method => :next_firstname
- generator_for :lastname, :method => :next_lastname
-
- def self.next_login
- @gen_login ||= 'user1'
- @gen_login.succ!
- @gen_login
- end
-
- def self.next_email
- @last_email ||= 'user1'
- @last_email.succ!
- "#{@last_email}@example.com"
- end
-
- def self.next_firstname
- @last_firstname ||= 'Bob'
- @last_firstname.succ!
- @last_firstname
- end
-
- def self.next_lastname
- @last_lastname ||= 'Doe'
- @last_lastname.succ!
- @last_lastname
- end
-end
-
-
-
-
-
-
-
-
-
-
-# == Schema Information
-#
-# Table name: users
-#
-# id :integer not null, primary key
-# login :string(30) default(""), not null
-# hashed_password :string(40) default(""), not null
-# firstname :string(30) default(""), not null
-# lastname :string(30) default(""), not null
-# mail :string(60) default(""), not null
-# mail_notification :boolean default(TRUE), not null
-# admin :boolean default(FALSE), not null
-# status :integer default(1), not null
-# last_login_on :datetime
-# language :string(5) default("")
-# auth_source_id :integer
-# created_at :datetime
-# updated_at :datetime
-# type :string(255)
-# identity_url :string(255)
-# activity_stream_token :string(255)
-# identifier :string(255)
-# plan_id :integer default(1)
-# b_first_name :string(255)
-# b_last_name :string(255)
-# b_address1 :string(255)
-# b_zip :string(255)
-# b_country :string(255)
-# b_phone :string(255)
-# b_ip_address :string(255)
-# b_cc_last_four :string(255)
-# b_cc_type :string(255)
-# b_cc_month :integer
-# b_cc_year :integer
-# mail_hash :string(255)
-# trial_expires_on :datetime
-#
-
View
27 test/exemplars/version_exemplar.rb
@@ -1,27 +0,0 @@
-class Version < ActiveRecord::Base
- generator_for :name, :method => :next_name
- generator_for :status => 'open'
-
- def self.next_name
- @last_name ||= 'Version 1.0.0'
- @last_name.succ!
- @last_name
- end
-
-end
-# == Schema Information
-#
-# Table name: versions
-#
-# id :integer not null, primary key
-# project_id :integer default(0), not null
-# name :string(255) default(""), not null
-# description :string(255) default("")
-# effective_date :date
-# created_at :datetime
-# updated_at :datetime
-# wiki_page_title :string(255)
-# status :string(255) default("open")
-# sharing :string(255) default("none"), not null
-#
-
View
211 test/fixtures/activity_streams.yml
@@ -1,211 +0,0 @@
-# Copyright (c) 2008 Matson Systems, Inc.
-# Released under the BSD license found in the file
-# LICENSE included with this ActivityStreams plug-in.
-
----
-one:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "1"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-two:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "2"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-three:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "3"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-four:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "4"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-five:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "5"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-six:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "6"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-seven:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "7"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-eight:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "8"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-nine:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "9"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-ten:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "10"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-eleven:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "11"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-twelve:
- updated_at: 2008-07-24 04:22:54
- actor_id: "3"
- id: "12"
- verb: "downloaded"
- activity: "download"
- status: "0"
- object_type: Torrent
- object_name_method: title
- count: "1"
- actor_type: User
- actor_name_method: friendly_name
- object_id: "1"
- created_at: 2008-07-24 04:22:54
-
-
-
-
-# == Schema Information
-#
-# Table name: activity_streams
-#
-# id :integer not null, primary key
-# verb :string(255)
-# activity :string(255)
-# actor_id :integer
-# actor_type :string(255)
-# actor_name_method :string(255)
-# count :integer default(1)
-# object_id :integer
-# object_type :string(255)
-# object_name_method :string(255)
-# indirect_object_id :integer
-# indirect_object_type :string(255)
-# indirect_object_name_method :string(255)
-# indirect_object_phrase :string(255)
-# status :integer default(0)
-# created_at :datetime
-# updated_at :datetime
-# project_id :integer default(0)
-# actor_name :string(255)
-# object_name :string(255)
-# object_description :text
-# indirect_object_name :string(255)
-# indirect_object_description :text
-# tracker_name :string(255)
-# project_name :string(255)
-# actor_email :string(255)
-# is_public :boolean default(FALSE)
-# hidden_from_user_id :integer default(0)
-#
-
View
165 test/fixtures/attachments.yml
@@ -1,165 +0,0 @@
----
-attachments_001:
- created_at: 2006-07-19 21:07:27 +02:00
- downloads: 0
- content_type: text/plain
- disk_filename: 060719210727_error281.txt
- container_id: 3
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 1
- container_type: Issue
- filesize: 28
- filename: error281.txt
- author_id: 2
-attachments_002:
- created_at: 2007-01-27 15:08:27 +01:00
- downloads: 0
- content_type: text/plain
- disk_filename: 060719210727_document.txt
- container_id: 1
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 2
- container_type: Document
- filesize: 28
- filename: document.txt
- author_id: 2
-attachments_003:
- created_at: 2006-07-19 21:07:27 +02:00
- downloads: 0
- content_type: image/gif
- disk_filename: 060719210727_logo.gif
- container_id: 4
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 3
- container_type: WikiPage
- filesize: 280
- filename: logo.gif
- description: This is a logo
- author_id: 2
-attachments_004:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Issue
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_source.rb
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 4
- filesize: 153
- filename: source.rb
- author_id: 2
- description: This is a Ruby source file
- content_type: application/x-ruby
-attachments_005:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Issue
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_changeset.diff
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 5
- filesize: 687
- filename: changeset.diff
- author_id: 2
- content_type: text/x-diff
-attachments_006:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Issue
- container_id: 3
- downloads: 0
- disk_filename: 060719210727_archive.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 6
- filesize: 157
- filename: archive.zip
- author_id: 2
- content_type: application/octet-stream
-attachments_007:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Issue
- container_id: 4
- downloads: 0
- disk_filename: 060719210727_archive.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 7
- filesize: 157
- filename: archive.zip
- author_id: 1
- content_type: application/octet-stream
-attachments_008:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Project
- container_id: 1
- downloads: 0
- disk_filename: 060719210727_project_file.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 8
- filesize: 320
- filename: project_file.zip
- author_id: 2
- content_type: application/octet-stream
-attachments_009:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Version
- container_id: 1
- downloads: 0
- disk_filename: 060719210727_version_file.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 9
- filesize: 452
- filename: version_file.zip
- author_id: 2
- content_type: application/octet-stream
-attachments_010:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Issue
- container_id: 2
- downloads: 0
- disk_filename: 060719210727_picture.jpg
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 10
- filesize: 452
- filename: picture.jpg
- author_id: 2
- content_type: image/jpeg
-attachments_011:
- created_at: 2007-02-12 15:08:27 +01:00
- container_type: Document
- container_id: 1
- downloads: 0
- disk_filename: 060719210727_picture.jpg
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 11
- filesize: 452
- filename: picture.jpg
- author_id: 2
- content_type: image/jpeg
-attachments_012:
- created_at: 2006-07-19 21:07:27 +02:00
- container_type: Version
- container_id: 1
- downloads: 0
- disk_filename: 060719210727_version_file.zip
- digest: b91e08d0cf966d5c6ff411bd8c4cc3a2
- id: 12
- filesize: 452
- filename: version_file.zip
- author_id: 2
- content_type: application/octet-stream
-# == Schema Information
-#
-# Table name: attachments
-#
-# id :integer not null, primary key
-# container_id :integer default(0), not null
-# container_type :string(30) default(""), not null
-# filename :string(255) default(""), not null
-# disk_filename :string(255) default(""), not null
-# filesize :integer default(0), not null
-# content_type :string(255) default("")
-# digest :string(40) default(""), not null
-# downloads :integer default(0), not null
-# author_id :integer default(0), not null
-# created_at :datetime
-# description :string(255)
-#
-
View
24 test/fixtures/auth_sources.yml
@@ -1,24 +0,0 @@
---- {}
-
-
-
-# == Schema Information
-#
-# Table name: auth_sources
-#
-# id :integer not null, primary key
-# type :string(30) default(""), not null
-# name :string(60) default(""), not null
-# host :string(60)
-# port :integer
-# account :string(255)
-# account_password :string(60)
-# base_dn :string(255)
-# attr_login :string(30)
-# attr_firstname :string(30)
-# attr_lastname :string(30)
-# attr_mail :string(30)
-# onthefly_register :boolean default(FALSE), not null
-# tls :boolean default(FALSE), not null
-#
-
View
44 test/fixtures/boards.yml
@@ -1,44 +0,0 @@
----
-boards_001:
- name: Help
- project_id: 1
- topics_count: 2
- id: 1
- description: Help board
- position: 1
- last_message_id: 6
- messages_count: 6
-boards_002:
- name: Discussion
- project_id: 1
- topics_count: 0
- id: 2
- description: Discussion board
- position: 2
- last_message_id:
- messages_count: 0
-boards_003:
- name: Discussion
- project_id: 2
- topics_count: 0
- id: 3
- description: Discussion board
- position: 1
- last_message_id:
- messages_count: 0
-
-
-# == Schema Information
-#
-# Table name: boards
-#
-# id :integer not null, primary key
-# project_id :integer not null
-# name :string(255) default(""), not null
-# description :string(255)
-# position :integer default(1)
-# topics_count :integer default(0), not null
-# messages_count :integer default(0), not null
-# last_message_id :integer
-#
-
View
39 test/fixtures/changes.yml
@@ -1,39 +0,0 @@
----
-changes_001:
- id: 1
- changeset_id: 100
- action: A
- path: /test/some/path/in/the/repo
- from_path:
- from_revision:
-changes_002:
- id: 2
- changeset_id: 100
- action: A
- path: /test/some/path/elsewhere/in/the/repo
- from_path:
- from_revision:
-changes_003:
- id: 3
- changeset_id: 101
- action: M
- path: /test/some/path/in/the/repo
- from_path:
- from_revision:
-
-
-
-# == Schema Information
-#
-# Table name: changes
-#
-# id :integer not null, primary key
-# changeset_id :integer not null
-# action :string(1) default(""), not null
-# path :string(255) default(""), not null
-# from_path :string(255)
-# from_revision :string(255)
-# revision :string(255)
-# branch :string(255)
-#
-
View
121 test/fixtures/changesets.yml
@@ -1,121 +0,0 @@
----
-changesets_001:
- commit_date: 2007-04-11
- committed_on: 2007-04-11 15:14:44 +02:00
- revision: 1
- id: 100
- comments: My very first commit
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_002:
- commit_date: 2007-04-12
- committed_on: 2007-04-12 15:14:44 +02:00
- revision: 2
- id: 101
- comments: 'This commit fixes #1, #2 and references #1 & #3'
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_003:
- commit_date: 2007-04-12
- committed_on: 2007-04-12 15:14:44 +02:00
- revision: 3
- id: 102
- comments: |-
- A commit with wrong issue ids
- IssueID 666 3
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_004:
- commit_date: 2007-04-12
- committed_on: 2007-04-12 15:14:44 +02:00
- revision: 4
- id: 103
- comments: |-
- A commit with an issue id of an other project
- IssueID 4 2
- repository_id: 10
- committer: dlopper
- user_id: 3
-changesets_005:
- commit_date: "2007-09-10"
- comments: Modified one file in the folder.
- committed_on: 2007-09-10 19:01:08
- revision: "5"
- id: 104
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_006:
- commit_date: "2007-09-10"
- comments: Moved helloworld.rb from / to /folder.
- committed_on: 2007-09-10 19:01:47
- revision: "6"
- id: 105
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_007:
- commit_date: "2007-09-10"
- comments: Removed one file.
- committed_on: 2007-09-10 19:02:16
- revision: "7"
- id: 106
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_008:
- commit_date: "2007-09-10"
- comments: |-
- This commits references an issue.
- Refs #2
- committed_on: 2007-09-10 19:04:35
- revision: "8"
- id: 107
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_009:
- commit_date: "2009-09-10"
- comments: One file added.
- committed_on: 2009-09-10 19:04:35
- revision: "9"
- id: 108
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-changesets_010:
- commit_date: "2009-09-10"
- comments: Same file modified.
- committed_on: 2009-09-10 19:04:35
- revision: "10"
- id: 109
- scmid:
- user_id: 3
- repository_id: 10
- committer: dlopper
-
-
-
-# == Schema Information
-#
-# Table name: changesets
-#
-# id :integer not null, primary key
-# repository_id :integer not null
-# revision :string(255) not null
-# committer :string(255)
-# committed_on :datetime not null
-# comments :text
-# commit_date :date
-# scmid :string(255)
-# user_id :integer
-#
-
View
33 test/fixtures/comments.yml
@@ -1,33 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-comments_001:
- commented_type: News
- commented_id: 1
- id: 1
- author_id: 1
- comments: my first comment
- created_at: 2006-12-10 18:10:10 +01:00
- updated_at: 2006-12-10 18:10:10 +01:00
-comments_002:
- commented_type: News
- commented_id: 1
- id: 2
- author_id: 2
- comments: This is an other comment
- created_at: 2006-12-10 18:12:10 +01:00
- updated_at: 2006-12-10 18:12:10 +01:00
-
-
-
-# == Schema Information
-#
-# Table name: comments
-#
-# id :integer not null, primary key
-# commented_type :string(30) default(""), not null
-# commented_id :integer default(0), not null
-# author_id :integer default(0), not null
-# comments :text
-# created_at :datetime not null
-# updated_at :datetime not null
-#
-
View
27 test/fixtures/credit_distributions.yml
@@ -1,27 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-one:
- user_id: 1
- project_id: 1
- retro_id: 1
- amount: 1.5
-
-two:
- user_id: 1
- project_id: 1
- retro_id: 1
- amount: 1.5
-
-# == Schema Information
-#
-# Table name: credit_distributions
-#
-# id :integer not null, primary key
-# user_id :integer
-# project_id :integer
-# retro_id :integer
-# amount :float
-# created_at :datetime
-# updated_at :datetime
-#
-
View
23 test/fixtures/credits.yml
@@ -1,23 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-# one:
-# column: value
-#
-# two:
-# column: value
-
-# == Schema Information
-#
-# Table name: credits
-#
-# id :integer not null, primary key
-# amount :float not null
-# issued_on :datetime
-# created_at :datetime
-# updated_at :datetime
-# owner_id :integer
-# project_id :integer
-# settled_on :datetime
-# enabled :boolean default(TRUE)
-#
-
View
79 test/fixtures/diffs/subversion.diff
@@ -1,79 +0,0 @@
-Index: app/views/settings/_general.rhtml
-===================================================================
---- app/views/settings/_general.rhtml (revision 2094)
-+++ app/views/settings/_general.rhtml (working copy)
-@@ -48,6 +48,9 @@
- <p><label><%= l(:setting_feeds_limit) %></label>
- <%= text_field_tag 'settings[feeds_limit]', Setting.feeds_limit, :size => 6 %></p>
-
-+<p><label><%= l(:setting_diff_max_lines_displayed) %></label>
-+<%= text_field_tag 'settings[diff_max_lines_displayed]', Setting.diff_max_lines_displayed, :size => 6 %></p>
-+
- <p><label><%= l(:setting_gravatar_enabled) %></label>
- <%= check_box_tag 'settings[gravatar_enabled]', 1, Setting.gravatar_enabled? %><%= hidden_field_tag 'settings[gravatar_enabled]', 0 %></p>
- </div>
-Index: app/views/common/_diff.rhtml
-===================================================================
---- app/views/common/_diff.rhtml (revision 2111)
-+++ app/views/common/_diff.rhtml (working copy)
-@@ -1,4 +1,5 @@
--<% Redmine::UnifiedDiff.new(diff, :type => diff_type).each do |table_file| -%>
-+<% diff = Redmine::UnifiedDiff.new(diff, :type => diff_type, :max_lines => Setting.diff_max_lines_displayed.to_i) -%>
-+<% diff.each do |table_file| -%>
- <div class="autoscroll">
- <% if diff_type == 'sbs' -%>
- <table class="filecontent CodeRay">
-@@ -62,3 +63,5 @@
-
- </div>
- <% end -%>
-+
-+<%= l(:text_diff_truncated) if diff.truncated? %>
-Index: lang/lt.yml
-===================================================================
---- config/settings.yml (revision 2094)
-+++ config/settings.yml (working copy)
-@@ -61,6 +61,9 @@
- feeds_limit:
- format: int
- default: 15
-+diff_max_lines_displayed:
-+ format: int
-+ default: 1500
- enabled_scm:
- serialized: true
- default:
-Index: lib/redmine/unified_diff.rb
-===================================================================
---- lib/redmine/unified_diff.rb (revision 2110)
-+++ lib/redmine/unified_diff.rb (working copy)
-@@ -19,8 +19,11 @@
- # Class used to parse unified diffs
- class UnifiedDiff < Array
- def initialize(diff, options={})
-+ options.assert_valid_keys(:type, :max_lines)
- diff_type = options[:type] || 'inline'
-
-+ lines = 0
-+ @truncated = false
- diff_table = DiffTable.new(diff_type)
- diff.each do |line|
- if line =~ /^(---|\+\+\+) (.*)$/
-@@ -28,10 +31,17 @@
- diff_table = DiffTable.new(diff_type)
- end
- diff_table.add_line line
-+ lines += 1
-+ if options[:max_lines] && lines > options[:max_lines]
-+ @truncated = true
-+ break
-+ end
- end
- self << diff_table unless diff_table.empty?
- self
- end
-+
-+ def truncated?; @truncated; end
- end
-
- # Class that represents a file diff
View
24 test/fixtures/documents.yml
@@ -1,24 +0,0 @@
-documents_001:
- created_at: 2007-01-27 15:08:27 +01:00
- project_id: 1
- title: "Test document"
- id: 1
- description: "Document description"
-documents_002:
- created_at: 2007-02-12 15:08:27 +01:00
- project_id: 1
- title: "An other document"
- id: 2
- description: ""
-
-# == Schema Information
-#
-# Table name: documents
-#
-# id :integer not null, primary key
-# project_id :integer default(0), not null
-# title :string(60) default(""), not null
-# description :text
-# created_at :datetime
-#
-
View
7 test/fixtures/email_updates.yml
@@ -1,7 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-# one:
-# column: value
-#
-# two:
-# column: value
View
74 test/fixtures/enabled_modules.yml
@@ -1,74 +0,0 @@
----
-enabled_modules_001:
- name: issue_tracking
- project_id: 1
- id: 1
-enabled_modules_002:
- name: time_tracking
- project_id: 1
- id: 2
-enabled_modules_003:
- name: news
- project_id: 1
- id: 3
-enabled_modules_004:
- name: documents
- project_id: 1
- id: 4
-enabled_modules_005:
- name: files
- project_id: 1
- id: 5
-enabled_modules_006:
- name: wiki
- project_id: 1
- id: 6
-enabled_modules_007:
- name: repository
- project_id: 1
- id: 7
-enabled_modules_008:
- name: boards
- project_id: 1
- id: 8
-enabled_modules_009:
- name: repository
- project_id: 3
- id: 9
-enabled_modules_010:
- name: wiki
- project_id: 3
- id: 10
-enabled_modules_011:
- name: issue_tracking
- project_id: 2
- id: 11
-enabled_modules_012:
- name: time_tracking
- project_id: 3
- id: 12
-enabled_modules_013:
- name: issue_tracking
- project_id: 3
- id: 13
-enabled_modules_014:
- name: issue_tracking
- project_id: 5
- id: 14
-enabled_modules_015:
- name: wiki
- project_id: 2
- id: 15
-enabled_modules_016:
- name: boards
- project_id: 2
- id: 16
-# == Schema Information
-#
-# Table name: enabled_modules
-#
-# id :integer not null, primary key
-# project_id :integer
-# name :string(255) not null
-#
-
View
21 test/fixtures/enterprises.yml
@@ -1,21 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-# one:
-# column: value
-#
-# two:
-# column: value
-
-
-# == Schema Information
-#
-# Table name: enterprises
-#
-# id :integer not null, primary key
-# name :string(255)
-# description :text
-# homepage :string(255) default("")
-# created_at :datetime
-# updated_at :datetime
-#
-
View
62 test/fixtures/enumerations.yml
@@ -1,62 +0,0 @@
----
-enumerations_004:
- name: Low
- id: 4
- opt: IPRI
- type: IssuePriority
- active: true
-enumerations_005:
- name: Normal
- id: 5
- opt: IPRI
- type: IssuePriority
- is_default: true
- active: true
-enumerations_006:
- name: High
- id: 6
- opt: IPRI
- type: IssuePriority
- active: true
-enumerations_007:
- name: Urgent
- id: 7
- opt: IPRI
- type: IssuePriority
- active: true
-enumerations_008:
- name: Immediate
- id: 8
- opt: IPRI
- type: IssuePriority
- active: true
-enumerations_012:
- name: Default Enumeration
- id: 12
- opt: ''
- type: Enumeration
- is_default: true
- active: true
-enumerations_013:
- name: Another Enumeration
- id: 13
- opt: ''
- type: Enumeration
- active: true
-
-
-# == Schema Information
-#
-# Table name: enumerations
-#
-# id :integer not null, primary key
-# opt :string(4) default(""), not null
-# name :string(30) default(""), not null
-# position :integer default(1)
-# is_default :boolean default(FALSE), not null
-# type :string(255)
-# active :boolean default(TRUE), not null
-# project_id :integer
-# parent_id :integer
-#
-
View
BIN test/fixtures/files/060719210727_archive.zip
Binary file not shown.
View
13 test/fixtures/files/060719210727_changeset.diff
@@ -1,13 +0,0 @@
-Index: trunk/app/controllers/issues_controller.rb
-===================================================================
---- trunk/app/controllers/issues_controller.rb (r‚vision 1483)
-+++ trunk/app/controllers/issues_controller.rb (r‚vision 1484)
-@@ -149,7 +149,7 @@
- attach_files(@issue, params[:attachments])
- flash.now[:success] = l(:notice_successful_create)
- Mailer.deliver_issue_add(@issue) if Setting.notified_events.include?('issue_added')
-- redirect_to :controller => 'issues', :action => 'show', :id => @issue, :project_id => @project
-+ redirect_to :controller => 'issues', :action => 'show', :id => @issue
- return
- end
- end
View
10 test/fixtures/files/060719210727_source.rb
@@ -1,10 +0,0 @@
-# The Greeter class
-class Greeter
- def initialize(name)
- @name = name.capitalize
- end
-
- def salute
- puts "Hello #{@name}!"
- end
-end
View
2 test/fixtures/files/testfile.txt
@@ -1,2 +0,0 @@
-this is a text file for upload tests
-with multiple lines
View
20 test/fixtures/help_sections.yml
@@ -1,20 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-# one:
-# column: value
-#
-# two:
-# column: value
-
-# == Schema Information
-#
-# Table name: help_sections
-#
-# id :integer not null, primary key
-# user_id :integer default(0), not null
-# name :string(255)
-# show :boolean default(TRUE)
-# created_at :datetime
-# updated_at :datetime
-#
-
View
23 test/fixtures/hourly_types.yml
@@ -1,23 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-# one:
-# column: value
-#
-# two:
-# column: value
-
-
-
-# == Schema Information
-#
-# Table name: hourly_types
-#
-# id :integer not null, primary key
-# project_id :integer
-# name :string(255)
-# hourly_rate_per_person :decimal(8, 2)
-# hourly_cap :decimal(8, 2)
-# created_at :datetime
-# updated_at :datetime
-#
-
View
34 test/fixtures/invitations.yml
@@ -1,34 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-one:
- user_id: 1
- project_id: 1
- token: MyString
- status: 1
- role: 1
-
-two:
- user_id: 1
- project_id: 1
- token: MyString
- status: 1
- role: 1
-
-
-
-
-# == Schema Information
-#
-# Table name: invitations
-#
-# id :integer not null, primary key
-# user_id :integer
-# project_id :integer
-# token :string(255)
-# status :integer default(0)
-# role_id :integer
-# mail :string(255)
-# created_at :datetime
-# updated_at :datetime
-#
-
View
26 test/fixtures/issue_relations.yml
@@ -1,26 +0,0 @@
-issue_relation_001:
- id: 1
- issue_from_id: 10
- issue_to_id: 9
- relation_type: blocks
- delay:
-issue_relation_002:
- id: 2
- issue_from_id: 2
- issue_to_id: 3
- relation_type: relates
- delay:
-
-
-
-# == Schema Information
-#
-# Table name: issue_relations
-#
-# id :integer not null, primary key
-# issue_from_id :integer not null
-# issue_to_id :integer not null
-# relation_type :string(255) default(""), not null
-# delay :integer
-#
-
View
46 test/fixtures/issue_statuses.yml
@@ -1,46 +0,0 @@
----
-issue_statuses_006:
- name: Rejected
- is_default: false
- is_closed: true
- id: 6
-issue_statuses_001:
- name: New
- is_default: true
- is_closed: false
- id: 1
-issue_statuses_002:
- name: Assigned
- is_default: false
- is_closed: false
- id: 2
-issue_statuses_003:
- name: Resolved
- is_default: false
- is_closed: false
- id: 3
-issue_statuses_004:
- name: Feedback
- is_default: false
- is_closed: false
- id: 4
-issue_statuses_005:
- name: Closed
- is_default: false
- is_closed: true
- id: 5
-
-
-
-# == Schema Information
-#
-# Table name: issue_statuses
-#
-# id :integer not null, primary key
-# name :string(30) default(""), not null
-# is_closed :boolean default(FALSE), not null
-# is_default :boolean default(FALSE), not null
-# position :integer default(1)
-# default_done_ratio :integer
-#
-
View
26 test/fixtures/issue_votes.yml
@@ -1,26 +0,0 @@
-# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
-
-# one:
-# column: value
-#
-# two:
-# column: value
-
-
-
-
-
-# == Schema Information
-#
-# Table name: issue_votes
-#
-# id :integer not null, primary key
-# points :float not null
-# user_id :integer not null
-# issue_id :integer not null
-# vote_type :integer not null
-# created_at :datetime
-# updated_at :datetime
-# isbinding :boolean default(FALSE)
-#
-
View
255 test/fixtures/issues.yml
@@ -1,255 +0,0 @@
----
-issues_001:
- created_at: <%= 3.days.ago.to_date.to_s(:db) %>
- project_id: 1
- updated_at: <%= 1.day.ago.to_date.to_s(:db) %>
- priority_id: 4
- subject: Can't print recipes
- id: 1
- fixed_version_id:
- description: Unable to print recipes
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
- start_date: <%= 1.day.ago.to_date.to_s(:db) %>
- due_date: <%= 10.day.from_now.to_date.to_s(:db) %>
-issues_002:
- created_at: 2006-07-19 21:04:21 +02:00
- project_id: 1
- updated_at: 2006-07-19 21:09:50 +02:00
- priority_id: 5
- subject: Add ingredients categories
- id: 2
- fixed_version_id: 2
- description: Ingredients of the recipe should be classified by categories
- tracker_id: 2
- assigned_to_id: 3
- author_id: 2
- status_id: 2
- start_date: <%= 2.day.ago.to_date.to_s(:db) %>
- due_date:
-issues_003:
- created_at: 2006-07-19 21:07:27 +02:00
- project_id: 1
- updated_at: 2006-07-19 21:07:27 +02:00
- priority_id: 4
- subject: Error 281 when updating a recipe
- id: 3
- fixed_version_id:
- category_id:
- description: Error 281 is encountered when saving a recipe
- tracker_id: 1
- assigned_to_id: 3
- author_id: 2
- status_id: 1
- start_date: <%= 1.day.from_now.to_date.to_s(:db) %>
- due_date: <%= 40.day.ago.to_date.to_s(:db) %>
-issues_004:
- created_at: <%= 5.days.ago.to_date.to_s(:db) %>
- project_id: 2
- updated_at: <%= 2.days.ago.to_date.to_s(:db) %>
- priority_id: 4
- subject: Issue on project 2
- id: 4
- fixed_version_id:
- category_id:
- description: Issue on project 2
- tracker_id: 1
- assigned_to_id: 2
- author_id: 2
- status_id: 1
-issues_005:
- created_at: <%= 5.days.ago.to_date.to_s(:db) %>
- project_id: 3
- updated_at: <%= 2.days.ago.to_date.to_s(:db) %>
- priority_id: 4
- subject: Subproject issue
- id: 5
- fixed_version_id:
- category_id:
- description: This is an issue on a cookbook subproject
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
-issues_006:
- created_at: <%= 1.minute.ago.to_date.to_s(:db) %>
- project_id: 5
- updated_at: <%= 1.minute.ago.to_date.to_s(:db) %>
- priority_id: 4
- subject: Issue of a private subproject
- id: 6
- fixed_version_id:
- category_id:
- description: This is an issue of a private subproject of cookbook
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
- start_date: <%= Date.today.to_s(:db) %>
- due_date: <%= 1.days.from_now.to_date.to_s(:db) %>
-issues_007:
- created_at: <%= 10.days.ago.to_date.to_s(:db) %>
- project_id: 1
- updated_at: <%= 10.days.ago.to_date.to_s(:db) %>
- priority_id: 5
- subject: Issue due today
- id: 7
- fixed_version_id:
- category_id:
- description: This is an issue that is due today
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
- start_date: <%= 10.days.ago.to_s(:db) %>
- due_date: <%= Date.today.to_s(:db) %>
- lock_version: 0
-issues_008:
- created_at: <%= 10.days.ago.to_date.to_s(:db) %>
- project_id: 1
- updated_at: <%= 10.days.ago.to_date.to_s(:db) %>
- priority_id: 5
- subject: Closed issue
- id: 8
- fixed_version_id:
- category_id:
- description: This is a closed issue.
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 5
- start_date:
- due_date:
- lock_version: 0
-issues_009:
- created_at: <%= 1.minute.ago.to_date.to_s(:db) %>
- project_id: 5
- updated_at: <%= 1.minute.ago.to_date.to_s(:db) %>
- priority_id: 5
- subject: Blocked Issue
- id: 9
- fixed_version_id:
- category_id:
- description: This is an issue that is blocked by issue #10
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
- start_date: <%= Date.today.to_s(:db) %>
- due_date: <%= 1.days.from_now.to_date.to_s(:db) %>
-issues_010:
- created_at: <%= 1.minute.ago.to_date.to_s(:db) %>
- project_id: 5
- updated_at: <%= 1.minute.ago.to_date.to_s(:db) %>
- priority_id: 5
- subject: Issue Doing the Blocking
- id: 10
- fixed_version_id:
- category_id:
- description: This is an issue that blocks issue #9
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
- start_date: <%= Date.today.to_s(:db) %>
- due_date: <%= 1.days.from_now.to_date.to_s(:db) %>
-issues_011:
- created_at: <%= 3.days.ago.to_date.to_s(:db) %>
- project_id: 1
- updated_at: <%= 1.day.ago.to_date.to_s(:db) %>
- priority_id: 5
- subject: Closed issue on a closed version
- id: 11
- fixed_version_id: 1
- category_id: 1
- description:
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 5
- start_date: <%= 1.day.ago.to_date.to_s(:db) %>
- due_date:
-issues_012:
- created_at: <%= 3.days.ago.to_date.to_s(:db) %>
- project_id: 1
- updated_at: <%= 1.day.ago.to_date.to_s(:db) %>
- priority_id: 5
- subject: Closed issue on a locked version
- id: 12
- fixed_version_id: 2
- category_id: 1
- description:
- tracker_id: 1
- assigned_to_id:
- author_id: 3
- status_id: 5
- start_date: <%= 1.day.ago.to_date.to_s(:db) %>
- due_date:
-issues_013:
- created_at: <%= 5.days.ago.to_date.to_s(:db) %>
- project_id: 3
- updated_at: <%= 2.days.ago.to_date.to_s(:db) %>
- priority_id: 4
- subject: Subproject issue two
- id: 13
- fixed_version_id:
- category_id:
- description: This is a second issue on a cookbook subproject
- tracker_id: 1
- assigned_to_id:
- author_id: 2
- status_id: 1
-
-
-
-
-
-
-
-
-
-
-# == Schema Information
-#
-# Table name: issues
-#
-# id :integer not null, primary key
-# tracker_id :integer default(0), not null
-# project_id :integer default(0), not null
-# subject :string(255) default(""), not null
-# description :text
-# due_date :date
-# status_id :integer default(0), not null
-# assigned_to_id :integer
-# priority_id :integer default(0), not null
-# author_id :integer default(0), not null
-# lock_version :integer default(0), not null
-# created_at :datetime
-# updated_at :datetime
-# start_date :date
-# done_ratio :integer default(0), not null
-# estimated_hours :float
-# expected_date :date
-# points :float
-# pri :integer default(0)
-# accept :integer default(0)
-# reject :integer default(0)
-# accept_total :integer default(0)
-# agree :integer default(0)
-# disagree :integer default(0)
-# agree_total :integer default(0)
-# retro_id :integer
-# accept_nonbind :integer default(0)
-# reject_nonbind :integer default(0)
-# accept_total_nonbind :integer default(0)
-# agree_nonbind :integer default(0)
-# disagree_nonbind :integer default(0)
-# agree_total_nonbind :integer default(0)
-# points_nonbind :integer default(0)
-# pri_nonbind :integer default(0)
-# hourly_type_id :integer
-# num_hours :integer default(0)
-#
-
View
35 test/fixtures/journal_details.yml
@@ -1,35 +0,0 @@
----
-journal_details_001:
- old_value: "1"
- property: attr
- id: 1
- value: "2"
- prop_key: status_id
- journal_id: 1
-journal_details_002:
- old_value: "40"
- property: attr
- id: 2
- value: "30"
- prop_key: done_ratio
- journal_id: 1
-journal_details_003:
- old_value: nil
- property: attr
- id: 3
- value: "6"
- prop_key: fixed_version_id
- journal_id: 4
-
-# == Schema Information
-#
-# Table name: journal_details
-#
-# id :integer not null, primary key
-# journal_id :integer default(0), not null
-# property :string(30) default(""), not null
-# prop_key :string(30) default(""), not null
-# old_value :string(255)
-# value :string(255)
-#
-
View
43 test/fixtures/journals.yml
@@ -1,43 +0,0 @@
----
-journals_001:
- created_at: <%= 2.days.ago.to_date.to_s(:db) %>
- notes: "Journal notes"
- id: 1
- journalized_type: Issue
- user_id: 1
- journalized_id: 1
-journals_002:
- created_at: <%= 1.days.ago.to_date.to_s(:db) %>
- notes: "Some notes with Redmine links: #2, r2."
- id: 2
- journalized_type: Issue
- user_id: 2
- journalized_id: 1
-journals_003:
- created_at: <%= 1.days.ago.to_date.to_s(:db) %>
- notes: "A comment with inline image: !picture.jpg!"
- id: 3
- journalized_type: Issue
- user_id: 2
- journalized_id: 2
-journals_004:
- created_at: <%= 1.days.ago.to_date.to_s(:db) %>
- notes: "A comment with a private version."
- id: 4
- journalized_type: Issue
- user_id: 1
- journalized_id: 6
-
-# == Schema Information
-#
-# Table name: journals
-#
-# id :integer not null, primary key
-# journalized_id :integer default(0), not null
-# journalized_type :string(30) default(""), not null
-# user_id :integer default(0), not null
-# notes :text
-# created_at :datetime not null
-# updated_at :datetime
-#
-
View
15 test/fixtures/mail_handler/message_reply.eml
@@ -1,15 +0,0 @@
-Message-ID: <4974C93E.3070005@somenet.foo>
-Date: Mon, 19 Jan 2009 19:41:02 +0100
-From: "John Smith" <jsmith@somenet.foo>
-User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
-MIME-Version: 1.0
-To: redmine@somenet.foo
-Subject: Reply via email
-References: <redmine.message-2.20070512171800@somenet.foo>
-In-Reply-To: <redmine.message-2.20070512171800@somenet.foo>
-Content-Type: text/plain; charset=UTF-8; format=flowed
-Content-Transfer-Encoding: 7bit
-
-This is a reply to a forum message.
-
-
View
13 test/fixtures/mail_handler/message_reply_by_subject.eml
@@ -1,13 +0,0 @@
-Message-ID: <4974C93E.3070005@somenet.foo>
-Date: Mon, 19 Jan 2009 19:41:02 +0100
-From: "John Smith" <jsmith@somenet.foo>
-User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
-MIME-Version: 1.0
-To: redmine@somenet.foo
-Subject: Re: [eCookbook - Help board - msg2] Reply to the first post
-Content-Type: text/plain; charset=UTF-8; format=flowed