browsercms 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/application_helper.rb +19 -1
- data/app/views/cms/blocks/index.html.erb +1 -1
- data/app/views/cms/pages/_edit_connector.html.erb +3 -1
- data/app/views/cms/toolbar/index.html.erb +0 -11
- data/browsercms.gemspec +53 -54
- data/lib/cms/behaviors/versioning.rb +14 -6
- data/test/unit/helpers/application_helper_test.rb +51 -0
- data/test/unit/lib/content_block_test.rb +41 -4
- data/test/unit/models/attachment_test.rb +2 -2
- metadata +49 -49
@@ -1,3 +1,21 @@
|
|
1
1
|
# Any code for core CMS should go in /cms/application_helper.rb rather than here.
|
2
2
|
module ApplicationHelper
|
3
|
-
|
3
|
+
|
4
|
+
def require_stylesheet_link(sources=(), content_area=:html_head)
|
5
|
+
@required_stylesheet_links ||= []
|
6
|
+
new_links = sources.to_a - @required_stylesheet_links
|
7
|
+
if !new_links.empty?
|
8
|
+
@required_stylesheet_links |= new_links
|
9
|
+
content_for(content_area, stylesheet_link_tag(new_links))
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def require_javascript_include(sources=(), content_area=:html_head)
|
14
|
+
@required_javascript_includes ||= []
|
15
|
+
new_links = sources.to_a - @required_javascript_includes
|
16
|
+
if !new_links.empty?
|
17
|
+
@required_javascript_includes |= new_links
|
18
|
+
content_for(content_area, javascript_include_tag(new_links))
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -124,5 +124,5 @@
|
|
124
124
|
<% if params[:search] && @blocks.size == 0 %>
|
125
125
|
<div class="pagination">No results found for '<%= params[:search][:term] %>'</div>
|
126
126
|
<% elsif @blocks.total_pages > 1 %>
|
127
|
-
<%= render_pagination @blocks, content_type.content_block_type, :order => params[:order] %>
|
127
|
+
<%= render_pagination @blocks, content_type.content_block_type, :order => params[:order], :search => params[:search] %>
|
128
128
|
<% end %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="cms_edit_connectable" style="display: block; height: auto; position: relative; border: 1px solid #999; margin: 1px -6px 0 -6px; padding: 25px 5px 0 5px; background: url(/images/cms/containers/beta.png) repeat-x 0 0;">
|
1
|
+
<div id="connector_<%= connector.id %>" class="cms_edit_connectable" style="display: block; height: auto; position: relative; border: 1px solid #999; margin: 1px -6px 0 -6px; padding: 25px 5px 0 5px; background: url(/images/cms/containers/beta.png) repeat-x 0 0;">
|
2
2
|
<div style="display: block; width: 100%; position: absolute; top: 5px; left: 5px; height: 30px;">
|
3
3
|
<%= link_to image_tag("cms/pages/show_connectable.gif", :style => "text-decoration: none; padding: 0; background: none; margin: 0; float: none; border: none;"), cms_connectable_path(connectable), :title => "View this content (#{connectable.name})" , :style => "text-decoration: none; padding: 0 2px 0 0; background: none; margin: 0; float: none; border: none;"%>
|
4
4
|
<%= link_to image_tag("cms/pages/edit_connectable.gif", :style => "text-decoration: none; padding: 0; background: none; margin: 0; float: none; border: none;"), edit_cms_connectable_path(connectable, :_redirect_to => @page.path), :title => "Edit this content (#{connectable.name})" , :style => "text-decoration: none; padding: 0 2px 0 0; background: none; margin: 0; float: none; border: none;"%>
|
@@ -17,3 +17,5 @@
|
|
17
17
|
</div>
|
18
18
|
<%= render_connectable connectable %>
|
19
19
|
</div>
|
20
|
+
<% require_javascript_include ['jquery', 'cms/application'] %>
|
21
|
+
|
@@ -1,12 +1 @@
|
|
1
|
-
<% content_for :html_head do %>
|
2
|
-
<script type="text/javascript">
|
3
|
-
jQuery(function($){
|
4
|
-
$.cms.attachEventHandlers(parent.window.document)
|
5
|
-
$('.cms_connectable_header a.cms_connectable_edit', parent.window.document).each(function(){
|
6
|
-
$(this).attr('href',
|
7
|
-
$(this).parents('.cms_edit_connectable').find('.cms_connectable_edit_link').attr('href'))
|
8
|
-
})
|
9
|
-
})
|
10
|
-
</script>
|
11
|
-
<% end %>
|
12
1
|
<%= render_cms_toolbar(:sitemap) %>
|
data/browsercms.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{browsercms}
|
8
|
-
s.version = "3.0.
|
8
|
+
s.version = "3.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["BrowserMedia"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-12-23}
|
13
13
|
s.email = %q{github@browsermedia.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE.txt",
|
@@ -1240,70 +1240,70 @@ Gem::Specification.new do |s|
|
|
1240
1240
|
s.rubygems_version = %q{1.3.5}
|
1241
1241
|
s.summary = %q{BrowserCMS is a general purpose, open source Web Content Management System (CMS), written in Ruby on Rails.}
|
1242
1242
|
s.test_files = [
|
1243
|
-
"test/
|
1244
|
-
"test/functional/cms/toolbar_controller_test.rb",
|
1245
|
-
"test/functional/cms/sessions_controller_test.rb",
|
1246
|
-
"test/functional/cms/content_types_controller_test.rb",
|
1247
|
-
"test/functional/cms/dashboard_controller_test.rb",
|
1248
|
-
"test/functional/cms/cache_controller_test.rb",
|
1249
|
-
"test/functional/cms/html_blocks_controller_test.rb",
|
1250
|
-
"test/functional/cms/users_controller_test.rb",
|
1251
|
-
"test/functional/cms/content_controller_test.rb",
|
1252
|
-
"test/functional/cms/links_controller_test.rb",
|
1253
|
-
"test/functional/cms/dynamic_views_controller_test.rb",
|
1254
|
-
"test/functional/cms/categories_controller_test.rb",
|
1255
|
-
"test/functional/cms/content_block_controller_test.rb",
|
1256
|
-
"test/functional/cms/pages_controller_test.rb",
|
1257
|
-
"test/functional/cms/connectors_controller_test.rb",
|
1258
|
-
"test/functional/cms/home_controller_test.rb",
|
1259
|
-
"test/functional/cms/section_nodes_controller_test.rb",
|
1260
|
-
"test/functional/cms/groups_controller_test.rb",
|
1261
|
-
"test/functional/cms/sections_controller_test.rb",
|
1262
|
-
"test/functional/cms/portlets_controller_test.rb",
|
1263
|
-
"test/functional/cms/image_blocks_controller_test.rb",
|
1264
|
-
"test/factories.rb",
|
1265
|
-
"test/custom_assertions.rb",
|
1266
|
-
"test/test_logging.rb",
|
1267
|
-
"test/test_helper.rb",
|
1268
|
-
"test/unit/helpers/page_helper_test.rb",
|
1269
|
-
"test/unit/helpers/application_helper_test.rb",
|
1270
|
-
"test/unit/helpers/path_helper_test.rb",
|
1271
|
-
"test/unit/helpers/menu_helper_test.rb",
|
1272
|
-
"test/unit/helpers/form_builder_test.rb",
|
1273
|
-
"test/unit/schema_statements_test.rb",
|
1243
|
+
"test/unit/schema_statements_test.rb",
|
1274
1244
|
"test/unit/models/user_test.rb",
|
1275
1245
|
"test/unit/models/link_test.rb",
|
1276
|
-
"test/unit/models/email_page_portlet_test.rb",
|
1277
1246
|
"test/unit/models/group_test.rb",
|
1278
|
-
"test/unit/models/
|
1247
|
+
"test/unit/models/email_page_portlet_test.rb",
|
1248
|
+
"test/unit/models/connector_test.rb",
|
1279
1249
|
"test/unit/models/sections_test.rb",
|
1280
|
-
"test/unit/models/section_node_test.rb",
|
1281
1250
|
"test/unit/models/content_type_test.rb",
|
1282
|
-
"test/unit/models/
|
1283
|
-
"test/unit/models/
|
1284
|
-
"test/unit/models/
|
1285
|
-
"test/unit/models/task_test.rb",
|
1286
|
-
"test/unit/models/page_test.rb",
|
1251
|
+
"test/unit/models/file_block_test.rb",
|
1252
|
+
"test/unit/models/attachment_test.rb",
|
1253
|
+
"test/unit/models/site_test.rb",
|
1287
1254
|
"test/unit/models/category_test.rb",
|
1255
|
+
"test/unit/models/html_block_test.rb",
|
1288
1256
|
"test/unit/models/page_route_test.rb",
|
1257
|
+
"test/unit/models/section_node_test.rb",
|
1258
|
+
"test/unit/models/category_type_test.rb",
|
1289
1259
|
"test/unit/models/page_partial_test.rb",
|
1290
|
-
"test/unit/models/
|
1291
|
-
"test/unit/models/file_block_test.rb",
|
1292
|
-
"test/unit/models/permission_test.rb",
|
1260
|
+
"test/unit/models/task_test.rb",
|
1293
1261
|
"test/unit/models/page_template_test.rb",
|
1294
|
-
"test/unit/models/
|
1295
|
-
"test/unit/
|
1262
|
+
"test/unit/models/permission_test.rb",
|
1263
|
+
"test/unit/models/page_test.rb",
|
1264
|
+
"test/unit/models/portlet_test.rb",
|
1265
|
+
"test/unit/helpers/page_helper_test.rb",
|
1266
|
+
"test/unit/helpers/path_helper_test.rb",
|
1267
|
+
"test/unit/helpers/form_builder_test.rb",
|
1268
|
+
"test/unit/helpers/application_helper_test.rb",
|
1269
|
+
"test/unit/helpers/menu_helper_test.rb",
|
1270
|
+
"test/unit/behaviors/attaching_test.rb",
|
1296
1271
|
"test/unit/behaviors/searching_test.rb",
|
1297
|
-
"test/unit/behaviors/dynamic_attributes_test.rb",
|
1298
1272
|
"test/unit/behaviors/taggable_test.rb",
|
1299
|
-
"test/unit/behaviors/
|
1300
|
-
"test/unit/
|
1273
|
+
"test/unit/behaviors/dynamic_attributes_test.rb",
|
1274
|
+
"test/unit/behaviors/publishable_test.rb",
|
1301
1275
|
"test/unit/extensions/active_record/base_test.rb",
|
1302
1276
|
"test/unit/extensions/integer_test.rb",
|
1303
|
-
"test/unit/
|
1277
|
+
"test/unit/extensions/hash_test.rb",
|
1304
1278
|
"test/unit/lib/generators_test.rb",
|
1279
|
+
"test/unit/lib/routes_test.rb",
|
1305
1280
|
"test/unit/lib/content_block_test.rb",
|
1306
|
-
"test/
|
1281
|
+
"test/test_helper.rb",
|
1282
|
+
"test/custom_assertions.rb",
|
1283
|
+
"test/functional/cms/connectors_controller_test.rb",
|
1284
|
+
"test/functional/cms/section_nodes_controller_test.rb",
|
1285
|
+
"test/functional/cms/dashboard_controller_test.rb",
|
1286
|
+
"test/functional/cms/sessions_controller_test.rb",
|
1287
|
+
"test/functional/cms/groups_controller_test.rb",
|
1288
|
+
"test/functional/cms/file_blocks_controller_test.rb",
|
1289
|
+
"test/functional/cms/links_controller_test.rb",
|
1290
|
+
"test/functional/cms/sections_controller_test.rb",
|
1291
|
+
"test/functional/cms/content_types_controller_test.rb",
|
1292
|
+
"test/functional/cms/pages_controller_test.rb",
|
1293
|
+
"test/functional/cms/portlets_controller_test.rb",
|
1294
|
+
"test/functional/cms/image_blocks_controller_test.rb",
|
1295
|
+
"test/functional/cms/categories_controller_test.rb",
|
1296
|
+
"test/functional/cms/content_block_controller_test.rb",
|
1297
|
+
"test/functional/cms/cache_controller_test.rb",
|
1298
|
+
"test/functional/cms/home_controller_test.rb",
|
1299
|
+
"test/functional/cms/users_controller_test.rb",
|
1300
|
+
"test/functional/cms/dynamic_views_controller_test.rb",
|
1301
|
+
"test/functional/cms/content_controller_test.rb",
|
1302
|
+
"test/functional/cms/html_blocks_controller_test.rb",
|
1303
|
+
"test/functional/cms/toolbar_controller_test.rb",
|
1304
|
+
"test/factories.rb",
|
1305
|
+
"test/integration/login_test.rb",
|
1306
|
+
"test/test_logging.rb"
|
1307
1307
|
]
|
1308
1308
|
|
1309
1309
|
if s.respond_to? :specification_version then
|
@@ -1316,4 +1316,3 @@ Gem::Specification.new do |s|
|
|
1316
1316
|
else
|
1317
1317
|
end
|
1318
1318
|
end
|
1319
|
-
|
@@ -77,11 +77,9 @@ module Cms
|
|
77
77
|
# First get the values from the draft
|
78
78
|
attrs = draft_attributes
|
79
79
|
|
80
|
-
# Now overwrite
|
81
|
-
self.class.versioned_columns.each do |col|
|
82
|
-
|
83
|
-
attrs[col] = send(col)
|
84
|
-
end
|
80
|
+
# Now overwrite all values
|
81
|
+
(self.class.versioned_columns - %w(version)).each do |col|
|
82
|
+
attrs[col] = send(col)
|
85
83
|
end
|
86
84
|
|
87
85
|
attrs[:version_comment] = @version_comment || default_version_comment
|
@@ -112,7 +110,7 @@ module Cms
|
|
112
110
|
#logger.info "..... Calling valid?"
|
113
111
|
return false unless !perform_validations || valid?
|
114
112
|
|
115
|
-
if
|
113
|
+
if different_from_last_draft?
|
116
114
|
#logger.info "..... Changes => #{changes.inspect}"
|
117
115
|
else
|
118
116
|
#logger.info "..... No Changes"
|
@@ -258,6 +256,16 @@ module Cms
|
|
258
256
|
send(:changed_attributes)["version_comment"] = @version_comment
|
259
257
|
end
|
260
258
|
|
259
|
+
def different_from_last_draft?
|
260
|
+
return true if self.changed?
|
261
|
+
last_draft = self.draft
|
262
|
+
return true unless last_draft
|
263
|
+
(self.class.versioned_columns - %w(version)).each do |col|
|
264
|
+
return true if self.send(col) != last_draft.send(col)
|
265
|
+
end
|
266
|
+
return false
|
267
|
+
end
|
268
|
+
|
261
269
|
end
|
262
270
|
end
|
263
271
|
|
@@ -27,3 +27,54 @@ class Cms::ApplicationHelperTest < ActionView::TestCase
|
|
27
27
|
end
|
28
28
|
|
29
29
|
end
|
30
|
+
|
31
|
+
class ApplicationHelperTest < ActionView::TestCase
|
32
|
+
# returns content supplied to this method for testing
|
33
|
+
def content_for(name, content = nil, &block)
|
34
|
+
return name, content
|
35
|
+
end
|
36
|
+
def test_require_stylesheet_link_renders_to_correct_area
|
37
|
+
stylesheet = 'site'
|
38
|
+
stylesheet2 = 'site2'
|
39
|
+
# default = :html_head
|
40
|
+
assert_equal :html_head, require_stylesheet_link(stylesheet)[0]
|
41
|
+
assert_equal :other_place, require_stylesheet_link(stylesheet2, :other_place)[0]
|
42
|
+
end
|
43
|
+
|
44
|
+
def test_require_stylesheet_link_renders_link_tag
|
45
|
+
stylesheet = 'site'
|
46
|
+
assert_equal stylesheet_link_tag(stylesheet), require_stylesheet_link(stylesheet)[1]
|
47
|
+
end
|
48
|
+
def test_require_stylesheet_link_renders_link_tags
|
49
|
+
stylesheet = ['site','site2']
|
50
|
+
assert_equal stylesheet_link_tag(stylesheet), require_stylesheet_link(stylesheet)[1]
|
51
|
+
end
|
52
|
+
def test_require_stylesheet_link_does_not_re_render_tag
|
53
|
+
stylesheet = 'site'
|
54
|
+
stylesheet2 = ['site','site2']
|
55
|
+
require_stylesheet_link(stylesheet)
|
56
|
+
assert_equal stylesheet_link_tag('site2'), require_stylesheet_link(stylesheet2)[1]
|
57
|
+
end
|
58
|
+
def test_require_javascript_include_renders_to_correct_area
|
59
|
+
js = 'site'
|
60
|
+
js2 = 'site2'
|
61
|
+
# default = :html_head
|
62
|
+
assert_equal :html_head, require_javascript_include(js)[0]
|
63
|
+
assert_equal :other_place, require_javascript_include(js2, :other_place)[0]
|
64
|
+
end
|
65
|
+
|
66
|
+
def test_require_javascript_include_renders_link_tag
|
67
|
+
js = 'site'
|
68
|
+
assert_equal javascript_include_tag(js), require_javascript_include(js)[1]
|
69
|
+
end
|
70
|
+
def test_require_javascript_include_renders_link_tags
|
71
|
+
js = ['site','site2']
|
72
|
+
assert_equal javascript_include_tag(js), require_javascript_include(js)[1]
|
73
|
+
end
|
74
|
+
def test_require_javascript_include_does_not_re_render_tag
|
75
|
+
js = 'site'
|
76
|
+
js2 = ['site','site2']
|
77
|
+
require_javascript_include(js)
|
78
|
+
assert_equal javascript_include_tag('site2'), require_javascript_include(js2)[1]
|
79
|
+
end
|
80
|
+
end
|
@@ -10,7 +10,6 @@ class ContentBlockTest < ActiveSupport::TestCase
|
|
10
10
|
assert !@block.published?
|
11
11
|
|
12
12
|
@block.publish
|
13
|
-
|
14
13
|
assert @block.published?
|
15
14
|
|
16
15
|
@block.publish_on_save = true
|
@@ -71,6 +70,45 @@ class ContentBlockTest < ActiveSupport::TestCase
|
|
71
70
|
|
72
71
|
end
|
73
72
|
|
73
|
+
class VersionedContentBlock < ActiveSupport::TestCase
|
74
|
+
def setup
|
75
|
+
@block = Factory(:html_block, :name => "Versioned Content Block")
|
76
|
+
end
|
77
|
+
|
78
|
+
def test_edit
|
79
|
+
old_name = "Versioned Content Block"
|
80
|
+
new_name = "New version of content block"
|
81
|
+
@block.publish!
|
82
|
+
@block.reload
|
83
|
+
assert_equal @block.draft.name, old_name
|
84
|
+
@block.name = new_name
|
85
|
+
@block.save
|
86
|
+
@block.reload
|
87
|
+
assert_equal @block.draft.name, new_name
|
88
|
+
@block.name = old_name
|
89
|
+
@block.save
|
90
|
+
@block.reload
|
91
|
+
assert_equal @block.draft.name, old_name
|
92
|
+
end
|
93
|
+
|
94
|
+
def test_revert
|
95
|
+
old_name = "Versioned Content Block"
|
96
|
+
new_name = "New version of content block"
|
97
|
+
@block.publish!
|
98
|
+
@block.reload
|
99
|
+
assert_equal @block.draft.name, old_name
|
100
|
+
version = @block.version
|
101
|
+
@block.name = new_name
|
102
|
+
@block.save
|
103
|
+
@block.reload
|
104
|
+
assert_equal @block.draft.name, new_name
|
105
|
+
@block.revert_to(version)
|
106
|
+
@block.reload
|
107
|
+
assert_equal @block.draft.name, old_name
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
111
|
+
|
74
112
|
class VersionedContentBlockConnectedToAPageTest < ActiveSupport::TestCase
|
75
113
|
def setup
|
76
114
|
@page = Factory(:page, :section => root_section)
|
@@ -137,8 +175,7 @@ class NonVersionedContentBlockConnectedToAPageTest < ActiveSupport::TestCase
|
|
137
175
|
def test_editing_connected_to_an_unpublished_page
|
138
176
|
page_version_count = Page::Version.count
|
139
177
|
|
140
|
-
assert_equal "Dynamic Portlet 'Non-Versioned Content Block' was added to the 'main' container",
|
141
|
-
@page.draft.version_comment
|
178
|
+
assert_equal "Dynamic Portlet 'Non-Versioned Content Block' was added to the 'main' container", @page.draft.version_comment
|
142
179
|
assert !@page.published?
|
143
180
|
|
144
181
|
assert @block.update_attributes(:name => "something different", :publish_on_save => true)
|
@@ -163,4 +200,4 @@ class NonVersionedContentBlockConnectedToAPageTest < ActiveSupport::TestCase
|
|
163
200
|
|
164
201
|
assert @page.published?
|
165
202
|
end
|
166
|
-
end
|
203
|
+
end
|
@@ -53,8 +53,8 @@ class AttachmentTest < ActiveSupport::TestCase
|
|
53
53
|
# log_table_with Attachment, :id, :name, :version, :file_path
|
54
54
|
# log_table_with Attachment::Version, :id, :name, :version, :file_path, :attachment_id
|
55
55
|
assert_equal 3, attachment.draft.version
|
56
|
-
assert_equal "/
|
57
|
-
assert_equal "
|
56
|
+
assert_equal "/foo.txt", attachment.as_of_draft_version.file_path
|
57
|
+
assert_equal "foo.txt", attachment.as_of_draft_version.file_name
|
58
58
|
assert_not_equal original_file_location, attachment.as_of_draft_version.file_location
|
59
59
|
assert_equal "This is a new file", open(attachment.as_of_draft_version.full_file_location){|f| f.read}
|
60
60
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsercms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BrowserMedia
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-12-23 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -1270,67 +1270,67 @@ signing_key:
|
|
1270
1270
|
specification_version: 3
|
1271
1271
|
summary: BrowserCMS is a general purpose, open source Web Content Management System (CMS), written in Ruby on Rails.
|
1272
1272
|
test_files:
|
1273
|
-
- test/functional/cms/file_blocks_controller_test.rb
|
1274
|
-
- test/functional/cms/toolbar_controller_test.rb
|
1275
|
-
- test/functional/cms/sessions_controller_test.rb
|
1276
|
-
- test/functional/cms/content_types_controller_test.rb
|
1277
|
-
- test/functional/cms/dashboard_controller_test.rb
|
1278
|
-
- test/functional/cms/cache_controller_test.rb
|
1279
|
-
- test/functional/cms/html_blocks_controller_test.rb
|
1280
|
-
- test/functional/cms/users_controller_test.rb
|
1281
|
-
- test/functional/cms/content_controller_test.rb
|
1282
|
-
- test/functional/cms/links_controller_test.rb
|
1283
|
-
- test/functional/cms/dynamic_views_controller_test.rb
|
1284
|
-
- test/functional/cms/categories_controller_test.rb
|
1285
|
-
- test/functional/cms/content_block_controller_test.rb
|
1286
|
-
- test/functional/cms/pages_controller_test.rb
|
1287
|
-
- test/functional/cms/connectors_controller_test.rb
|
1288
|
-
- test/functional/cms/home_controller_test.rb
|
1289
|
-
- test/functional/cms/section_nodes_controller_test.rb
|
1290
|
-
- test/functional/cms/groups_controller_test.rb
|
1291
|
-
- test/functional/cms/sections_controller_test.rb
|
1292
|
-
- test/functional/cms/portlets_controller_test.rb
|
1293
|
-
- test/functional/cms/image_blocks_controller_test.rb
|
1294
|
-
- test/factories.rb
|
1295
|
-
- test/custom_assertions.rb
|
1296
|
-
- test/test_logging.rb
|
1297
|
-
- test/test_helper.rb
|
1298
|
-
- test/unit/helpers/page_helper_test.rb
|
1299
|
-
- test/unit/helpers/application_helper_test.rb
|
1300
|
-
- test/unit/helpers/path_helper_test.rb
|
1301
|
-
- test/unit/helpers/menu_helper_test.rb
|
1302
|
-
- test/unit/helpers/form_builder_test.rb
|
1303
1273
|
- test/unit/schema_statements_test.rb
|
1304
1274
|
- test/unit/models/user_test.rb
|
1305
1275
|
- test/unit/models/link_test.rb
|
1306
|
-
- test/unit/models/email_page_portlet_test.rb
|
1307
1276
|
- test/unit/models/group_test.rb
|
1308
|
-
- test/unit/models/
|
1277
|
+
- test/unit/models/email_page_portlet_test.rb
|
1278
|
+
- test/unit/models/connector_test.rb
|
1309
1279
|
- test/unit/models/sections_test.rb
|
1310
|
-
- test/unit/models/section_node_test.rb
|
1311
1280
|
- test/unit/models/content_type_test.rb
|
1312
|
-
- test/unit/models/
|
1313
|
-
- test/unit/models/
|
1314
|
-
- test/unit/models/
|
1315
|
-
- test/unit/models/task_test.rb
|
1316
|
-
- test/unit/models/page_test.rb
|
1281
|
+
- test/unit/models/file_block_test.rb
|
1282
|
+
- test/unit/models/attachment_test.rb
|
1283
|
+
- test/unit/models/site_test.rb
|
1317
1284
|
- test/unit/models/category_test.rb
|
1285
|
+
- test/unit/models/html_block_test.rb
|
1318
1286
|
- test/unit/models/page_route_test.rb
|
1287
|
+
- test/unit/models/section_node_test.rb
|
1288
|
+
- test/unit/models/category_type_test.rb
|
1319
1289
|
- test/unit/models/page_partial_test.rb
|
1320
|
-
- test/unit/models/
|
1321
|
-
- test/unit/models/file_block_test.rb
|
1322
|
-
- test/unit/models/permission_test.rb
|
1290
|
+
- test/unit/models/task_test.rb
|
1323
1291
|
- test/unit/models/page_template_test.rb
|
1324
|
-
- test/unit/models/
|
1325
|
-
- test/unit/
|
1292
|
+
- test/unit/models/permission_test.rb
|
1293
|
+
- test/unit/models/page_test.rb
|
1294
|
+
- test/unit/models/portlet_test.rb
|
1295
|
+
- test/unit/helpers/page_helper_test.rb
|
1296
|
+
- test/unit/helpers/path_helper_test.rb
|
1297
|
+
- test/unit/helpers/form_builder_test.rb
|
1298
|
+
- test/unit/helpers/application_helper_test.rb
|
1299
|
+
- test/unit/helpers/menu_helper_test.rb
|
1300
|
+
- test/unit/behaviors/attaching_test.rb
|
1326
1301
|
- test/unit/behaviors/searching_test.rb
|
1327
|
-
- test/unit/behaviors/dynamic_attributes_test.rb
|
1328
1302
|
- test/unit/behaviors/taggable_test.rb
|
1329
|
-
- test/unit/behaviors/
|
1330
|
-
- test/unit/
|
1303
|
+
- test/unit/behaviors/dynamic_attributes_test.rb
|
1304
|
+
- test/unit/behaviors/publishable_test.rb
|
1331
1305
|
- test/unit/extensions/active_record/base_test.rb
|
1332
1306
|
- test/unit/extensions/integer_test.rb
|
1333
|
-
- test/unit/
|
1307
|
+
- test/unit/extensions/hash_test.rb
|
1334
1308
|
- test/unit/lib/generators_test.rb
|
1309
|
+
- test/unit/lib/routes_test.rb
|
1335
1310
|
- test/unit/lib/content_block_test.rb
|
1311
|
+
- test/test_helper.rb
|
1312
|
+
- test/custom_assertions.rb
|
1313
|
+
- test/functional/cms/connectors_controller_test.rb
|
1314
|
+
- test/functional/cms/section_nodes_controller_test.rb
|
1315
|
+
- test/functional/cms/dashboard_controller_test.rb
|
1316
|
+
- test/functional/cms/sessions_controller_test.rb
|
1317
|
+
- test/functional/cms/groups_controller_test.rb
|
1318
|
+
- test/functional/cms/file_blocks_controller_test.rb
|
1319
|
+
- test/functional/cms/links_controller_test.rb
|
1320
|
+
- test/functional/cms/sections_controller_test.rb
|
1321
|
+
- test/functional/cms/content_types_controller_test.rb
|
1322
|
+
- test/functional/cms/pages_controller_test.rb
|
1323
|
+
- test/functional/cms/portlets_controller_test.rb
|
1324
|
+
- test/functional/cms/image_blocks_controller_test.rb
|
1325
|
+
- test/functional/cms/categories_controller_test.rb
|
1326
|
+
- test/functional/cms/content_block_controller_test.rb
|
1327
|
+
- test/functional/cms/cache_controller_test.rb
|
1328
|
+
- test/functional/cms/home_controller_test.rb
|
1329
|
+
- test/functional/cms/users_controller_test.rb
|
1330
|
+
- test/functional/cms/dynamic_views_controller_test.rb
|
1331
|
+
- test/functional/cms/content_controller_test.rb
|
1332
|
+
- test/functional/cms/html_blocks_controller_test.rb
|
1333
|
+
- test/functional/cms/toolbar_controller_test.rb
|
1334
|
+
- test/factories.rb
|
1336
1335
|
- test/integration/login_test.rb
|
1336
|
+
- test/test_logging.rb
|