• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CraftAcademy / sf-online-august / 156 / 1
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 05 Oct 2016 08:58AM UTC
Files 17
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Oct 2016 08:55AM UTC coverage: 96.429% (+0.3%) from 96.178%
2.3.0

push

travis-ci

tochman
Association menus with restaurants, restrict menu creation to owners who have already set up their restaurant (#37)

* Create restaurant association for menus

* Add belongs_to association on menu for restaurant

* Menus are created from the form with a restaurant association

* Sad path test for creating a menu that only exists for your restaurant

* Write test for having two menus in a restaurant

* Prevent owners with no restaurant from making menus

* Prevent restaurant owners from adding dishes if they haven't created a restaurant

* Require a restaurant to create a menu

* Prevent users from seeing other owners' menus when they create dishes

* Add restaurant creation to most (failing) cucumber features

* Add link for menus on restaurant page

* Refactor dishes controller to use cancan

* Refactor menus controller to use cancan

* Refactor menu controller to use association create menthod

* Extract owner_has_restaurant to application controller

* Extract owner_has_restaurant to a before_action in dishes, menus controllers

* Remove unnecessary cancan methods from controller

* Create cucumber tests for menu and dish create page visits when not logged in

162 of 168 relevant lines covered (96.43%)

13.18 hits per line

Source Files on job 156.1 (2.3.0)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 5
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 156
  • Travis Job 156.1
  • 0b349167 on github
  • Prev Job for 2.3.0 on develop (#154.1)
  • Next Job for 2.3.0 on develop (#158.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc