Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Oct 6, 2016
1 parent aefdbac commit 1f8f3d9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/fields/fieldSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
computed: {
selectOptions() {
return this.schema.selectOptions || {}
return this.schema.selectOptions || {};
},
items() {
Expand Down
2 changes: 1 addition & 1 deletion src/fields/fieldVueMultiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
mixins: [abstractField],
computed: {
selectOptions() {
return this.schema.selectOptions || {}
return this.schema.selectOptions || {};
},
options() {
Expand Down
10 changes: 0 additions & 10 deletions test/unit/specs/fields/fieldSelectEx.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,6 @@ describe("fieldSelectEx.vue", function() {

});

it("should contain a disabled <non selected> element if required", (done) => {
schema.required = true;
vm.$nextTick( () => {
let options = input.querySelectorAll("option");
//expect(options[0].disabled).to.be.true;
//expect(options[0].textContent).to.be.equal("<Not selected>");
done();
});
});

it("should not be multiple", (done) => {
schema.multiSelect = true;
vm.$nextTick( () => {
Expand Down

0 comments on commit 1f8f3d9

Please sign in to comment.