/*eslint-env mocha */

describe('QueryRequest', () => {
  it.skip('works');
});

@@ -20,58 +20,2097 @@
 */%0A%0A
-describe('QueryRequest', () =%3E %7B%0A  it.skip('works'
+import assert from 'assert';%0Aimport %7Brethinkdb as r%7D from 'rethinkdb-websocket-client';%0Aimport %7BQueryRequest%7D from '../src/node';%0A%0Adescribe('QueryRequest', () =%3E %7B%0A  describe('toStringKey', () =%3E %7B%0A%0A    it('cares about %22query%22 equality', () =%3E %7B%0A      assert.strictEqual(%0A        new QueryRequest(%7B%0A          query: r.table('turtles').filter(t =%3E t('color').eq('green')),%0A          changes: false,%0A          initial: %5B%5D,%0A        %7D).toStringKey(),%0A        new QueryRequest(%7B%0A          query: r.table('turtles').filter(t =%3E t('color').eq('green')),%0A          changes: false,%0A          initial: %5B%5D,%0A        %7D).toStringKey()%0A      );%0A      assert.notStrictEqual(%0A        new QueryRequest(%7B%0A          query: r.table('turtles').filter(t =%3E t('color').eq('green')),%0A          changes: false,%0A          initial: %5B%5D,%0A        %7D).toStringKey(),%0A        new QueryRequest(%7B%0A          query: r.table('turtles').filter(t =%3E t('color').eq('red')),%0A          changes: false,%0A          initial: %5B%5D,%0A        %7D).toStringKey()%0A      );%0A    %7D);%0A%0A    it('cares about %22changes%22 equality', () =%3E %7B%0A      assert.strictEqual(%0A        new QueryRequest(%7B%0A          query: r.table('turtles'),%0A          changes: true,%0A          initial: %5B%5D,%0A        %7D).toStringKey(),%0A        new QueryRequest(%7B%0A          query: r.table('turtles'),%0A          changes: true,%0A          initial: %5B%5D,%0A        %7D).toStringKey()%0A      );%0A      assert.notStrictEqual(%0A        new QueryRequest(%7B%0A          query: r.table('turtles'),%0A          changes: true,%0A          initial: %5B%5D,%0A        %7D).toStringKey(),%0A        new QueryRequest(%7B%0A          query: r.table('turtles'),%0A          changes: false,%0A          initial: %5B%5D,%0A        %7D).toStringKey()%0A      );%0A    %7D);%0A%0A    it('does not care about %22initial%22 equality', () =%3E %7B%0A      assert.strictEqual(%0A        new QueryRequest(%7B%0A          query: r.table('turtles'),%0A          changes: false,%0A          initial: %5B%5D,%0A        %7D).toStringKey(),%0A        new QueryRequest(%7B%0A          query: r.table('turtles'),%0A          changes: false,%0A          initial: null,%0A        %7D).toStringKey()%0A      );%0A    %7D);%0A%0A  %7D
 );%0A%7D

Implement QueryRequest unit tests