brightcontent-pages 2.4.3 → 2.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/spec/features/pages_form_spec.rb +20 -0
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f22d3d333b2fd8811a51651174cfb448c72245e7
|
4
|
+
data.tar.gz: 371b8181db3d313987fe84636579e394fb6e8387
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b55543e9a7a1a6c74c287e37a8741ccc2031d0979d5a7da3af4859f4840663a871f9af08cc2162e3b36e0e17b6335768a6fcaddd2b075c44169c97e500f9544
|
7
|
+
data.tar.gz: f293c205a8e3e7c7b85ec046e1552e6bd5ee821a59ffe30eaffb7b3dc1e131cef06efd51cc2c24a22bbfa5bc824d6b1ba20c9573a0e8868ccfa6e51084ece548
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
feature "PagesForm" do
|
4
|
+
background do
|
5
|
+
@page = create :page , name: "Homepage"
|
6
|
+
end
|
7
|
+
|
8
|
+
scenario "Adds a new item" do
|
9
|
+
sign_in
|
10
|
+
|
11
|
+
visit brightcontent.pages_url
|
12
|
+
click_link "Create new page"
|
13
|
+
fill_in "Name", with: "Name for page"
|
14
|
+
select "Homepage", from: "page_parent_id"
|
15
|
+
click_button "Create Page"
|
16
|
+
|
17
|
+
page.should have_content "Page was successfully created."
|
18
|
+
page.should have_content "Name for page"
|
19
|
+
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightcontent-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Developers at Brightin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brightcontent-core
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.4.
|
19
|
+
version: 2.4.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.4.
|
26
|
+
version: 2.4.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: brightcontent-attachments
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.4.
|
33
|
+
version: 2.4.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.4.
|
40
|
+
version: 2.4.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: awesome_nested_set
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,6 +169,7 @@ files:
|
|
169
169
|
- spec/dummy/script/rails
|
170
170
|
- spec/factories.rb
|
171
171
|
- spec/features/menu_spec.rb
|
172
|
+
- spec/features/pages_form_spec.rb
|
172
173
|
- spec/features/pages_index_spec.rb
|
173
174
|
- spec/features/pages_spec.rb
|
174
175
|
- spec/lib/brightcontent/pages/path_constraint_spec.rb
|
@@ -239,6 +240,7 @@ test_files:
|
|
239
240
|
- spec/dummy/script/rails
|
240
241
|
- spec/factories.rb
|
241
242
|
- spec/features/menu_spec.rb
|
243
|
+
- spec/features/pages_form_spec.rb
|
242
244
|
- spec/features/pages_index_spec.rb
|
243
245
|
- spec/features/pages_spec.rb
|
244
246
|
- spec/lib/brightcontent/pages/path_constraint_spec.rb
|