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

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

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 05 Oct 2016 08:58AM UTC
Jobs 1
Files 17
Run time 23s
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

pending completion
156

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

Jobs
ID Job ID Ran Files Coverage
1 156.1 (2.3.0) 05 Oct 2016 08:58AM UTC 0
96.43
Travis Job 156.1
Source Files on build 156
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #156
  • 0b349167 on github
  • Prev Build on develop (#154)
  • Next Build on develop (#158)
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