decidim-dev 0.4.2 → 0.4.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9c8abada13b165b05c037a075c770a75f83f797
|
4
|
+
data.tar.gz: 7516c82b6d19a5d15ed0044e6f3c4bb140bb4cc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14ed20c7020e195e63c60a5173b4685010601c3425d09ec8f6b3b55f4aabc1e15bc35f38c93c918743247d5457b5d00225e04bef2da7ba6e24f4407679b9c589
|
7
|
+
data.tar.gz: 5d52de1c67d2a909c675ba658ca0f8ba369e8d0fa7795add8fa8c1047fa79fe802321247dd37f907a962abbe0df39caa70db53cd1efecd1c212c2e8e4bcba9fe
|
data/lib/decidim/dev.rb
CHANGED
@@ -14,6 +14,11 @@ module Decidim
|
|
14
14
|
File.expand_path(File.join(__dir__, "dev", "assets", name))
|
15
15
|
end
|
16
16
|
|
17
|
+
# Public: Returns a file for testing, just like file fields expect it
|
18
|
+
def self.test_file(filename, content_type)
|
19
|
+
Rack::Test::UploadedFile.new(asset(filename), content_type)
|
20
|
+
end
|
21
|
+
|
17
22
|
# Public: add rake tasks
|
18
23
|
def self.install_tasks
|
19
24
|
Dir[File.join(__dir__, "../tasks/*.rake")].each do |file|
|
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
# Helpers that get automatically included in feature specs.
|
4
4
|
module Decidim::FeatureTestHelpers
|
5
|
+
def click_submenu_link(text)
|
6
|
+
within ".secondary-nav--subnav" do
|
7
|
+
click_link text
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
5
11
|
def within_user_menu
|
6
12
|
within ".topbar__user__logged" do
|
7
13
|
find("a", text: user.name).hover
|
data/lib/tasks/test_app.rake
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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-07-
|
13
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.4.
|
21
|
+
version: 0.4.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.4.
|
28
|
+
version: 0.4.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: factory_girl_rails
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|