Guest User

Untitled

a guest
Dec 7th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.63 KB | None | 0 0
  1. ~/Archive/Server/carhartt-wip(develop) $ padrino rake spec
  2. => Executing Rake spec ...
  3. 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')
  4. /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
  5. DataMapper::Sweatshop::Unique - ParseTree could not be loaded, anonymous uniques will not be allowed
  6. => Located unlocked Gemfile for test
  7. 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')
  8.  
  9. NewsController
  10. #index
  11. should display the recent news (FAILED - 1)
  12. #show
  13. should display the test template (FAILED - 2)
  14.  
  15. Account Model
  16. can be created
  17.  
  18. BmxTeam Model
  19. can be created (FAILED - 3)
  20. should have timestamps (FAILED - 4)
  21. required fields
  22. .title
  23. .text
  24. publishing
  25. should not be published by default (FAILED - 5)
  26. should be publishable for future (FAILED - 6)
  27. should be publishable (FAILED - 7)
  28. should be unpublishable (FAILED - 8)
  29. scopes
  30. .published
  31. should include @published_1 (FAILED - 9)
  32. should include @published_2 (FAILED - 10)
  33. should not include @unpublished (FAILED - 11)
  34. .recent_published
  35. should order by #published_at (FAILED - 12)
  36. .recent_created
  37. should order by #created_at (FAILED - 13)
  38. content
  39. should read the test fixture (FAILED - 14)
  40. should create an excerpt for the p.blog-head tag (FAILED - 15)
  41. should create an truncated excerpt for the p.blog-head tag (FAILED - 16)
  42. templates
  43. should have an existing default_template_location
  44. #test.html.haml should exist (FAILED - 17)
  45. should have test template_location (FAILED - 18)
  46. should default to standard templates if template is blank (FAILED - 19)
  47. should default to standard templates if template is not found (FAILED - 20)
  48. should allow show as default template name (FAILED - 21)
  49.  
  50. Music Model
  51. can be created (FAILED - 22)
  52. should have timestamps (FAILED - 23)
  53. required fields
  54. .title
  55. .text
  56. publishing
  57. should not be published by default (FAILED - 24)
  58. should be publishable for future (FAILED - 25)
  59. should be publishable (FAILED - 26)
  60. should be unpublishable (FAILED - 27)
  61. scopes
  62. .published
  63. should include @published_1 (FAILED - 28)
  64. should include @published_2 (FAILED - 29)
  65. should not include @unpublished (FAILED - 30)
  66. .recent_published
  67. should order by #published_at (FAILED - 31)
  68. .recent_created
  69. should order by #created_at (FAILED - 32)
  70. content
  71. should read the test fixture (FAILED - 33)
  72. should create an excerpt for the p.blog-head tag (FAILED - 34)
  73. should create an truncated excerpt for the p.blog-head tag (FAILED - 35)
  74. templates
  75. should have an existing default_template_location
  76. #test.html.haml should exist (FAILED - 36)
  77. should have test template_location (FAILED - 37)
  78. should default to standard templates if template is blank (FAILED - 38)
  79. should default to standard templates if template is not found (FAILED - 39)
  80. should allow show as default template name (FAILED - 40)
  81.  
  82. News Model
  83. can be created (FAILED - 41)
  84. should have timestamps (FAILED - 42)
  85. required fields
  86. .title
  87. .text
  88. publishing
  89. should not be published by default (FAILED - 43)
  90. should be publishable for future (FAILED - 44)
  91. should be publishable (FAILED - 45)
  92. should be unpublishable (FAILED - 46)
  93. scopes
  94. .published
  95. should include @published_1 (FAILED - 47)
  96. should include @published_2 (FAILED - 48)
  97. should not include @unpublished (FAILED - 49)
  98. .recent_published
  99. should order by #published_at (FAILED - 50)
  100. .recent_created
  101. should order by #created_at (FAILED - 51)
  102. content
  103. should read the test fixture (FAILED - 52)
  104. should create an excerpt for the p.blog-head tag (FAILED - 53)
  105. should create an truncated excerpt for the p.blog-head tag (FAILED - 54)
  106. templates
  107. should have an existing default_template_location
  108. #test.html.haml should exist (FAILED - 55)
  109. should have test template_location (FAILED - 56)
  110. should default to standard templates if template is blank (FAILED - 57)
  111. should default to standard templates if template is not found (FAILED - 58)
  112. should allow show as default template name (FAILED - 59)
  113.  
  114. SkateTeam Model
  115. can be created (FAILED - 60)
  116. should have timestamps (FAILED - 61)
  117. required fields
  118. .title
  119. .text
  120. publishing
  121. should not be published by default (FAILED - 62)
  122. should be publishable for future (FAILED - 63)
  123. should be publishable (FAILED - 64)
  124. should be unpublishable (FAILED - 65)
  125. scopes
  126. .published
  127. should include @published_1 (FAILED - 66)
  128. should include @published_2 (FAILED - 67)
  129. should not include @unpublished (FAILED - 68)
  130. .recent_published
  131. should order by #published_at (FAILED - 69)
  132. .recent_created
  133. should order by #created_at (FAILED - 70)
  134. content
  135. should read the test fixture (FAILED - 71)
  136. should create an excerpt for the p.blog-head tag (FAILED - 72)
  137. should create an truncated excerpt for the p.blog-head tag (FAILED - 73)
  138. templates
  139. should have an existing default_template_location
  140. #test.html.haml should exist (FAILED - 74)
  141. should have test template_location (FAILED - 75)
  142. should default to standard templates if template is blank (FAILED - 76)
  143. should default to standard templates if template is not found (FAILED - 77)
  144. should allow show as default template name (FAILED - 78)
  145.  
  146. Failures:
  147.  
  148. 1) NewsController#index should display the recent news
  149. Failure/Error: @news = News.gen
  150. DataObjects::IntegrityError:
  151. news.id may not be NULL
  152. # ./spec/app/controllers/news_controller_spec.rb:7:in `block (3 levels) in <top (required)>'
  153.  
  154. 2) NewsController#show should display the test template
  155. Failure/Error: @news = News.gen(:template => "test")
  156. DataObjects::IntegrityError:
  157. news.id may not be NULL
  158. # ./spec/app/controllers/news_controller_spec.rb:15:in `block (3 levels) in <top (required)>'
  159.  
  160. 3) BmxTeam Model can be created
  161. Failure/Error: let(:blog) { blog_name.gen }
  162. DataObjects::IntegrityError:
  163. bmx_teams.id may not be NULL
  164. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  165. # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
  166.  
  167. 4) BmxTeam Model should have timestamps
  168. Failure/Error: let(:blog) { blog_name.gen }
  169. DataObjects::IntegrityError:
  170. bmx_teams.id may not be NULL
  171. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  172. # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
  173.  
  174. 5) BmxTeam Model publishing should not be published by default
  175. Failure/Error: let(:blog) { blog_name.gen }
  176. DataObjects::IntegrityError:
  177. bmx_teams.id may not be NULL
  178. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  179. # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
  180.  
  181. 6) BmxTeam Model publishing should be publishable for future
  182. Failure/Error: let(:blog) { blog_name.gen }
  183. DataObjects::IntegrityError:
  184. bmx_teams.id may not be NULL
  185. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  186. # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
  187.  
  188. 7) BmxTeam Model publishing should be publishable
  189. Failure/Error: let(:blog) { blog_name.gen }
  190. DataObjects::IntegrityError:
  191. bmx_teams.id may not be NULL
  192. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  193. # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
  194.  
  195. 8) BmxTeam Model publishing should be unpublishable
  196. Failure/Error: let(:blog) { blog_name.gen }
  197. DataObjects::IntegrityError:
  198. bmx_teams.id may not be NULL
  199. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  200. # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
  201.  
  202. 9) BmxTeam Model scopes.published should include @published_1
  203. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  204. DataObjects::IntegrityError:
  205. bmx_teams.id may not be NULL
  206. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  207.  
  208. 10) BmxTeam Model scopes.published should include @published_2
  209. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  210. DataObjects::IntegrityError:
  211. bmx_teams.id may not be NULL
  212. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  213.  
  214. 11) BmxTeam Model scopes.published should not include @unpublished
  215. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  216. DataObjects::IntegrityError:
  217. bmx_teams.id may not be NULL
  218. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  219.  
  220. 12) BmxTeam Model scopes.recent_published should order by #published_at
  221. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  222. DataObjects::IntegrityError:
  223. bmx_teams.id may not be NULL
  224. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  225.  
  226. 13) BmxTeam Model scopes.recent_created should order by #created_at
  227. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  228. DataObjects::IntegrityError:
  229. bmx_teams.id may not be NULL
  230. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  231.  
  232. 14) BmxTeam Model content should read the test fixture
  233. Failure/Error: let(:blog) { blog_name.gen }
  234. DataObjects::IntegrityError:
  235. bmx_teams.id may not be NULL
  236. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  237. # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
  238.  
  239. 15) BmxTeam Model content should create an excerpt for the p.blog-head tag
  240. Failure/Error: let(:blog) { blog_name.gen }
  241. DataObjects::IntegrityError:
  242. bmx_teams.id may not be NULL
  243. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  244. # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
  245.  
  246. 16) BmxTeam Model content should create an truncated excerpt for the p.blog-head tag
  247. Failure/Error: let(:blog) { blog_name.gen }
  248. DataObjects::IntegrityError:
  249. bmx_teams.id may not be NULL
  250. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  251. # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
  252.  
  253. 17) BmxTeam Model templates #test.html.haml should exist
  254. Failure/Error: let(:blog) { blog_name.gen }
  255. DataObjects::IntegrityError:
  256. bmx_teams.id may not be NULL
  257. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  258. # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
  259.  
  260. 18) BmxTeam Model templates should have test template_location
  261. Failure/Error: let(:blog) { blog_name.gen }
  262. DataObjects::IntegrityError:
  263. bmx_teams.id may not be NULL
  264. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  265. # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
  266.  
  267. 19) BmxTeam Model templates should default to standard templates if template is blank
  268. Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
  269. DataObjects::IntegrityError:
  270. bmx_teams.id may not be NULL
  271. # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
  272.  
  273. 20) BmxTeam Model templates should default to standard templates if template is not found
  274. Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
  275. DataObjects::IntegrityError:
  276. bmx_teams.id may not be NULL
  277. # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
  278.  
  279. 21) BmxTeam Model templates should allow show as default template name
  280. Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
  281. DataObjects::IntegrityError:
  282. bmx_teams.id may not be NULL
  283. # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
  284.  
  285. 22) Music Model can be created
  286. Failure/Error: let(:blog) { blog_name.gen }
  287. DataObjects::IntegrityError:
  288. musics.id may not be NULL
  289. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  290. # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
  291.  
  292. 23) Music Model should have timestamps
  293. Failure/Error: let(:blog) { blog_name.gen }
  294. DataObjects::IntegrityError:
  295. musics.id may not be NULL
  296. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  297. # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
  298.  
  299. 24) Music Model publishing should not be published by default
  300. Failure/Error: let(:blog) { blog_name.gen }
  301. DataObjects::IntegrityError:
  302. musics.id may not be NULL
  303. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  304. # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
  305.  
  306. 25) Music Model publishing should be publishable for future
  307. Failure/Error: let(:blog) { blog_name.gen }
  308. DataObjects::IntegrityError:
  309. musics.id may not be NULL
  310. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  311. # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
  312.  
  313. 26) Music Model publishing should be publishable
  314. Failure/Error: let(:blog) { blog_name.gen }
  315. DataObjects::IntegrityError:
  316. musics.id may not be NULL
  317. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  318. # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
  319.  
  320. 27) Music Model publishing should be unpublishable
  321. Failure/Error: let(:blog) { blog_name.gen }
  322. DataObjects::IntegrityError:
  323. musics.id may not be NULL
  324. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  325. # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
  326.  
  327. 28) Music Model scopes.published should include @published_1
  328. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  329. DataObjects::IntegrityError:
  330. musics.id may not be NULL
  331. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  332.  
  333. 29) Music Model scopes.published should include @published_2
  334. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  335. DataObjects::IntegrityError:
  336. musics.id may not be NULL
  337. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  338.  
  339. 30) Music Model scopes.published should not include @unpublished
  340. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  341. DataObjects::IntegrityError:
  342. musics.id may not be NULL
  343. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  344.  
  345. 31) Music Model scopes.recent_published should order by #published_at
  346. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  347. DataObjects::IntegrityError:
  348. musics.id may not be NULL
  349. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  350.  
  351. 32) Music Model scopes.recent_created should order by #created_at
  352. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  353. DataObjects::IntegrityError:
  354. musics.id may not be NULL
  355. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  356.  
  357. 33) Music Model content should read the test fixture
  358. Failure/Error: let(:blog) { blog_name.gen }
  359. DataObjects::IntegrityError:
  360. musics.id may not be NULL
  361. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  362. # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
  363.  
  364. 34) Music Model content should create an excerpt for the p.blog-head tag
  365. Failure/Error: let(:blog) { blog_name.gen }
  366. DataObjects::IntegrityError:
  367. musics.id may not be NULL
  368. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  369. # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
  370.  
  371. 35) Music Model content should create an truncated excerpt for the p.blog-head tag
  372. Failure/Error: let(:blog) { blog_name.gen }
  373. DataObjects::IntegrityError:
  374. musics.id may not be NULL
  375. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  376. # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
  377.  
  378. 36) Music Model templates #test.html.haml should exist
  379. Failure/Error: let(:blog) { blog_name.gen }
  380. DataObjects::IntegrityError:
  381. musics.id may not be NULL
  382. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  383. # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
  384.  
  385. 37) Music Model templates should have test template_location
  386. Failure/Error: let(:blog) { blog_name.gen }
  387. DataObjects::IntegrityError:
  388. musics.id may not be NULL
  389. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  390. # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
  391.  
  392. 38) Music Model templates should default to standard templates if template is blank
  393. Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
  394. DataObjects::IntegrityError:
  395. musics.id may not be NULL
  396. # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
  397.  
  398. 39) Music Model templates should default to standard templates if template is not found
  399. Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
  400. DataObjects::IntegrityError:
  401. musics.id may not be NULL
  402. # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
  403.  
  404. 40) Music Model templates should allow show as default template name
  405. Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
  406. DataObjects::IntegrityError:
  407. musics.id may not be NULL
  408. # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
  409.  
  410. 41) News Model can be created
  411. Failure/Error: let(:blog) { blog_name.gen }
  412. DataObjects::IntegrityError:
  413. news.id may not be NULL
  414. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  415. # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
  416.  
  417. 42) News Model should have timestamps
  418. Failure/Error: let(:blog) { blog_name.gen }
  419. DataObjects::IntegrityError:
  420. news.id may not be NULL
  421. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  422. # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
  423.  
  424. 43) News Model publishing should not be published by default
  425. Failure/Error: let(:blog) { blog_name.gen }
  426. DataObjects::IntegrityError:
  427. news.id may not be NULL
  428. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  429. # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
  430.  
  431. 44) News Model publishing should be publishable for future
  432. Failure/Error: let(:blog) { blog_name.gen }
  433. DataObjects::IntegrityError:
  434. news.id may not be NULL
  435. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  436. # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
  437.  
  438. 45) News Model publishing should be publishable
  439. Failure/Error: let(:blog) { blog_name.gen }
  440. DataObjects::IntegrityError:
  441. news.id may not be NULL
  442. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  443. # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
  444.  
  445. 46) News Model publishing should be unpublishable
  446. Failure/Error: let(:blog) { blog_name.gen }
  447. DataObjects::IntegrityError:
  448. news.id may not be NULL
  449. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  450. # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
  451.  
  452. 47) News Model scopes.published should include @published_1
  453. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  454. DataObjects::IntegrityError:
  455. news.id may not be NULL
  456. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  457.  
  458. 48) News Model scopes.published should include @published_2
  459. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  460. DataObjects::IntegrityError:
  461. news.id may not be NULL
  462. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  463.  
  464. 49) News Model scopes.published should not include @unpublished
  465. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  466. DataObjects::IntegrityError:
  467. news.id may not be NULL
  468. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  469.  
  470. 50) News Model scopes.recent_published should order by #published_at
  471. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  472. DataObjects::IntegrityError:
  473. news.id may not be NULL
  474. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  475.  
  476. 51) News Model scopes.recent_created should order by #created_at
  477. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  478. DataObjects::IntegrityError:
  479. news.id may not be NULL
  480. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  481.  
  482. 52) News Model content should read the test fixture
  483. Failure/Error: let(:blog) { blog_name.gen }
  484. DataObjects::IntegrityError:
  485. news.id may not be NULL
  486. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  487. # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
  488.  
  489. 53) News Model content should create an excerpt for the p.blog-head tag
  490. Failure/Error: let(:blog) { blog_name.gen }
  491. DataObjects::IntegrityError:
  492. news.id may not be NULL
  493. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  494. # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
  495.  
  496. 54) News Model content should create an truncated excerpt for the p.blog-head tag
  497. Failure/Error: let(:blog) { blog_name.gen }
  498. DataObjects::IntegrityError:
  499. news.id may not be NULL
  500. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  501. # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
  502.  
  503. 55) News Model templates #test.html.haml should exist
  504. Failure/Error: let(:blog) { blog_name.gen }
  505. DataObjects::IntegrityError:
  506. news.id may not be NULL
  507. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  508. # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
  509.  
  510. 56) News Model templates should have test template_location
  511. Failure/Error: let(:blog) { blog_name.gen }
  512. DataObjects::IntegrityError:
  513. news.id may not be NULL
  514. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  515. # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
  516.  
  517. 57) News Model templates should default to standard templates if template is blank
  518. Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
  519. DataObjects::IntegrityError:
  520. news.id may not be NULL
  521. # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
  522.  
  523. 58) News Model templates should default to standard templates if template is not found
  524. Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
  525. DataObjects::IntegrityError:
  526. news.id may not be NULL
  527. # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
  528.  
  529. 59) News Model templates should allow show as default template name
  530. Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
  531. DataObjects::IntegrityError:
  532. news.id may not be NULL
  533. # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
  534.  
  535. 60) SkateTeam Model can be created
  536. Failure/Error: let(:blog) { blog_name.gen }
  537. DataObjects::IntegrityError:
  538. skate_teams.id may not be NULL
  539. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  540. # ./spec/support/macros.rb:7:in `block in acts_as_a_blog'
  541.  
  542. 61) SkateTeam Model should have timestamps
  543. Failure/Error: let(:blog) { blog_name.gen }
  544. DataObjects::IntegrityError:
  545. skate_teams.id may not be NULL
  546. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  547. # ./spec/support/macros.rb:11:in `block in acts_as_a_blog'
  548.  
  549. 62) SkateTeam Model publishing should not be published by default
  550. Failure/Error: let(:blog) { blog_name.gen }
  551. DataObjects::IntegrityError:
  552. skate_teams.id may not be NULL
  553. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  554. # ./spec/support/macros.rb:28:in `block (2 levels) in acts_as_a_blog'
  555.  
  556. 63) SkateTeam Model publishing should be publishable for future
  557. Failure/Error: let(:blog) { blog_name.gen }
  558. DataObjects::IntegrityError:
  559. skate_teams.id may not be NULL
  560. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  561. # ./spec/support/macros.rb:32:in `block (2 levels) in acts_as_a_blog'
  562.  
  563. 64) SkateTeam Model publishing should be publishable
  564. Failure/Error: let(:blog) { blog_name.gen }
  565. DataObjects::IntegrityError:
  566. skate_teams.id may not be NULL
  567. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  568. # ./spec/support/macros.rb:37:in `block (2 levels) in acts_as_a_blog'
  569.  
  570. 65) SkateTeam Model publishing should be unpublishable
  571. Failure/Error: let(:blog) { blog_name.gen }
  572. DataObjects::IntegrityError:
  573. skate_teams.id may not be NULL
  574. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  575. # ./spec/support/macros.rb:42:in `block (2 levels) in acts_as_a_blog'
  576.  
  577. 66) SkateTeam Model scopes.published should include @published_1
  578. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  579. DataObjects::IntegrityError:
  580. skate_teams.id may not be NULL
  581. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  582.  
  583. 67) SkateTeam Model scopes.published should include @published_2
  584. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  585. DataObjects::IntegrityError:
  586. skate_teams.id may not be NULL
  587. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  588.  
  589. 68) SkateTeam Model scopes.published should not include @unpublished
  590. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  591. DataObjects::IntegrityError:
  592. skate_teams.id may not be NULL
  593. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  594.  
  595. 69) SkateTeam Model scopes.recent_published should order by #published_at
  596. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  597. DataObjects::IntegrityError:
  598. skate_teams.id may not be NULL
  599. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  600.  
  601. 70) SkateTeam Model scopes.recent_created should order by #created_at
  602. Failure/Error: @published_1 = blog_name.gen(:published_at => Time.now - 12_000,
  603. DataObjects::IntegrityError:
  604. skate_teams.id may not be NULL
  605. # ./spec/support/macros.rb:53:in `block (2 levels) in acts_as_a_blog'
  606.  
  607. 71) SkateTeam Model content should read the test fixture
  608. Failure/Error: let(:blog) { blog_name.gen }
  609. DataObjects::IntegrityError:
  610. skate_teams.id may not be NULL
  611. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  612. # ./spec/support/macros.rb:89:in `block (2 levels) in acts_as_a_blog'
  613.  
  614. 72) SkateTeam Model content should create an excerpt for the p.blog-head tag
  615. Failure/Error: let(:blog) { blog_name.gen }
  616. DataObjects::IntegrityError:
  617. skate_teams.id may not be NULL
  618. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  619. # ./spec/support/macros.rb:93:in `block (2 levels) in acts_as_a_blog'
  620.  
  621. 73) SkateTeam Model content should create an truncated excerpt for the p.blog-head tag
  622. Failure/Error: let(:blog) { blog_name.gen }
  623. DataObjects::IntegrityError:
  624. skate_teams.id may not be NULL
  625. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  626. # ./spec/support/macros.rb:97:in `block (2 levels) in acts_as_a_blog'
  627.  
  628. 74) SkateTeam Model templates #test.html.haml should exist
  629. Failure/Error: let(:blog) { blog_name.gen }
  630. DataObjects::IntegrityError:
  631. skate_teams.id may not be NULL
  632. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  633. # ./spec/support/macros.rb:108:in `block (2 levels) in acts_as_a_blog'
  634.  
  635. 75) SkateTeam Model templates should have test template_location
  636. Failure/Error: let(:blog) { blog_name.gen }
  637. DataObjects::IntegrityError:
  638. skate_teams.id may not be NULL
  639. # ./spec/support/macros.rb:4:in `block in acts_as_a_blog'
  640. # ./spec/support/macros.rb:112:in `block (2 levels) in acts_as_a_blog'
  641.  
  642. 76) SkateTeam Model templates should default to standard templates if template is blank
  643. Failure/Error: [blog_name.gen(:template => nil),blog_name.gen(:template => "")].each do |o|
  644. DataObjects::IntegrityError:
  645. skate_teams.id may not be NULL
  646. # ./spec/support/macros.rb:116:in `block (2 levels) in acts_as_a_blog'
  647.  
  648. 77) SkateTeam Model templates should default to standard templates if template is not found
  649. Failure/Error: blog_name.gen(:template => "foo").template_location.should == "/#{blog_name.to_s.downcase}/show"
  650. DataObjects::IntegrityError:
  651. skate_teams.id may not be NULL
  652. # ./spec/support/macros.rb:122:in `block (2 levels) in acts_as_a_blog'
  653.  
  654. 78) SkateTeam Model templates should allow show as default template name
  655. Failure/Error: blog_name.gen(:template => "show").template_location.should == "/#{blog_name.to_s.downcase}/show"
  656. DataObjects::IntegrityError:
  657. skate_teams.id may not be NULL
  658. # ./spec/support/macros.rb:126:in `block (2 levels) in acts_as_a_blog'
  659.  
  660. Finished in 0.79209 seconds
  661. 91 examples, 78 failures
  662. rake aborted!
  663. 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
  664. /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'
  665. /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'
  666. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:1110:in `verbose'
  667. /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'
  668. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:634:in `call'
  669. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:634:in `block in execute'
  670. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:629:in `each'
  671. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:629:in `execute'
  672. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:595:in `block in invoke_with_call_chain'
  673. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
  674. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
  675. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:605:in `block in invoke_prerequisites'
  676. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:602:in `each'
  677. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
  678. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:594:in `block in invoke_with_call_chain'
  679. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
  680. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
  681. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:581:in `invoke'
  682. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task'
  683. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level'
  684. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2019:in `each'
  685. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
  686. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
  687. /Users/se/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
  688. /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'
  689. /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'
  690. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
  691. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
  692. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
  693. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
  694. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/gems/padrino-core-0.9.27/bin/padrino:8:in `<top (required)>'
  695. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/bin/padrino:19:in `load'
  696. /Users/se/.rvm/gems/ruby-1.9.2-p180@carhartt/bin/padrino:19:in `<main>'
Add Comment
Please, Sign In to add comment