var po = require('./page-objects');
var ptor = protractor.getInstance();

describe('lean coffee', function() {
  var global = new po.GlobalFunction();

  describe('home page', function(){
    var homePage = new po.HomePage();

    it('should display the home page', function() {
      homePage.get();
      expect($('.welcome').getText()).toBe('Welcome to Lean Coffee! ');
    });

    it('should present the user with a default room in the inactive meeting list', function() {
      expect($('.meeting-list').getText()).toContain('default');
    });

    it('should allow user to enter a meeting name', function() {
      expect(element(by.model('meetingName')).getAttribute('value')).toBe('');
      homePage.setMeetingNameInput('Testing Meeting Name');
      expect(element(by.model('meetingName')).getAttribute('value')).toBe('Testing Meeting Name');
      homePage.setMeetingNameInput('');
    });

    it('should display a Create a Meeting! button', function() {
      expect(element(by.buttonText('Create a Meeting!')).isPresent()).toBe(true);
    });

    it('should navigate to submit phase when user clicks Create a Meeting! button', function() {
      homePage.createMeeting();
      expect(global.getPhaseText()).toMatch(/PHASE: SUBMIT/);
    });
  });
});

@@ -362,24 +362,80 @@
 Coffee! ');%0A
+      expect(ptor.getCurrentUrl()).toContain('#/home');%0A
     %7D);%0A%0A   
@@ -1300,16 +1300,75 @@
 BMIT/);%0A
+      expect(ptor.getCurrentUrl()).toContain('#/meeting');%0A
     %7D);%0A

Update expects for home page