Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
chore(modal): clean up code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Aug 18, 2015
1 parent dac087e commit 3492c26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/modal/test/modal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,7 @@ describe('$modal', function () {
});

describe('default options can be changed in a provider', function() {

it('should allow overriding default options in a provider', function() {

$modalProvider.options.backdrop = false;
var modal = open({template: '<div>Content</div>'});

Expand All @@ -432,7 +430,6 @@ describe('$modal', function () {
});

it('should accept new objects with default options in a provider', function() {

$modalProvider.options = {
backdrop: false
};
Expand All @@ -444,9 +441,7 @@ describe('$modal', function () {
});

describe('option by option', function () {

describe('template and templateUrl', function () {

it('should throw an error if none of template and templateUrl are provided', function() {
expect(function(){
var modal = open({});
Expand Down Expand Up @@ -476,11 +471,9 @@ describe('$modal', function () {
}});
expect($document).toHaveModalOpenWithContent('Whitespaces', 'div');
});

});

describe('controller', function() {

it('should accept controllers and inject modal instances', function() {
var TestCtrl = function($scope, $modalInstance) {
$scope.fromCtrl = 'Content from ctrl';
Expand Down
1 change: 0 additions & 1 deletion src/modal/test/stackedMap.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
describe('stacked map', function() {

var stackedMap;

beforeEach(module('ui.bootstrap.modal'));
Expand Down

0 comments on commit 3492c26

Please sign in to comment.