Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~/Archive/Server/carhartt-wip(develop) $ padrino rake spec
- => Executing Rake spec ...
- DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb:231:in `new')
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec -fs --color ./spec/app/controllers/news_controller_spec.rb ./spec/app/models/account_spec.rb ./spec/app/models/bmx_team_spec.rb ./spec/app/models/music_spec.rb ./spec/app/models/news_spec.rb ./spec/app/models/skate_team_spec.rb
- DataMapper::Sweatshop::Unique - ParseTree could not be loaded, anonymous uniques will not be allowed
- => Located unlocked Gemfile for test
- DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb:231:in `new')
- NewsController
- #index
- should display the recent news (FAILED - 1)
- #show
- should display the test template (FAILED - 2)
- Account Model
- can be created
- BmxTeam Model
- can be created (FAILED - 3)
- should have timestamps (FAILED - 4)
- required fields
- .title
- .text
- publishing
- should not be published by default (FAILED - 5)
- should be publishable for future (FAILED - 6)
- should be publishable (FAILED - 7)
- should be unpublishable (FAILED - 8)
- scopes
- .published
- should include @published_1 (FAILED - 9)
- should include @published_2 (FAILED - 10)
- should not include @unpublished (FAILED - 11)
- .recent_published
- should order by #published_at (FAILED - 12)
- .recent_created
- should order by #created_at (FAILED - 13)
- content
- should read the test fixture (FAILED - 14)
- should create an excerpt for the p.blog-head tag (FAILED - 15)
- should create an truncated excerpt for the p.blog-head tag (FAILED - 16)
- templates
- should have an existing default_template_location
- #test.html.haml should exist (FAILED - 17)
- should have test template_location (FAILED - 18)
- should default to standard templates if template is blank (FAILED - 19)
- should default to standard templates if template is not found (FAILED - 20)
- should allow show as default template name (FAILED - 21)
- Music Model
- can be created (FAILED - 22)
- should have timestamps (FAILED - 23)
- required fields
- .title
- .text
- publishing
- should not be published by default (FAILED - 24)
- should be publishable for future (FAILED - 25)
- should be publishable (FAILED - 26)
- should be unpublishable (FAILED - 27)
- scopes
- .published
- should include @published_1 (FAILED - 28)
- should include @published_2 (FAILED - 29)
- should not include @unpublished (FAILED - 30)
- .recent_published
- should order by #published_at (FAILED - 31)
- .recent_created
- should order by #created_at (FAILED - 32)
- content
- should read the test fixture (FAILED - 33)
- should create an excerpt for the p.blog-head tag (FAILED - 34)
- should create an truncated excerpt for the p.blog-head tag (FAILED - 35)
- templates
- should have an existing default_template_location
- #test.html.haml should exist (FAILED - 36)
- should have test template_location (FAILED - 37)
- should default to standard templates if template is blank (FAILED - 38)
- should default to standard templates if template is not found (FAILED - 39)
- should allow show as default template name (FAILED - 40)
- News Model
- can be created (FAILED - 41)
- should have timestamps (FAILED - 42)
- required fields
- .title
- .text
- publishing
- should not be published by default (FAILED - 43)
- should be publishable for future (FAILED - 44)
- should be publishable (FAILED - 45)
- should be unpublishable (FAILED - 46)
- scopes
- .published
- should include @published_1 (FAILED - 47)
- should include @published_2 (FAILED - 48)
- should not include @unpublished (FAILED - 49)
- .recent_published
- should order by #published_at (FAILED - 50)
- .recent_created
- should order by #created_at (FAILED - 51)
- content
- should read the test fixture (FAILED - 52)
- should create an excerpt for the p.blog-head tag (FAILED - 53)
- should create an truncated excerpt for the p.blog-head tag (FAILED - 54)
- templates
- should have an existing default_template_location
- #test.html.haml should exist (FAILED - 55)
- should have test template_location (FAILED - 56)
- should default to standard templates if template is blank (FAILED - 57)
- should default to standard templates if template is not found (FAILED - 58)
- should allow show as default template name (FAILED - 59)
- SkateTeam Model
- can be created (FAILED - 60)
- should have timestamps (FAILED - 61)
- required fields
- .title
- .text
- publishing
- should not be published by default (FAILED - 62)
- should be publishable for future (FAILED - 63)
- should be publishable (FAILED - 64)
- should be unpublishable (FAILED - 65)
- scopes
- .published
- should include @published_1 (FAILED - 66)
- should include @published_2 (FAILED - 67)
- should not include @unpublished (FAILED - 68)
- .recent_published
- should order by #published_at (FAILED - 69)
- .recent_created
- should order by #created_at (FAILED - 70)
- content
- should read the test fixture (FAILED - 71)
- should create an excerpt for the p.blog-head tag (FAILED - 72)
- should create an truncated excerpt for the p.blog-head tag (FAILED - 73)
- templates
- should have an existing default_template_location
- #test.html.haml should exist (FAILED - 74)
- should have test template_location (FAILED - 75)
- should default to standard templates if template is blank (FAILED - 76)
- should default to standard templates if template is not found (FAILED - 77)
- should allow show as default template name (FAILED - 78)
- Failures:
- 1) NewsController#index should display the recent news
- Failure/Error: @news = News.gen
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/app/controllers/news_controller_spec.rb:7:in `block (3 levels) in <top (required)>'
- 2) NewsController#show should display the test template
- Failure/Error: @news = News.gen(:template => "test")
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/app/controllers/news_controller_spec.rb:15:in `block (3 levels) in <top (required)>'
- 3) BmxTeam Model can be created
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
- 4) BmxTeam Model should have timestamps
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
- 5) BmxTeam Model publishing should not be published by default
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
- 6) BmxTeam Model publishing should be publishable for future
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
- 7) BmxTeam Model publishing should be publishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
- 8) BmxTeam Model publishing should be unpublishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
- 9) BmxTeam Model scopes.published should include @published_1
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 10) BmxTeam Model scopes.published should include @published_2
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 11) BmxTeam Model scopes.published should not include @unpublished
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 12) BmxTeam Model scopes.recent_published should order by #published_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 13) BmxTeam Model scopes.recent_created should order by #created_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 14) BmxTeam Model content should read the test fixture
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
- 15) BmxTeam Model content should create an excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
- 16) BmxTeam Model content should create an truncated excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
- 17) BmxTeam Model templates #test.html.haml should exist
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
- 18) BmxTeam Model templates should have test template_location
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
- 19) BmxTeam Model templates should default to standard templates if template is blank
- Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
- 20) BmxTeam Model templates should default to standard templates if template is not found
- Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
- 21) BmxTeam Model templates should allow show as default template name
- Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- bmx_teams.id may not be NULL
- # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
- 22) Music Model can be created
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
- 23) Music Model should have timestamps
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
- 24) Music Model publishing should not be published by default
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
- 25) Music Model publishing should be publishable for future
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
- 26) Music Model publishing should be publishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
- 27) Music Model publishing should be unpublishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
- 28) Music Model scopes.published should include @published_1
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 29) Music Model scopes.published should include @published_2
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 30) Music Model scopes.published should not include @unpublished
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 31) Music Model scopes.recent_published should order by #published_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 32) Music Model scopes.recent_created should order by #created_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 33) Music Model content should read the test fixture
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
- 34) Music Model content should create an excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
- 35) Music Model content should create an truncated excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
- 36) Music Model templates #test.html.haml should exist
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
- 37) Music Model templates should have test template_location
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
- 38) Music Model templates should default to standard templates if template is blank
- Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
- 39) Music Model templates should default to standard templates if template is not found
- Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
- 40) Music Model templates should allow show as default template name
- Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- musics.id may not be NULL
- # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
- 41) News Model can be created
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
- 42) News Model should have timestamps
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
- 43) News Model publishing should not be published by default
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
- 44) News Model publishing should be publishable for future
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
- 45) News Model publishing should be publishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
- 46) News Model publishing should be unpublishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
- 47) News Model scopes.published should include @published_1
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 48) News Model scopes.published should include @published_2
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 49) News Model scopes.published should not include @unpublished
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 50) News Model scopes.recent_published should order by #published_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 51) News Model scopes.recent_created should order by #created_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 52) News Model content should read the test fixture
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
- 53) News Model content should create an excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
- 54) News Model content should create an truncated excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
- 55) News Model templates #test.html.haml should exist
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
- 56) News Model templates should have test template_location
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
- 57) News Model templates should default to standard templates if template is blank
- Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
- 58) News Model templates should default to standard templates if template is not found
- Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
- 59) News Model templates should allow show as default template name
- Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- news.id may not be NULL
- # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
- 60) SkateTeam Model can be created
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
- 61) SkateTeam Model should have timestamps
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
- 62) SkateTeam Model publishing should not be published by default
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
- 63) SkateTeam Model publishing should be publishable for future
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
- 64) SkateTeam Model publishing should be publishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
- 65) SkateTeam Model publishing should be unpublishable
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
- 66) SkateTeam Model scopes.published should include @published_1
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 67) SkateTeam Model scopes.published should include @published_2
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 68) SkateTeam Model scopes.published should not include @unpublished
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 69) SkateTeam Model scopes.recent_published should order by #published_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 70) SkateTeam Model scopes.recent_created should order by #created_at
- Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
- 71) SkateTeam Model content should read the test fixture
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
- 72) SkateTeam Model content should create an excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
- 73) SkateTeam Model content should create an truncated excerpt for the p.blog-head tag
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
- 74) SkateTeam Model templates #test.html.haml should exist
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
- 75) SkateTeam Model templates should have test template_location
- Failure/Error: let(:blog) { blog_name.gen }
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
- # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
- 76) SkateTeam Model templates should default to standard templates if template is blank
- Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
- 77) SkateTeam Model templates should default to standard templates if template is not found
- Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
- 78) SkateTeam Model templates should allow show as default template name
- Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
- DataObjects::IntegrityError:
- skate_teams.id may not be NULL
- # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
- Finished in 0.79209 seconds
- 91 examples, 78 failures
- rake aborted!
- ruby -S bundle exec rspec -fs --color ./spec/app/controllers/news_controller_spec.rb ./spec/app/models/account_spec.rb ./spec/app/models/bmx_team_spec.rb ./spec/app/models/music_spec.rb ./spec/app/models/news_spec.rb ./spec/app/models/skate_team_spec.rb failed
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/rspec-core-2.6.0/lib/rspec/core/rake_task.rb:139:in `rescue in block (2 levels) in initialize'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/rspec-core-2.6.0/lib/rspec/core/rake_task.rb:135:in `block (2 levels) in initialize'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:1110:in `verbose'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/rspec-core-2.6.0/lib/rspec/core/rake_task.rb:131:in `block in initialize'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:634:in `call'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:634:in `block in execute'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:629:in `each'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:629:in `execute'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:595:in `block in invoke_with_call_chain'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:605:in `block in invoke_prerequisites'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:602:in `each'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:594:in `block in invoke_with_call_chain'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:581:in `invoke'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2019:in `each'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
- /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/padrino-core-0.9.27/lib/padrino-core/cli/rake.rb:10:in `init'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/padrino-core-0.9.27/lib/padrino-core/cli/base.rb:50:in `rake'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/padrino-core-0.9.27/bin/padrino:8:in `<top (required)>'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/bin/padrino:19:in `load'
- /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/bin/padrino:19:in `<main>'
Add Comment
Please, Sign In to add comment