+should    = require 'should'
+
 lti       = require '../'
-should    = require 'should'
 
 
 describe 'LTI.Provider', () ->



    it 'should throw an error if no consumer_key or consumer_secret', () =>
      (()=>provider = new @lti.Provider()).should.throw()
      (()=>provider = new @lti.Provider('consumer-key')).should.throw()


  describe 'Structure', () =>

          resource_link_id: 'http://link-to-resource.com/resource'
      @provider.valid_request req_wrong_version, (err, valid) ->
        err.should.not.equal null
        err.should.be.instanceof(lti.Errors.ParameterError)
        valid.should.equal false
        done()

