brightcontent-pages 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. data/.gitignore +9 -0
  2. data/Gemfile +5 -0
  3. data/Gemfile.lock +173 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +35 -0
  6. data/Rakefile +14 -0
  7. data/app/assets/images/brightcontent/.gitkeep +0 -0
  8. data/app/controllers/brightcontent/pages_controller.rb +16 -0
  9. data/app/helpers/brightcontent/pages_helper.rb +13 -0
  10. data/app/models/brightcontent/page.rb +27 -0
  11. data/app/views/brightcontent/pages/_form_field_parent_id.html.erb +1 -0
  12. data/app/views/brightcontent/pages/_list_field_name.html.erb +1 -0
  13. data/brightcontent-pages.gemspec +26 -0
  14. data/config/routes.rb +3 -0
  15. data/db/migrate/20121207132810_create_brightcontent_pages.rb +16 -0
  16. data/lib/brightcontent/pages/engine.rb +14 -0
  17. data/lib/brightcontent/pages/methods.rb +9 -0
  18. data/lib/brightcontent/pages/version.rb +5 -0
  19. data/lib/brightcontent/pages.rb +10 -0
  20. data/lib/brightcontent-pages.rb +1 -0
  21. data/lib/generators/brightcontent/pages/install_generator.rb +15 -0
  22. data/script/rails +8 -0
  23. data/spec/dummy/README.rdoc +261 -0
  24. data/spec/dummy/Rakefile +7 -0
  25. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  26. data/spec/dummy/app/assets/javascripts/brightcontent/custom.js +1 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  28. data/spec/dummy/app/assets/stylesheets/brightcontent/custom.css +1 -0
  29. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  30. data/spec/dummy/app/controllers/brightcontent/blogs_controller.rb +2 -0
  31. data/spec/dummy/app/controllers/pages_controller.rb +8 -0
  32. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  33. data/spec/dummy/app/mailers/.gitkeep +0 -0
  34. data/spec/dummy/app/models/.gitkeep +0 -0
  35. data/spec/dummy/app/models/blog.rb +3 -0
  36. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  37. data/spec/dummy/app/views/pages/index.html.erb +1 -0
  38. data/spec/dummy/config/application.rb +59 -0
  39. data/spec/dummy/config/boot.rb +10 -0
  40. data/spec/dummy/config/database.yml +25 -0
  41. data/spec/dummy/config/environment.rb +5 -0
  42. data/spec/dummy/config/environments/development.rb +37 -0
  43. data/spec/dummy/config/environments/production.rb +67 -0
  44. data/spec/dummy/config/environments/test.rb +37 -0
  45. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/spec/dummy/config/initializers/brightcontent.rb +3 -0
  47. data/spec/dummy/config/initializers/inflections.rb +15 -0
  48. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  49. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  50. data/spec/dummy/config/initializers/session_store.rb +8 -0
  51. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  52. data/spec/dummy/config/locales/en.yml +5 -0
  53. data/spec/dummy/config/routes.rb +6 -0
  54. data/spec/dummy/config.ru +4 -0
  55. data/spec/dummy/db/schema.rb +44 -0
  56. data/spec/dummy/lib/assets/.gitkeep +0 -0
  57. data/spec/dummy/public/404.html +26 -0
  58. data/spec/dummy/public/422.html +26 -0
  59. data/spec/dummy/public/500.html +25 -0
  60. data/spec/dummy/public/favicon.ico +0 -0
  61. data/spec/dummy/script/rails +6 -0
  62. data/spec/factories.rb +16 -0
  63. data/spec/features/menu_spec.rb +16 -0
  64. data/spec/features/pages_spec.rb +18 -0
  65. data/spec/models/brightcontent/page_spec.rb +49 -0
  66. data/spec/spec_helper.rb +18 -0
  67. data/spec/support/acceptance_helper.rb +8 -0
  68. metadata +274 -0
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,6 @@
1
+ Rails.application.routes.draw do
2
+ brightcontent_resources do
3
+ end
4
+ root to: "pages#index"
5
+ get "*path" => "pages#show"
6
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,44 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20121207132810) do
15
+
16
+ create_table "blogs", :force => true do |t|
17
+ t.string "name"
18
+ t.text "body"
19
+ t.datetime "created_at", :null => false
20
+ t.datetime "updated_at", :null => false
21
+ end
22
+
23
+ create_table "brightcontent_admin_users", :force => true do |t|
24
+ t.string "email"
25
+ t.string "password_digest"
26
+ t.datetime "created_at", :null => false
27
+ t.datetime "updated_at", :null => false
28
+ end
29
+
30
+ create_table "brightcontent_pages", :force => true do |t|
31
+ t.string "name"
32
+ t.text "body"
33
+ t.string "slug"
34
+ t.integer "depth"
35
+ t.integer "lft"
36
+ t.integer "rgt"
37
+ t.integer "parent_id"
38
+ t.datetime "created_at", :null => false
39
+ t.datetime "updated_at", :null => false
40
+ end
41
+
42
+ add_index "brightcontent_pages", ["slug"], :name => "index_brightcontent_pages_on_slug"
43
+
44
+ end
File without changes
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
data/spec/factories.rb ADDED
@@ -0,0 +1,16 @@
1
+ FactoryGirl.define do
2
+ sequence :email do |n|
3
+ "person#{n}@example.com"
4
+ end
5
+
6
+ factory :admin_user, class: Brightcontent::AdminUser do
7
+ email
8
+ password "password"
9
+ password_confirmation "password"
10
+ end
11
+
12
+ factory :page, class: Brightcontent::Page do
13
+ name "Pagina"
14
+ body "Body"
15
+ end
16
+ end
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ feature "Menu" do
4
+
5
+ scenario "Shows menu for extra resources" do
6
+ sign_in
7
+ menu_should_have_link "Pages"
8
+ end
9
+
10
+ def menu_should_have_link(link_name)
11
+ within "#menu" do
12
+ page.should have_link link_name
13
+ end
14
+ end
15
+
16
+ end
@@ -0,0 +1,18 @@
1
+ require 'spec_helper'
2
+
3
+ feature "Pages" do
4
+ background do
5
+ @page = create :page , name: "Homepage"
6
+ end
7
+
8
+ scenario "visit root page" do
9
+ visit root_path
10
+ page.should have_content @page.name
11
+ end
12
+
13
+ scenario "visit specific page" do
14
+ @page2 = create :page, name: "Test page"
15
+ visit "/test-page"
16
+ page.should have_content @page2.name
17
+ end
18
+ end
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+
3
+ module Brightcontent
4
+ describe Page do
5
+ describe "validations" do
6
+ it "validates persence of name" do
7
+ build_stubbed(:page, name: nil).should_not be_valid
8
+ end
9
+ end
10
+
11
+ describe "slugs" do
12
+ context "first page" do
13
+ subject { create(:page, name: "Homepage") }
14
+ its(:slug) { should be_empty }
15
+ end
16
+
17
+ context "second page" do
18
+ let!(:homepage) { create(:page, name: "Homepage") }
19
+
20
+ it "generates slug for siblings" do
21
+ create(:page, name: "About us").slug.should eq "about-us"
22
+ end
23
+
24
+ it "creates a slug for children" do
25
+ create(:page, name: "About us", parent: homepage).slug.should eq "homepage/about-us"
26
+ end
27
+
28
+ it "persists the slug" do
29
+ page = create(:page, name: "About us", parent: homepage).reload
30
+ page.slug.should eq "homepage/about-us"
31
+ end
32
+ end
33
+ end
34
+
35
+ describe ".homepage?" do
36
+ subject { create(:page, name: "Homepage") }
37
+
38
+ context "is homepage" do
39
+ it { should be_homepage }
40
+ end
41
+
42
+ context "is not homepage" do
43
+ before { create(:page) }
44
+ subject { create(:page, name: "Second_page") }
45
+ it { should_not be_homepage }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,18 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ ENGINE_RAILS_ROOT = File.join(File.dirname(__FILE__), '../')
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require 'rspec/rails'
6
+ require 'capybara/rspec'
7
+ require 'factory_girl_rails'
8
+ require 'brightcontent-pages'
9
+
10
+ Dir[File.join(ENGINE_RAILS_ROOT, "spec/support/**/*.rb")].each {|f| require f }
11
+
12
+ Rails.backtrace_cleaner.remove_silencers!
13
+
14
+ RSpec.configure do |config|
15
+ config.mock_with :rspec
16
+ config.use_transactional_fixtures = true
17
+ config.include FactoryGirl::Syntax::Methods
18
+ end
@@ -0,0 +1,8 @@
1
+ def sign_in
2
+ user = create(:admin_user)
3
+ visit "/admin"
4
+ fill_in "Email", with: user.email
5
+ fill_in "Password", with: "password"
6
+ click_button "Login"
7
+ user
8
+ end
metadata ADDED
@@ -0,0 +1,274 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: brightcontent-pages
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Developers at Brightin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: brightcontent-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: awesome_nested_set
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: sqlite3
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: capybara
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: launchy
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: factory_girl_rails
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ description: Separate pages resource for brightcontent
127
+ email: developers@brightin.nl
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - .gitignore
133
+ - Gemfile
134
+ - Gemfile.lock
135
+ - MIT-LICENSE
136
+ - README.md
137
+ - Rakefile
138
+ - app/assets/images/brightcontent/.gitkeep
139
+ - app/controllers/brightcontent/pages_controller.rb
140
+ - app/helpers/brightcontent/pages_helper.rb
141
+ - app/models/brightcontent/page.rb
142
+ - app/views/brightcontent/pages/_form_field_parent_id.html.erb
143
+ - app/views/brightcontent/pages/_list_field_name.html.erb
144
+ - brightcontent-pages.gemspec
145
+ - config/routes.rb
146
+ - db/migrate/20121207132810_create_brightcontent_pages.rb
147
+ - lib/brightcontent-pages.rb
148
+ - lib/brightcontent/pages.rb
149
+ - lib/brightcontent/pages/engine.rb
150
+ - lib/brightcontent/pages/methods.rb
151
+ - lib/brightcontent/pages/version.rb
152
+ - lib/generators/brightcontent/pages/install_generator.rb
153
+ - script/rails
154
+ - spec/dummy/README.rdoc
155
+ - spec/dummy/Rakefile
156
+ - spec/dummy/app/assets/javascripts/application.js
157
+ - spec/dummy/app/assets/javascripts/brightcontent/custom.js
158
+ - spec/dummy/app/assets/stylesheets/application.css
159
+ - spec/dummy/app/assets/stylesheets/brightcontent/custom.css
160
+ - spec/dummy/app/controllers/application_controller.rb
161
+ - spec/dummy/app/controllers/brightcontent/blogs_controller.rb
162
+ - spec/dummy/app/controllers/pages_controller.rb
163
+ - spec/dummy/app/helpers/application_helper.rb
164
+ - spec/dummy/app/mailers/.gitkeep
165
+ - spec/dummy/app/models/.gitkeep
166
+ - spec/dummy/app/models/blog.rb
167
+ - spec/dummy/app/views/layouts/application.html.erb
168
+ - spec/dummy/app/views/pages/index.html.erb
169
+ - spec/dummy/config.ru
170
+ - spec/dummy/config/application.rb
171
+ - spec/dummy/config/boot.rb
172
+ - spec/dummy/config/database.yml
173
+ - spec/dummy/config/environment.rb
174
+ - spec/dummy/config/environments/development.rb
175
+ - spec/dummy/config/environments/production.rb
176
+ - spec/dummy/config/environments/test.rb
177
+ - spec/dummy/config/initializers/backtrace_silencers.rb
178
+ - spec/dummy/config/initializers/brightcontent.rb
179
+ - spec/dummy/config/initializers/inflections.rb
180
+ - spec/dummy/config/initializers/mime_types.rb
181
+ - spec/dummy/config/initializers/secret_token.rb
182
+ - spec/dummy/config/initializers/session_store.rb
183
+ - spec/dummy/config/initializers/wrap_parameters.rb
184
+ - spec/dummy/config/locales/en.yml
185
+ - spec/dummy/config/routes.rb
186
+ - spec/dummy/db/schema.rb
187
+ - spec/dummy/lib/assets/.gitkeep
188
+ - spec/dummy/public/404.html
189
+ - spec/dummy/public/422.html
190
+ - spec/dummy/public/500.html
191
+ - spec/dummy/public/favicon.ico
192
+ - spec/dummy/script/rails
193
+ - spec/factories.rb
194
+ - spec/features/menu_spec.rb
195
+ - spec/features/pages_spec.rb
196
+ - spec/models/brightcontent/page_spec.rb
197
+ - spec/spec_helper.rb
198
+ - spec/support/acceptance_helper.rb
199
+ homepage: http://brightin.nl
200
+ licenses: []
201
+ post_install_message:
202
+ rdoc_options: []
203
+ require_paths:
204
+ - lib
205
+ required_ruby_version: !ruby/object:Gem::Requirement
206
+ none: false
207
+ requirements:
208
+ - - ! '>='
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ segments:
212
+ - 0
213
+ hash: 2145923981483683983
214
+ required_rubygems_version: !ruby/object:Gem::Requirement
215
+ none: false
216
+ requirements:
217
+ - - ! '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ segments:
221
+ - 0
222
+ hash: 2145923981483683983
223
+ requirements: []
224
+ rubyforge_project:
225
+ rubygems_version: 1.8.23
226
+ signing_key:
227
+ specification_version: 3
228
+ summary: Pages resource for brightcontent
229
+ test_files:
230
+ - spec/dummy/README.rdoc
231
+ - spec/dummy/Rakefile
232
+ - spec/dummy/app/assets/javascripts/application.js
233
+ - spec/dummy/app/assets/javascripts/brightcontent/custom.js
234
+ - spec/dummy/app/assets/stylesheets/application.css
235
+ - spec/dummy/app/assets/stylesheets/brightcontent/custom.css
236
+ - spec/dummy/app/controllers/application_controller.rb
237
+ - spec/dummy/app/controllers/brightcontent/blogs_controller.rb
238
+ - spec/dummy/app/controllers/pages_controller.rb
239
+ - spec/dummy/app/helpers/application_helper.rb
240
+ - spec/dummy/app/mailers/.gitkeep
241
+ - spec/dummy/app/models/.gitkeep
242
+ - spec/dummy/app/models/blog.rb
243
+ - spec/dummy/app/views/layouts/application.html.erb
244
+ - spec/dummy/app/views/pages/index.html.erb
245
+ - spec/dummy/config.ru
246
+ - spec/dummy/config/application.rb
247
+ - spec/dummy/config/boot.rb
248
+ - spec/dummy/config/database.yml
249
+ - spec/dummy/config/environment.rb
250
+ - spec/dummy/config/environments/development.rb
251
+ - spec/dummy/config/environments/production.rb
252
+ - spec/dummy/config/environments/test.rb
253
+ - spec/dummy/config/initializers/backtrace_silencers.rb
254
+ - spec/dummy/config/initializers/brightcontent.rb
255
+ - spec/dummy/config/initializers/inflections.rb
256
+ - spec/dummy/config/initializers/mime_types.rb
257
+ - spec/dummy/config/initializers/secret_token.rb
258
+ - spec/dummy/config/initializers/session_store.rb
259
+ - spec/dummy/config/initializers/wrap_parameters.rb
260
+ - spec/dummy/config/locales/en.yml
261
+ - spec/dummy/config/routes.rb
262
+ - spec/dummy/db/schema.rb
263
+ - spec/dummy/lib/assets/.gitkeep
264
+ - spec/dummy/public/404.html
265
+ - spec/dummy/public/422.html
266
+ - spec/dummy/public/500.html
267
+ - spec/dummy/public/favicon.ico
268
+ - spec/dummy/script/rails
269
+ - spec/factories.rb
270
+ - spec/features/menu_spec.rb
271
+ - spec/features/pages_spec.rb
272
+ - spec/models/brightcontent/page_spec.rb
273
+ - spec/spec_helper.rb
274
+ - spec/support/acceptance_helper.rb