constructor-pages 0.8.14 → 0.8.15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00b6e78a7a35a0e4548ea458ac79bb5f178899a9
|
4
|
+
data.tar.gz: 1c1bf4f830c9de02474c1a80934049e2e257f359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b23f279d6cde8ac05c05b40c78cb356d3babfbc8a39382240cc5c916cce15c7b1013a144b502bb281a419043f5090ded807a097b2dad5345208f239a6a4aa7
|
7
|
+
data.tar.gz: d9f9d38d38774df9fa0f0430cdadc04845829d39b1322ce35f53acb3dc642f4974305934c4acd92b82201b2e7378c6e0e5a5ef3b37e1a15f9f5903fc55f5f21f
|
@@ -92,7 +92,6 @@ module ConstructorPages
|
|
92
92
|
it 'should redirect if redirect specified' do
|
93
93
|
_page = Page.create name: 'First page', template: @template
|
94
94
|
_template = Template.create name: 'Home page', code_name: 'home_page'
|
95
|
-
Page.create name: 'Second page', template: _template
|
96
95
|
|
97
96
|
visit _page.full_url
|
98
97
|
current_path.should == '/first-page'
|
@@ -102,6 +101,13 @@ module ConstructorPages
|
|
102
101
|
|
103
102
|
visit _page.full_url
|
104
103
|
current_path.should == '/second-page'
|
104
|
+
|
105
|
+
visit pages.edit_page_path(_page)
|
106
|
+
fill_in 'Redirect', with: '/third-page'
|
107
|
+
click_button 'Update Page'
|
108
|
+
|
109
|
+
visit _page.full_url
|
110
|
+
current_path.should == '/third-page'
|
105
111
|
end
|
106
112
|
end
|
107
113
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: constructor-pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Zotov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: constructor-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.8.
|
19
|
+
version: 0.8.15
|
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: 0.8.
|
26
|
+
version: 0.8.15
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: dragonfly
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|