Sha256: 65834a6de27fec0857cddebff7a89752ad5f36bee3945111a7724709c7732eee
Contents?: true
Size: 929 Bytes
Versions: 3
Compression:
Stored size: 929 Bytes
Contents
describe 'up.popup', -> describe 'Javascript functions', -> describe 'up.popup.attach', -> it 'should have tests' describe 'up.popup.coveredUrl', -> it 'returns the URL behind the popup', (done) -> up.history.replace('/foo') expect(up.popup.coveredUrl()).toBeUndefined() $popupLink = affix('a[href="/bar"][up-popup=".container"]') $popupLink.click() @respondWith('<div class="container">text</div>') expect(up.popup.coveredUrl()).toEndWith('/foo') up.popup.close().then -> expect(up.popup.coveredUrl()).toBeUndefined() done() describe 'up.popup.close', -> it 'should have tests' describe 'up.popup.source', -> it 'should have tests' describe 'unobtrusive behavior', -> describe 'a[up-popup]', -> it 'should have tests' describe '[up-close]', -> it 'should have tests'
Version data entries
3 entries across 3 versions & 1 rubygems