pageflow-support 15.2.2 → 15.3.0

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
  SHA256:
3
- metadata.gz: 6786e06631c46009d2995d88a10a2728d855a670141967b73317453a17f9f9c2
4
- data.tar.gz: 86a665fd015be787d4dab8e12d771e6eb57baee882d649d833c1fdc32586099f
3
+ metadata.gz: f2e04dfc605645cbd70eb90968696b92db6715e4c61ab15f413447b34b1b7293
4
+ data.tar.gz: 9836b64a2fa793fc226da7a64dd75f338bfaef26b24cabc8daf040269daf0b89
5
5
  SHA512:
6
- metadata.gz: 1ff760754c8d54889e2214a4a3ab64aca5c56fdb7f887fa32ae831ca6bbc93c39aa0b10647f4aa0ef01eea5d6bccc2a34ced400f7152fa5a2f9202f5773d9718
7
- data.tar.gz: 3b69d8176f839a5fdc51eb410c4cc8657c39b6d32de0ed98dc3f76cd3d873829cfa9a967de2cabb0d09687bb65d159e7821dd792e0b6a7692e53b1eb9f820c45
6
+ metadata.gz: 2b8a45ff520268b4bab4753d3209818b38f35b4c3f419bce8c431a2221f50125263600ca8f7932444694a5f526773e1633b1b562cb749de9f65f9eaadbd40b2f
7
+ data.tar.gz: 3ae5cf4df43006c53f97faffaf317cbdfcf6bf85210b9a4a888bababc263abad56fa87e13ebc5bfe20857e78ba73a9e1a5c52cd0422bf199c488220545b43ca5
@@ -8,6 +8,10 @@ module Pageflow
8
8
  node.find('.destroy')
9
9
  end
10
10
 
11
+ def back_button
12
+ node.find('.back')
13
+ end
14
+
11
15
  def input_value(label_text)
12
16
  node.find_field(label_text).value
13
17
  end
@@ -10,7 +10,12 @@ module Pageflow
10
10
 
11
11
  describe '#editor_fragment_renderer' do
12
12
  it 'renders head fragment without error' do
13
- entry = DraftEntry.new(FactoryBot.create(:entry))
13
+ entry = DraftEntry.new(
14
+ FactoryBot.create(
15
+ :entry,
16
+ type_name: entry_type.name
17
+ )
18
+ )
14
19
 
15
20
  expect {
16
21
  entry_type.editor_fragment_renderer.head_fragment(entry)
@@ -18,7 +23,12 @@ module Pageflow
18
23
  end
19
24
 
20
25
  it 'renders body fragment without error' do
21
- entry = DraftEntry.new(FactoryBot.create(:entry))
26
+ entry = DraftEntry.new(
27
+ FactoryBot.create(
28
+ :entry,
29
+ type_name: entry_type.name
30
+ )
31
+ )
22
32
 
23
33
  expect {
24
34
  entry_type.editor_fragment_renderer.body_fragment(entry)
@@ -26,7 +36,12 @@ module Pageflow
26
36
  end
27
37
 
28
38
  it 'renders seed fragment without error' do
29
- entry = DraftEntry.new(FactoryBot.create(:entry))
39
+ entry = DraftEntry.new(
40
+ FactoryBot.create(
41
+ :entry,
42
+ type_name: entry_type.name
43
+ )
44
+ )
30
45
 
31
46
  expect {
32
47
  entry_type.editor_fragment_renderer.seed_fragment(entry)
@@ -18,7 +18,7 @@ module Pageflow
18
18
  helper.extend(InfoBoxHelper)
19
19
  helper.extend(BackgroundImageHelper)
20
20
  helper.extend(EntryJsonSeedHelper)
21
- helper.extend(PageBackgroundAssetHelper)
21
+ helper.extend(PageflowPaged::PageBackgroundAssetHelper)
22
22
  helper.extend(PagesHelper)
23
23
  helper.extend(VideoFilesHelper)
24
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-support
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.2.2
4
+ version: 15.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-15 00:00:00.000000000 Z
11
+ date: 2020-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 15.2.2
19
+ version: 15.3.0
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: 15.2.2
26
+ version: 15.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mysql2
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -250,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  requirements: []
252
252
  rubyforge_project:
253
- rubygems_version: 2.7.5
253
+ rubygems_version: 2.7.9
254
254
  signing_key:
255
255
  specification_version: 4
256
256
  summary: Spec support for Pageflow extensions.