describe("module:ng.directive:ngStyle", function() {
  beforeEach(function() {
    browser.get("./examples/example-example44/index.html");
  });

  var colorSpan = element(by.css('span'));

  it('should check ng-style', function() {
    expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');
    element(by.css('input[value=\'set color\']')).click();
    expect(colorSpan.getCssValue('color')).toBe('rgba(255, 0, 0, 1)');
    element(by.css('input[value=clear]')).click();
    expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');
  });
});