Permalink
Browse files

Added systempage flag for Page Model.

Systempages are pages without content. They do not validate and do not run before and after filters like normal pages.
  • Loading branch information...
1 parent f743943 commit 471c90210b29f162c0a0348c60720f16a9af52ca Thomas von Deyen committed with masche842 Jan 5, 2012
Showing with 7 additions and 5 deletions.
  1. +6 −4 Guardfile
  2. +1 −1 spec/integration/pages_controller_spec.rb
View
@@ -2,12 +2,14 @@
# More info at https://github.com/guard/guard#readme
guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do
- watch('config/application.rb')
- watch('config/environment.rb')
- watch(%r{^config/environments/.+\.rb$})
- watch(%r{^config/initializers/.+\.rb$})
+ watch(%r{lib/})
+ watch('spec/dummy/config/application.rb')
+ watch('spec/dummy/config/environment.rb')
+ watch(%r{^spec/dummy/config/environments/.+\.rb$})
+ watch(%r{^spec/dummy/config/initializers/.+\.rb$})
watch('Gemfile')
watch('Gemfile.lock')
+ watch('spec/factories.rb')
watch('spec/spec_helper.rb') { :rspec }
watch('test/test_helper.rb') { :test_unit }
watch(%r{features/support/}) { :cucumber }
@@ -82,7 +82,7 @@
describe "redirecting" do
- context "in multi language mode" do
+ context "in multi language mode", :focus => true do
before(:each) do
@page = Factory(:public_page)

0 comments on commit 471c902

Please sign in to comment.