trusty-cms 2.0.10.pre.beta → 2.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -2
- data/INSTALL.md +7 -6
- data/app/assets/stylesheets/admin/partials/_forms.scss +43 -17
- data/app/assets/stylesheets/admin/partials/_index.scss +7 -4
- data/app/views/admin/configuration/edit.html.haml +1 -1
- data/app/views/admin/layouts/_form.html.haml +1 -1
- data/app/views/admin/layouts/remove.html.haml +1 -1
- data/app/views/admin/pages/_fields.html.haml +1 -1
- data/app/views/admin/pages/remove.html.haml +1 -1
- data/app/views/admin/preferences/edit.html.haml +1 -1
- data/app/views/admin/users/_form.html.haml +1 -1
- data/app/views/admin/users/_password_fields.html.haml +1 -1
- data/app/views/admin/users/remove.html.haml +1 -1
- data/lib/trusty_cms.rb +1 -1
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/log/development.log +156 -0
- data/spec/dummy/log/test.log +14883 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- data/spec/features/pages_spec.rb +2 -1
- data/spec/support/custom_actions.rb +1 -0
- metadata +2 -4
- data/spec/helpers/regions_helper_spec.rb +0 -16
Binary file
|
Binary file
|
data/spec/features/pages_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -790,7 +790,6 @@ files:
|
|
790
790
|
- spec/features/layouts_spec.rb
|
791
791
|
- spec/features/pages_spec.rb
|
792
792
|
- spec/fixtures/users.yml
|
793
|
-
- spec/helpers/regions_helper_spec.rb
|
794
793
|
- spec/rails_helper.rb
|
795
794
|
- spec/spec_helper.rb
|
796
795
|
- spec/support/custom_actions.rb
|
@@ -985,7 +984,6 @@ test_files:
|
|
985
984
|
- spec/features/layouts_spec.rb
|
986
985
|
- spec/features/pages_spec.rb
|
987
986
|
- spec/fixtures/users.yml
|
988
|
-
- spec/helpers/regions_helper_spec.rb
|
989
987
|
- spec/rails_helper.rb
|
990
988
|
- spec/spec_helper.rb
|
991
989
|
- spec/support/custom_actions.rb
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'rails_helper'
|
2
|
-
|
3
|
-
RSpec.describe Admin::RegionsHelper, type: :helper do
|
4
|
-
|
5
|
-
describe "#render_region" do
|
6
|
-
|
7
|
-
before :each do
|
8
|
-
allow(controller).to receive(:controller_name).and_return("page")
|
9
|
-
allow(controller).to receive(:template_name).and_return("index")
|
10
|
-
end
|
11
|
-
|
12
|
-
it "outputs html_safe string" do
|
13
|
-
expect(helper.render_region :foo).to be_html_safe
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|