mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-17 12:15:56 +08:00
12 lines
424 B
JavaScript
12 lines
424 B
JavaScript
'use strict';
|
|
|
|
describe("provider pages", function() {
|
|
|
|
it("should show the related service", function() {
|
|
browser.get('index-debug.html#!/api/ng/provider/$compileProvider');
|
|
var serviceLink = element.all(by.css('ol.api-profile-header-structure li a')).first();
|
|
expect(serviceLink.getText()).toEqual('- $compile');
|
|
expect(serviceLink.getAttribute('href')).toMatch(/api\/ng\/service\/\$compile/);
|
|
});
|
|
|
|
}); |