<commit_before>var RSVP    = require('rsvp');
var request = RSVP.denodeify(require('request'));
var jsdom   = require("jsdom").jsdom;

QUnit.module('Fastboot render');

QUnit.test('it renders', function(assert) {
  assert.expect(3);

  return request('http://localhost:3000').then(function(response) {
    assert.equal(response.statusCode, 200, 'Request is successful');
    assert.equal(response.headers["content-type"], "text/html; charset=utf-8", 'Content type is correct');
    var document = jsdom(response.body).defaultView.document;
    var eps = document.querySelector('.ember-power-select');
    assert.ok(eps, 'The select has been rendered');
  });
});<commit_msg>Add a couple more assertions<commit_after>var RSVP    = require('rsvp');
var request = RSVP.denodeify(require('request'));
var jsdom   = require("jsdom").jsdom;

QUnit.module('Fastboot render');

QUnit.test('it renders', function(assert) {
  assert.expect(5);

  return request('http://localhost:3000/fastboot-test').then(function(response) {
    assert.equal(response.statusCode, 200, 'Request is successful');
    assert.equal(response.headers["content-type"], "text/html; charset=utf-8", 'Content type is correct');
    var document = jsdom(response.body).defaultView.document;
    var eps = document.querySelector('.ember-power-select');
    assert.ok(eps, 'The select has been rendered');
    assert.ok(eps.querySelector('.ember-power-select-trigger'), 'It contains a trigger');
    assert.equal(eps.textContent.trim(), '', 'Nothing is selected');
  });
});
{'fraction_non_alphanumeric': 0.17057291666666666, 'fraction_numerical': 0.01171875, 'mean_word_length': 5.247967479674797, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1062576', 'n_tokens_mistral': 478, 'n_tokens_neox': 457, 'n_words': 95}