Commit 1bf44ee08c1d72f50df8c30f83527b1f519fcd06

Authored by oyv1cent
1 parent 2c00b6fd

better description

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
test/unit/specs/affix.spec.js
... ... @@ -13,7 +13,7 @@ describe('Affix.vue', () => {
13 13 done();
14 14 });
15 15  
16   - it('should create a Affix component with slot', done => {
  16 + it('should create a Affix component contain slot', done => {
17 17 vm = createVue(`
18 18 <Affix>
19 19 <span class="demo-affix">Fixed at the top</span>
... ... @@ -24,7 +24,7 @@ describe(&#39;Affix.vue&#39;, () =&gt; {
24 24 done();
25 25 });
26 26  
27   - it('set offset-top props', done => {
  27 + it('only set offset-top props', done => {
28 28 vm = createVue(`
29 29 <div>
30 30 <Affix :offset-top="20">
... ... @@ -45,7 +45,7 @@ describe(&#39;Affix.vue&#39;, () =&gt; {
45 45 }, 100);
46 46 });
47 47  
48   - it('set offset-bottom props', done => {
  48 + it('only set offset-bottom props', done => {
49 49 vm = createVue(`
50 50 <div>
51 51 <div style="width: 100%; height: 2000px"></div>
... ... @@ -99,7 +99,7 @@ describe(&#39;Affix.vue&#39;, () =&gt; {
99 99 }, 100);
100 100 });
101 101  
102   - it('both props not set, should fixed and top equal 0', done => {
  102 + it('both props are not set, should fixed top and top equal 0px', done => {
103 103 vm = createVue(`
104 104 <div>
105 105 <Affix>
... ...