noodall-ui 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/app/views/noodall/admin/assets/index.html.erb +1 -1
- data/app/views/noodall/admin/nodes/_home.html.erb +0 -26
- data/features/step_definitions/cms_node_steps.rb +2 -1
- data/features/step_definitions/preview_steps.rb +1 -1
- data/features/step_definitions/pubish_content_steps.rb +3 -1
- data/lib/noodall/ui/version.rb +1 -1
- metadata +9 -9
data/Gemfile.lock
CHANGED
@@ -1,27 +1 @@
|
|
1
1
|
<%= render :partial => 'body', :locals => { :f => f } %>
|
2
|
-
|
3
|
-
<% content_for :component_table do %>
|
4
|
-
<table class="component-table">
|
5
|
-
<tr>
|
6
|
-
<td colspan="3"><a href="#main_component_form_0" class="slot_link">1</a></td>
|
7
|
-
<td/>
|
8
|
-
</tr>
|
9
|
-
<tr>
|
10
|
-
<td class="content" colspan="2"></td>
|
11
|
-
<td><a href="#small_component_form_0" class="slot_link">2</a></td>
|
12
|
-
<td><a href="#small_component_form_1" class="slot_link">3</a></td>
|
13
|
-
</tr>
|
14
|
-
<tr>
|
15
|
-
<td><a href="#small_component_form_2" class="slot_link">4</a></td>
|
16
|
-
<td><a href="#small_component_form_3" class="slot_link">5</a></td>
|
17
|
-
<td><a href="#small_component_form_4" class="slot_link">6</a></td>
|
18
|
-
<td><a href="#small_component_form_5" class="slot_link">7</a></td>
|
19
|
-
</tr>
|
20
|
-
<tr>
|
21
|
-
<td><a href="#small_component_form_6" class="slot_link">8</a></td>
|
22
|
-
<td><a href="#small_component_form_7" class="slot_link">9</a></td>
|
23
|
-
<td><a href="#small_component_form_8" class="slot_link">10</a></td>
|
24
|
-
<td><a href="#small_component_form_9" class="slot_link">11</a></td>
|
25
|
-
</tr>
|
26
|
-
</table>
|
27
|
-
<% end -%>
|
@@ -65,7 +65,8 @@ end
|
|
65
65
|
|
66
66
|
Then /^the content and all of it’s sub content will be removed from the website$/ do
|
67
67
|
|
68
|
-
|
68
|
+
visit node_path(@_deleted_node)
|
69
|
+
page.should have_content("The page you were looking for doesn't exist.")
|
69
70
|
|
70
71
|
@_deleted_node_children.each do |child|
|
71
72
|
lambda { visit node_path(child) }.should raise_error(MongoMapper::DocumentNotFound)
|
@@ -15,7 +15,7 @@ end
|
|
15
15
|
Then /^the content should (not |)be visible on the website$/ do |is_not|
|
16
16
|
if is_not.blank?
|
17
17
|
visit node_path(@_content)
|
18
|
-
page.should within('h1') { have_content(@_content.title) }
|
18
|
+
page.should within('#content h1') { have_content(@_content.title) }
|
19
19
|
else
|
20
20
|
visit node_path(@_content)
|
21
21
|
page.should have_content("The page you were looking for doesn't exist.")
|
@@ -43,4 +43,6 @@ end
|
|
43
43
|
When /^I clear the publish to date$/ do
|
44
44
|
5.times{ |i| select("", :from => "node[published_to(#{i+1}i)]" ) }
|
45
45
|
click_button 'Publish'
|
46
|
+
|
47
|
+
puts "DATE: #{ @_content.published_to }"
|
46
48
|
end
|
data/lib/noodall/ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noodall-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 13
|
10
|
+
version: 0.0.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|
@@ -15,11 +15,10 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-29 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
23
|
none: false
|
25
24
|
requirements:
|
@@ -32,8 +31,8 @@ dependencies:
|
|
32
31
|
requirement: *id001
|
33
32
|
type: :runtime
|
34
33
|
name: noodall-core
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
34
|
prerelease: false
|
35
|
+
- !ruby/object:Gem::Dependency
|
37
36
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
37
|
none: false
|
39
38
|
requirements:
|
@@ -48,8 +47,8 @@ dependencies:
|
|
48
47
|
requirement: *id002
|
49
48
|
type: :runtime
|
50
49
|
name: thoughtbot-sortable_table
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
50
|
prerelease: false
|
51
|
+
- !ruby/object:Gem::Dependency
|
53
52
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
53
|
none: false
|
55
54
|
requirements:
|
@@ -64,8 +63,8 @@ dependencies:
|
|
64
63
|
requirement: *id003
|
65
64
|
type: :runtime
|
66
65
|
name: will_paginate
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
66
|
prerelease: false
|
67
|
+
- !ruby/object:Gem::Dependency
|
69
68
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
69
|
none: false
|
71
70
|
requirements:
|
@@ -78,8 +77,8 @@ dependencies:
|
|
78
77
|
requirement: *id004
|
79
78
|
type: :runtime
|
80
79
|
name: dynamic_form
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
80
|
prerelease: false
|
81
|
+
- !ruby/object:Gem::Dependency
|
83
82
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
84
83
|
none: false
|
85
84
|
requirements:
|
@@ -94,6 +93,7 @@ dependencies:
|
|
94
93
|
requirement: *id005
|
95
94
|
type: :development
|
96
95
|
name: bundler
|
96
|
+
prerelease: false
|
97
97
|
description: Noodall Rails User Interface Engine. Requires Noodall Core
|
98
98
|
email:
|
99
99
|
- steve@wearebeef.co.uk
|