it('should render view1 when user navigates to /view1', function() {
- expect(element('ng\\:include p:first').text()).
+ expect(element('ng\\:view p:first').text()).
toMatch(/partial for view 1/)
});
it('should render view1 when user navigates to /view2', function() {
- expect(element('ng\\:include p:first').text()).
+ expect(element('ng\\:view p:first').text()).
toMatch(/partial for view 2/)
});