aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
AgeCommit message (Collapse)Author
2018-04-09Refs #6367; Add metadata to other versioned modelsZog
2018-01-25Refs #5586 @4h; First `action_links` refactorZog
- Implement new API - Migrate the LineDecorator - ensure no change on the "lines/index" view
2017-12-13spec_helper: Exclude 'truncation' tests from normal runnerTeddy Wing
Now that I've skipped the referential lock tests that were set as 'truncation', we can revert back to old behaviour and not run the 'truncation' tests as part of the normal suite runner. This gets the tests passing again. Refs #5024
2017-12-06spec_helper.rb: Enable `truncation` test; Disable `wip` testsTeddy Wing
I didn't notice this when I added the `truncation` filter to my `referentials` table lock test, but the way the specs are configured, it wouldn't be run by default with the rest of the tests. Luc did notice, and suggested we change the filter options. We will now always run tests with the `truncation: true` filter (removing the `filter_run_excluding` config makes them enabled), as these include JavaScript-dependent feature tests that we want to be sure to execute. Additionally, we exclude tests with the `wip: true` filter, as it doesn't really make sense to run these "work in progress" tests by default. Refs #5024
2017-12-05Merge remote-tracking branch 'origin/master' into ↵Teddy Wing
5024-prevent-duplicate-referentials-from-being-created-during-parallel-db-transactions--rb201711271659 Conflicts: app/models/referential.rb A whitespace conflict in a place I don't even remember editing? Okaay.
2017-12-05spec_helper.rb: Use new Ruby hash syntaxTeddy Wing
Refs #5024
2017-11-29spec/support/referential: Rename `:js` filter to `:truncation`Teddy Wing
This `before` hook allows tests to use the "truncation" database cleanup strategy. It doesn't do anything explicitly JavaScript-related. Rather, it was named JS because it was intended to be used for feature tests with JavaScript. However, now that I need to use it for a couple tests in `spec/models/referential_spec.rb`, the `:js` name doesn't make sense. Rename the filter to something that says what it does, not how it should be used. Refs #5024
2017-11-28Add has_paper_trail on modelsXinhui
2017-09-13Change SimpleCov configuration to exclude some dummy directories. Refs #4474Alban Peignier
2017-05-16allow disabling RCOV for faster local tests: NO_RCOV=1 bundle exec rake specRobert
2017-05-03Jenkins Simplecov/rcov code enabled againRobert
2017-05-03filter vendor in SimplecovRobert
2017-05-02Refs #3178; Simplecov bogus config (almost) fixedRobert
2017-05-02 Refs #3053Robert
passes current_organization down from the controller into Reference.new_from adds joint models *ReferenceMemeberships to excluded Apartment models
2017-04-18clone_schema fixed -> lib/sql/clone_schema.sql; ↵RobertDober
lib/af83/stored_procedures.rb for sql stored procedure management; Refs #2864
2017-04-11Update to rails 4.2.7Xinhui
refs #2070
2016-09-27Rspec model LineReferentialSyncXinhui
2016-08-05Rspec task organisations:syncXinhui
2016-07-11Refs #1291: adding simplecov for jenkinsjpl
2015-06-16Gemfile : add simplecov to development groupanicet
2015-03-18Initialize migration to new api versionLuc Donnet
2015-02-20Update config in a true Rails 4 wayLuc Donnet
2015-02-13Fix spec with databasecleaner and apartmentLuc Donnet
2015-02-09Initialize first javascript rspec testsLuc Donnet
2015-01-15Fix tests and merge masterLuc Donnet
2015-01-05Initialize rails 4 migrationLuc Donnet
2013-11-26Update ninoxe versionLuc Donnet
2012-10-15correct :confirm obsolecenceMichel Etienne
2012-06-27Use when possible a first referential created before the spec transactionAlban Peignier
2012-04-25remove useless facotries and use chouette-ninoxe one'sMarc Florisson
2012-04-19Load explicitely FactoryGirl if needed. Ignore errors when dropping ↵Alban Peignier
Apartment::Databases. Refs #13
2012-04-17Fixes all specs. Refs #6Alban Peignier
2012-04-13Require database_cleaner in spec_helper. Refs #6Alban Peignier
2012-03-11Add validations. Fixes specsAlban Peignier
2012-03-01Refactor lines index viewLuc Donnet
2012-02-20Add requests spec, Fix viewLuc Donnet
2012-02-15Add line to the modelLuc Donnet
2012-02-13Add referential model and gem apartmentLuc Donnet