decidim-core 0.7.2 → 0.7.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65afa82b02928bbfeb504d111c2e8ee5176c2fe6ab69d760e825d1deaf327c3
|
4
|
+
data.tar.gz: 23acac7d37a50ba0617e60210058cfcffbc5dcf332ff4c8fc2c8ce637614d183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7be7355a6d78085cd324ab0d2d2ab6760a7604afabc0618df5a796e3c46e017965f08df66d7e84c4d779abd6c845f38cd1882e29da064622c556d86844b16cd
|
7
|
+
data.tar.gz: 4d51acb91bb861de5f56dd55239d1e0f67b3979c1d314b701cd91cc04cfc793e2f120e803217f60c52baec1aa7e8985a0f86270f142371f3a41688a31b318eec
|
@@ -28,12 +28,6 @@ module Decidim
|
|
28
28
|
#
|
29
29
|
# Returns a String.
|
30
30
|
def icon(name, options = {})
|
31
|
-
# Ugly hack to work around the issue of phantomjs not sending js events
|
32
|
-
# when clicking on a SVG element.
|
33
|
-
if Rails.env.test?
|
34
|
-
return content_tag(:span, "?", class: "icon icon--#{name}")
|
35
|
-
end
|
36
|
-
|
37
31
|
html_properties = {}
|
38
32
|
|
39
33
|
html_properties["width"] = options[:width]
|
@@ -1,21 +1,23 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
shared_examples_for "a 404 page" do
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
describe "visiting the page", driver: :rack_test do
|
5
|
+
before do
|
6
|
+
allow(Rails.application).to \
|
7
|
+
receive(:env_config).with(no_args).and_wrap_original do |m, *|
|
8
|
+
m.call.merge(
|
9
|
+
"action_dispatch.show_exceptions" => true,
|
10
|
+
"action_dispatch.show_detailed_exceptions" => false
|
11
|
+
)
|
12
|
+
end
|
12
13
|
|
13
|
-
|
14
|
-
|
14
|
+
visit target_path
|
15
|
+
end
|
15
16
|
|
16
|
-
|
17
|
-
|
17
|
+
it "leads to a 404" do
|
18
|
+
expect(page).to have_content("The page you're looking for can't be found")
|
18
19
|
|
19
|
-
|
20
|
+
expect(page).to have_http_status(:not_found)
|
21
|
+
end
|
20
22
|
end
|
21
23
|
end
|
@@ -5,13 +5,11 @@ shared_examples "reports" do
|
|
5
5
|
it "should be given the option to sign in" do
|
6
6
|
visit reportable_path
|
7
7
|
|
8
|
-
expect(page).to
|
8
|
+
expect(page).to have_no_css("body.is-reveal-open")
|
9
9
|
|
10
|
-
|
11
|
-
page.find("button").click
|
12
|
-
end
|
10
|
+
click_button "Report"
|
13
11
|
|
14
|
-
expect(page).to have_css("
|
12
|
+
expect(page).to have_css("body.is-reveal-open")
|
15
13
|
end
|
16
14
|
end
|
17
15
|
|
data/lib/decidim/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-11-
|
13
|
+
date: 2017-11-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -466,28 +466,28 @@ dependencies:
|
|
466
466
|
requirements:
|
467
467
|
- - '='
|
468
468
|
- !ruby/object:Gem::Version
|
469
|
-
version: 0.7.
|
469
|
+
version: 0.7.3
|
470
470
|
type: :runtime
|
471
471
|
prerelease: false
|
472
472
|
version_requirements: !ruby/object:Gem::Requirement
|
473
473
|
requirements:
|
474
474
|
- - '='
|
475
475
|
- !ruby/object:Gem::Version
|
476
|
-
version: 0.7.
|
476
|
+
version: 0.7.3
|
477
477
|
- !ruby/object:Gem::Dependency
|
478
478
|
name: decidim-dev
|
479
479
|
requirement: !ruby/object:Gem::Requirement
|
480
480
|
requirements:
|
481
481
|
- - '='
|
482
482
|
- !ruby/object:Gem::Version
|
483
|
-
version: 0.7.
|
483
|
+
version: 0.7.3
|
484
484
|
type: :development
|
485
485
|
prerelease: false
|
486
486
|
version_requirements: !ruby/object:Gem::Requirement
|
487
487
|
requirements:
|
488
488
|
- - '='
|
489
489
|
- !ruby/object:Gem::Version
|
490
|
-
version: 0.7.
|
490
|
+
version: 0.7.3
|
491
491
|
description: Adds core features so other engines can hook into the framework.
|
492
492
|
email:
|
493
493
|
- josepjaume@gmail.com
|