Mike Greiling
52c6702ec7
include spec_helper within karma config rather than each individual test
2017-01-10 12:30:43 -06:00
Mike Greiling
663936878f
include common libraries within spec_helper
2017-01-10 12:30:42 -06:00
Luke "Jared" Bennett
7c47cc94c5
Swapped out teaspoon for karma
2017-01-10 12:30:40 -06:00
Mike Greiling
7a2a9bb45e
replace Teaspoon fixture methods with jasmine-jquery methods to reduce dependency on Teaspoon
2017-01-05 14:11:07 -06:00
Luke "Jared" Bennett
c145413d1a
Remove JSX/React eslint plugins.
...
Change airbnb eslint config package to `eslint-config-airbnb-base` and update plugins.
Change `airbnb` to `airbnb-base` for .eslintrc `extends` value.
Added changelog entry
Made sure all plugins and envs are set
Corrected new failing specs
2016-11-29 16:15:47 +00:00
Alfredo Sumaran
c54827961a
Merge branch 'dynamic-build-fixture' into 'master'
...
Create dynamic fixture for build_spec
## What does this MR do?
Replace `spec/javascripts/fixtures/build.html.haml` by a dynamically created fixture (using `rake teaspoon:fixtures`).
## Why was this MR needed?
The existing fixture was not representing the real page.
## What are the relevant issue numbers?
#24614 would have been avoided
following !6059
See merge request !7589
2016-11-28 16:43:46 +00:00
winniehell
31a5ed97a7
Prefer arrow functions in build_spec.js.es6
2016-11-25 11:03:36 +01:00
winniehell
82429b6978
Explicitly name namespace and projects for frontend fixtures
2016-11-25 11:03:35 +01:00
winniehell
918bc207c6
Use Rails test host name for frontend fixtures
2016-11-25 11:03:35 +01:00
winniehell
d100f843d7
Remove unnecessary IIFE from build_spec
2016-11-25 11:03:35 +01:00
winniehell
aae82d766b
Adjust build_spec to match fixture
2016-11-25 11:03:35 +01:00
winniehell
0bf14cb0b5
Create dynamic fixture for build_spec ( !7589 )
2016-11-25 11:03:31 +01:00
Mike Greiling
8ede8603b0
timeago should be a dependency of datetime_utility
2016-11-22 23:47:52 -06:00
Mike Greiling
bd0017c6d4
clean up globals exemptions within .eslintrc
2016-11-22 12:19:51 -06:00
winniehell
49e726ec33
Add failing test for #24614
2016-11-18 19:11:18 +01:00
winniehell
2a085e5edd
Add missing require statements to build_spec
2016-11-18 12:48:25 +01:00
Luke "Jared" Bennett
4f377364ad
Added new .eslintrc for jasmine tests and corrected build_spec
2016-11-04 15:25:22 +00:00
Jared Deckard
dd45c5e11e
Add javascript unit tests for Build
...
Move comments to the correct location
Remove array extension usage
Move build options to fixture to match view
2016-11-04 15:07:51 +00:00