
seajs.config({
  base: './specs/config-base/'
})


define(function(require) {

  var test = require('../../test')
  var a = require('a')

  test.assert(a.name === 'a', a.name)


  seajs.config({
    base: '../'
  })

  var base = seajs.config.data.base
  test.assert(/seajs\/$/.test(base), base)

  test.done()

})



seajs.config({
  base: './specs/config-base/'
})


define(function(require) {

  var test = require('../../test')
  var a = require('a')

  test.assert(a.name === 'a', a.name)


  seajs.config({
    base: './'
  })

  var base = seajs.config.data.base
  test.assert(/tests\/$/.test(base), base)

  test.done()

})


Fix a bug in travis ci environment
Fix a bug in travis ci environment
