<commit_before>import Ember from 'ember';
import startApp from '../helpers/start-app';

var App;

module('Acceptance: Accounts', {
  setup: function() {
    App = startApp();
  },
  teardown: function() {
    Ember.run(App, 'destroy');
  }
});

test('visiting /accounts', function() {
  visit('/accounts');

  andThen(function() {
    equal(currentPath(), 'accounts');
  });
});

test('has a title', function() {
  visit('/accounts');

  andThen(function() {
    findFirstAndCheckText('main header h1', 'Banking Accounts');
  });
});

test('it lists the accounts', function() {
  visit('/accounts');

  andThen(function() {
    var size = find('td.account-info').length;
    equal(size, 2);
  });
});
<commit_msg>fix tests<commit_after>import Ember from 'ember';
import startApp from '../helpers/start-app';

var App;

module('Acceptance: Accounts', {
  setup: function() {
    App = startApp();
  },
  teardown: function() {
    Ember.run(App, 'destroy');
  }
});

test('visiting /accounts', function() {
  visit('/accounts');

  andThen(function() {
    equal(currentPath(), 'accounts');
  });
});

test('has a title', function() {
  visit('/accounts');

  andThen(function() {
    findFirstAndCheckText('main header h1', 'Bank Accounts');
  });
});

test('it lists the accounts', function() {
  visit('/accounts');

  andThen(function() {
    var size = find('td.account-info').length;
    equal(size, 2);
  });
});

{'fraction_non_alphanumeric': 0.204369274136716, 'fraction_numerical': 0.0028188865398167725, 'mean_word_length': 4.0, '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': '6519866', 'n_tokens_mistral': 481, 'n_tokens_neox': 474, 'n_words': 101}