let my tests pass!
Oleg
committed Jan 13, 2012
commit d2aa804c5326f5998b7d6bbf0071eefbafd3b864
Showing 5
changed files with
5 additions
and 5 deletions
config/initializers/comfortable_mexican_sofa.rb
+1
-1
| @@ | @@ -2,7 +2,7 @@ |
| ComfortableMexicanSofa.configure do |config| | |
| # Title of the admin area | |
| - | # config.cms_title = 'ComfortableMexicanSofa MicroCMS' |
| + | # config.cms_title = 'ComfortableMexicanSofa CMS Engine' |
| # Module responsible for authentication. You can replace it with your own. | |
| # It simply needs to have #authenticate method. See http_auth.rb for reference. | |
comfortable_mexican_sofa/configuration.rb b/lib/comfortable_mexican_sofa/configuration.rb
+1
-1
| @@ | @@ -51,7 +51,7 @@ class ComfortableMexicanSofa::Configuration |
| # Configuration defaults | |
| def initialize | |
| - | @cms_title = 'ComfortableMexicanSofa MicroCMS' |
| + | @cms_title = 'ComfortableMexicanSofa CMS Engine' |
| @admin_auth = 'ComfortableMexicanSofa::HttpAuth' | |
| @public_auth = 'ComfortableMexicanSofa::DummyAuth' | |
| @seed_data_path = nil | |
test/test_helper.rb
+1
-1
| @@ | @@ -25,7 +25,7 @@ class ActiveSupport::TestCase |
| # resetting default configuration | |
| def reset_config | |
| ComfortableMexicanSofa.configure do |config| | |
| - | config.cms_title = 'ComfortableMexicanSofa MicroCMS' |
| + | config.cms_title = 'ComfortableMexicanSofa CMS Engine' |
| config.admin_auth = 'ComfortableMexicanSofa::HttpAuth' | |
| config.public_auth = 'ComfortableMexicanSofa::DummyAuth' | |
| config.admin_route_prefix = 'cms-admin' | |
test/unit/configuration_test.rb
+1
-1
| @@ | @@ -6,7 +6,7 @@ class ConfigurationTest < ActiveSupport::TestCase |
| def test_configuration_presense | |
| assert config = ComfortableMexicanSofa.configuration | |
| - | assert_equal 'ComfortableMexicanSofa MicroCMS', config.cms_title |
| + | assert_equal 'ComfortableMexicanSofa CMS Engine', config.cms_title |
| assert_equal 'ComfortableMexicanSofa::HttpAuth', config.admin_auth | |
| assert_equal 'ComfortableMexicanSofa::DummyAuth', config.public_auth | |
| assert_equal 'cms-admin', config.admin_route_prefix | |
test/unit/models/file_test.rb
+1
-1
| @@ | @@ -42,7 +42,7 @@ class CmsFileTest < ActiveSupport::TestCase |
| assert_equal 'Image', file.label | |
| assert_equal 'image.jpg', file.file_file_name | |
| assert_equal 'image/jpeg', file.file_content_type | |
| - | assert file.file_file_size < upload.size |
| + | assert file.file_file_size < upload.size, [file.file_file_size, upload.size].to_s |
| assert_equal 1, file.position | |
| end | |
| end | |