brightcontent-pages 2.0.25 → 2.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brightcontent-pages (2.0.25)
4
+ brightcontent-pages (2.0.26)
5
5
  awesome_nested_set
6
- brightcontent-attachments (= 2.0.25)
7
- brightcontent-core (= 2.0.25)
6
+ brightcontent-attachments (= 2.0.26)
7
+ brightcontent-core (= 2.0.26)
8
8
 
9
9
  PATH
10
10
  remote: ../attachments
11
11
  specs:
12
- brightcontent-attachments (2.0.25)
13
- brightcontent-core (= 2.0.25)
12
+ brightcontent-attachments (2.0.26)
13
+ brightcontent-core (= 2.0.26)
14
14
  jquery-fileupload-rails
15
15
  paperclip
16
16
 
17
17
  PATH
18
18
  remote: ../core
19
19
  specs:
20
- brightcontent-core (2.0.25)
20
+ brightcontent-core (2.0.26)
21
21
  bcrypt-ruby
22
22
  bootstrap-wysihtml5-rails
23
23
  has_scope
@@ -42,9 +42,9 @@ ActiveRecord::Schema.define(:version => 20130105142936) do
42
42
  t.integer "lft"
43
43
  t.integer "rgt"
44
44
  t.integer "parent_id"
45
- t.datetime "created_at", :null => false
46
- t.datetime "updated_at", :null => false
47
- t.boolean "hidden", :default => true, :null => false
45
+ t.datetime "created_at", :null => false
46
+ t.datetime "updated_at", :null => false
47
+ t.boolean "hidden", :default => false, :null => false
48
48
  end
49
49
 
50
50
  add_index "brightcontent_pages", ["slug"], :name => "index_brightcontent_pages_on_slug"
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ feature "Pages index" do
4
+
5
+ background do
6
+ sign_in
7
+ create(:page, name: "Test page")
8
+ end
9
+
10
+ scenario "click on edit page" do
11
+ click_link "Pages"
12
+ click_link "Edit"
13
+ page.should have_content "Edit page"
14
+ end
15
+
16
+ scenario "click on delete page" do
17
+ click_link "Pages"
18
+ click_link "Delete"
19
+ page.should_not have_content "Test page"
20
+ page.should have_content "successfully"
21
+ end
22
+
23
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightcontent-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.25
4
+ version: 2.0.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-25 00:00:00.000000000 Z
12
+ date: 2013-03-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: brightcontent-core
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.0.25
21
+ version: 2.0.26
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 2.0.25
29
+ version: 2.0.26
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: brightcontent-attachments
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 2.0.25
37
+ version: 2.0.26
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 2.0.25
45
+ version: 2.0.26
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: awesome_nested_set
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -211,6 +211,7 @@ files:
211
211
  - spec/dummy/script/rails
212
212
  - spec/factories.rb
213
213
  - spec/features/menu_spec.rb
214
+ - spec/features/pages_index_spec.rb
214
215
  - spec/features/pages_spec.rb
215
216
  - spec/models/brightcontent/page_spec.rb
216
217
  - spec/spec_helper.rb
@@ -229,7 +230,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
230
  version: '0'
230
231
  segments:
231
232
  - 0
232
- hash: -2631545697809181303
233
+ hash: -481074183476787322
233
234
  required_rubygems_version: !ruby/object:Gem::Requirement
234
235
  none: false
235
236
  requirements:
@@ -238,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
239
  version: '0'
239
240
  segments:
240
241
  - 0
241
- hash: -2631545697809181303
242
+ hash: -481074183476787322
242
243
  requirements: []
243
244
  rubyforge_project:
244
245
  rubygems_version: 1.8.24
@@ -289,6 +290,7 @@ test_files:
289
290
  - spec/dummy/script/rails
290
291
  - spec/factories.rb
291
292
  - spec/features/menu_spec.rb
293
+ - spec/features/pages_index_spec.rb
292
294
  - spec/features/pages_spec.rb
293
295
  - spec/models/brightcontent/page_spec.rb
294
296
  - spec/spec_helper.rb