From dd6ecaa1cdb30573ded99841bb7d97e51eb38ef9 Mon Sep 17 00:00:00 2001 From: Nicolas Florentin Date: Tue, 5 Apr 2016 12:05:40 +0200 Subject: [PATCH] finally succeed to generate fixtures from db --- config/initializers/active_record_base.rb | 3 +- lib/tasks/fablab.rake | 2 +- test/fixtures/abuses.yml | 0 test/fixtures/addresses.yml | 52 ++++ test/fixtures/assets.yml | 126 +++++++++ test/fixtures/auth_providers.yml | 9 + test/fixtures/availabilities.yml | 119 +++++++- test/fixtures/availability_tags.yml | 21 ++ test/fixtures/categories.yml | 12 + test/fixtures/components.yml | 40 +++ test/fixtures/credits.yml | 99 +++++++ test/fixtures/custom_assets.yml | 0 test/fixtures/database_providers.yml | 5 + test/fixtures/events.yml | 42 +++ test/fixtures/events_categories.yml | 84 ++++++ test/fixtures/groups.yml | 14 + test/fixtures/invoice_items.yml | 23 ++ test/fixtures/invoices.yml | 34 +++ test/fixtures/licences.yml | 47 ++++ test/fixtures/machines.yml | 125 +++++++++ test/fixtures/machines_availabilities.yml | 85 ++++++ test/fixtures/notifications.yml | 182 +++++++++++++ test/fixtures/o_auth2_mappings.yml | 0 test/fixtures/o_auth2_providers.yml | 0 test/fixtures/offer_days.yml | 0 test/fixtures/plans.yml | 52 ++++ test/fixtures/prices.yml | 300 +++++++++++++++++++++ test/fixtures/profiles.yml | 78 ++++++ test/fixtures/project_steps.yml | 18 ++ test/fixtures/project_users.yml | 0 test/fixtures/projects.yml | 14 + test/fixtures/projects_components.yml | 20 ++ test/fixtures/projects_machines.yml | 20 ++ test/fixtures/projects_themes.yml | 10 + test/fixtures/reservations.yml | 0 test/fixtures/roles.yml | 32 +++ test/fixtures/settings.yml | 235 ++++++++++++++++ test/fixtures/slots.yml | 0 test/fixtures/statistic_fields.yml | 90 +++++++ test/fixtures/statistic_graphs.yml | 48 ++++ test/fixtures/statistic_indices.yml | 63 +++++ test/fixtures/statistic_sub_types.yml | 155 +++++++++++ test/fixtures/statistic_type_sub_types.yml | 245 +++++++++++++++++ test/fixtures/statistic_types.yml | 110 ++++++++ test/fixtures/stylesheets.yml | 39 +++ test/fixtures/subscriptions.yml | 20 ++ test/fixtures/tags.yml | 12 + test/fixtures/themes.yml | 28 ++ test/fixtures/trainings.yml | 45 ++++ test/fixtures/trainings_availabilities.yml | 21 ++ test/fixtures/trainings_machines.yml | 50 ++++ test/fixtures/trainings_pricings.yml | 80 ++++++ test/fixtures/user_tags.yml | 0 test/fixtures/user_trainings.yml | 0 test/fixtures/users.yml | 198 ++++++++++++++ test/fixtures/users_credits.yml | 0 test/fixtures/users_roles.yml | 56 ++++ 57 files changed, 3151 insertions(+), 12 deletions(-) create mode 100644 test/fixtures/abuses.yml create mode 100644 test/fixtures/addresses.yml create mode 100644 test/fixtures/assets.yml create mode 100644 test/fixtures/auth_providers.yml create mode 100644 test/fixtures/availability_tags.yml create mode 100644 test/fixtures/categories.yml create mode 100644 test/fixtures/components.yml create mode 100644 test/fixtures/credits.yml create mode 100644 test/fixtures/custom_assets.yml create mode 100644 test/fixtures/database_providers.yml create mode 100644 test/fixtures/events.yml create mode 100644 test/fixtures/events_categories.yml create mode 100644 test/fixtures/groups.yml create mode 100644 test/fixtures/invoice_items.yml create mode 100644 test/fixtures/invoices.yml create mode 100644 test/fixtures/licences.yml create mode 100644 test/fixtures/machines.yml create mode 100644 test/fixtures/machines_availabilities.yml create mode 100644 test/fixtures/notifications.yml create mode 100644 test/fixtures/o_auth2_mappings.yml create mode 100644 test/fixtures/o_auth2_providers.yml create mode 100644 test/fixtures/offer_days.yml create mode 100644 test/fixtures/plans.yml create mode 100644 test/fixtures/prices.yml create mode 100644 test/fixtures/profiles.yml create mode 100644 test/fixtures/project_steps.yml create mode 100644 test/fixtures/project_users.yml create mode 100644 test/fixtures/projects.yml create mode 100644 test/fixtures/projects_components.yml create mode 100644 test/fixtures/projects_machines.yml create mode 100644 test/fixtures/projects_themes.yml create mode 100644 test/fixtures/reservations.yml create mode 100644 test/fixtures/roles.yml create mode 100644 test/fixtures/settings.yml create mode 100644 test/fixtures/slots.yml create mode 100644 test/fixtures/statistic_fields.yml create mode 100644 test/fixtures/statistic_graphs.yml create mode 100644 test/fixtures/statistic_indices.yml create mode 100644 test/fixtures/statistic_sub_types.yml create mode 100644 test/fixtures/statistic_type_sub_types.yml create mode 100644 test/fixtures/statistic_types.yml create mode 100644 test/fixtures/stylesheets.yml create mode 100644 test/fixtures/subscriptions.yml create mode 100644 test/fixtures/tags.yml create mode 100644 test/fixtures/themes.yml create mode 100644 test/fixtures/trainings.yml create mode 100644 test/fixtures/trainings_availabilities.yml create mode 100644 test/fixtures/trainings_machines.yml create mode 100644 test/fixtures/trainings_pricings.yml create mode 100644 test/fixtures/user_tags.yml create mode 100644 test/fixtures/user_trainings.yml create mode 100644 test/fixtures/users.yml create mode 100644 test/fixtures/users_credits.yml create mode 100644 test/fixtures/users_roles.yml diff --git a/config/initializers/active_record_base.rb b/config/initializers/active_record_base.rb index fc57f008d..6c20d1d81 100644 --- a/config/initializers/active_record_base.rb +++ b/config/initializers/active_record_base.rb @@ -9,7 +9,8 @@ ActiveRecord::Base.class_eval do def self.dump_fixtures fixture_file = "#{Rails.root}/test/fixtures/#{self.table_name}.yml" - File.open(fixture_file, "w") do |f| + mode = (File.exists?(fixture_file) ? 'a' : 'w') + File.open(fixture_file, mode) do |f| self.all.each do |instance| f.puts({ "#{self.table_name.singularize}_#{instance.id}" => instance.attributes }.to_yaml.sub!(/---\s?/, "\n")) end diff --git a/lib/tasks/fablab.rake b/lib/tasks/fablab.rake index 28dbc701a..5ca3a43fa 100644 --- a/lib/tasks/fablab.rake +++ b/lib/tasks/fablab.rake @@ -181,7 +181,7 @@ namespace :fablab do desc "generate fixtures from db" task generate_fixtures: :environment do Rails.application.eager_load! - ActiveRecord::Base.descendants.reject { |c| c == ActiveRecord::SchemaMigration }.each do |ar_base| + ActiveRecord::Base.descendants.reject { |c| c == ActiveRecord::SchemaMigration or c == PartnerPlan }.each do |ar_base| p "========== #{ar_base} ==============" ar_base.dump_fixtures end diff --git a/test/fixtures/abuses.yml b/test/fixtures/abuses.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/addresses.yml b/test/fixtures/addresses.yml new file mode 100644 index 000000000..f1a7d1d92 --- /dev/null +++ b/test/fixtures/addresses.yml @@ -0,0 +1,52 @@ + +address_1: + id: 1 + address: 14 rue Brecourt, Annecy + street_number: + route: + locality: + country: + postal_code: + placeable_id: 2 + placeable_type: Profile + created_at: 2016-04-04 15:06:22.166469000 Z + updated_at: 2016-04-04 15:06:22.166469000 Z + +address_2: + id: 2 + address: 23 cours Berriat, Grenoble + street_number: + route: + locality: + country: + postal_code: + placeable_id: 4 + placeable_type: Profile + created_at: 2016-04-04 15:10:42.353039000 Z + updated_at: 2016-04-04 15:10:42.353039000 Z + +address_3: + id: 3 + address: 36 chemin des puits, Mousson-sur-Luire + street_number: + route: + locality: + country: + postal_code: + placeable_id: 5 + placeable_type: Profile + created_at: 2016-04-04 15:14:08.579603000 Z + updated_at: 2016-04-04 15:14:08.579603000 Z + +address_4: + id: 4 + address: '' + street_number: + route: + locality: + country: + postal_code: + placeable_id: 3 + placeable_type: Profile + created_at: 2016-04-05 08:35:18.597812000 Z + updated_at: 2016-04-05 08:35:18.597812000 Z diff --git a/test/fixtures/assets.yml b/test/fixtures/assets.yml new file mode 100644 index 000000000..fd85c1e8a --- /dev/null +++ b/test/fixtures/assets.yml @@ -0,0 +1,126 @@ + +asset_1: + id: 1 + viewable_id: 2 + viewable_type: Profile + attachment: user_avatar.jpg + type: UserAvatar + created_at: 2016-04-04 15:06:22.151882000 Z + updated_at: 2016-04-04 15:06:22.151882000 Z + +asset_2: + id: 2 + viewable_id: 5 + viewable_type: Profile + attachment: user_avatar.jpg + type: UserAvatar + created_at: 2016-04-04 15:31:14.607327000 Z + updated_at: 2016-04-04 15:31:14.607327000 Z + +asset_3: + id: 3 + viewable_id: 1 + viewable_type: Project + attachment: project_image.jpg + type: ProjectImage + created_at: 2016-04-04 15:39:08.230159000 Z + updated_at: 2016-04-04 15:39:08.230159000 Z + +asset_4: + id: 4 + viewable_id: 1 + viewable_type: Event + attachment: event_image.jpg + type: EventImage + created_at: 2016-04-04 15:44:02.242194000 Z + updated_at: 2016-04-04 15:44:02.242194000 Z + +asset_5: + id: 5 + viewable_id: 2 + viewable_type: Event + attachment: event_image.jpg + type: EventImage + created_at: 2016-04-04 15:44:03.164384000 Z + updated_at: 2016-04-04 15:44:03.164384000 Z + +asset_6: + id: 6 + viewable_id: 3 + viewable_type: Event + attachment: event_image.jpg + type: EventImage + created_at: 2016-04-04 15:44:04.031482000 Z + updated_at: 2016-04-04 15:44:04.031482000 Z + +asset_7: + id: 7 + viewable_id: 3 + viewable_type: Profile + attachment: user_avatar.jpg + type: UserAvatar + created_at: 2016-04-05 08:35:18.585573000 Z + updated_at: 2016-04-05 08:35:18.585573000 Z + +asset_4: + id: 4 + viewable_id: 1 + viewable_type: Event + attachment: event_image.jpg + type: EventImage + created_at: 2016-04-04 15:44:02.242194000 Z + updated_at: 2016-04-04 15:44:02.242194000 Z + +asset_5: + id: 5 + viewable_id: 2 + viewable_type: Event + attachment: event_image.jpg + type: EventImage + created_at: 2016-04-04 15:44:03.164384000 Z + updated_at: 2016-04-04 15:44:03.164384000 Z + +asset_6: + id: 6 + viewable_id: 3 + viewable_type: Event + attachment: event_image.jpg + type: EventImage + created_at: 2016-04-04 15:44:04.031482000 Z + updated_at: 2016-04-04 15:44:04.031482000 Z + +asset_3: + id: 3 + viewable_id: 1 + viewable_type: Project + attachment: project_image.jpg + type: ProjectImage + created_at: 2016-04-04 15:39:08.230159000 Z + updated_at: 2016-04-04 15:39:08.230159000 Z + +asset_1: + id: 1 + viewable_id: 2 + viewable_type: Profile + attachment: user_avatar.jpg + type: UserAvatar + created_at: 2016-04-04 15:06:22.151882000 Z + updated_at: 2016-04-04 15:06:22.151882000 Z + +asset_2: + id: 2 + viewable_id: 5 + viewable_type: Profile + attachment: user_avatar.jpg + type: UserAvatar + created_at: 2016-04-04 15:31:14.607327000 Z + updated_at: 2016-04-04 15:31:14.607327000 Z + +asset_7: + id: 7 + viewable_id: 3 + viewable_type: Profile + attachment: user_avatar.jpg + type: UserAvatar + created_at: 2016-04-05 08:35:18.585573000 Z + updated_at: 2016-04-05 08:35:18.585573000 Z diff --git a/test/fixtures/auth_providers.yml b/test/fixtures/auth_providers.yml new file mode 100644 index 000000000..42c404a86 --- /dev/null +++ b/test/fixtures/auth_providers.yml @@ -0,0 +1,9 @@ + +auth_provider_1: + id: 1 + name: Fablab + status: active + created_at: 2016-04-04 14:11:34.743728000 Z + updated_at: 2016-04-04 14:11:34.743728000 Z + providable_type: DatabaseProvider + providable_id: 1 diff --git a/test/fixtures/availabilities.yml b/test/fixtures/availabilities.yml index 937a0c002..e1ba699de 100644 --- a/test/fixtures/availabilities.yml +++ b/test/fixtures/availabilities.yml @@ -1,11 +1,110 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html -# This model initially had no columns defined. If you add columns to the -# model remove the '{}' from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value +availability_1: + id: 1 + start_at: 2016-04-11 06:00:00.000000000 Z + end_at: 2016-04-11 10:00:00.000000000 Z + available_type: training + created_at: 2016-04-04 15:24:01.517486000 Z + updated_at: 2016-04-04 15:24:01.517486000 Z + nb_total_places: + destroying: false + +availability_2: + id: 2 + start_at: 2016-04-12 06:00:00.000000000 Z + end_at: 2016-04-12 10:00:00.000000000 Z + available_type: training + created_at: 2016-04-04 15:24:09.169364000 Z + updated_at: 2016-04-04 15:24:09.169364000 Z + nb_total_places: + destroying: false + +availability_3: + id: 3 + start_at: 2016-04-11 12:00:00.000000000 Z + end_at: 2016-04-11 18:00:00.000000000 Z + available_type: machines + created_at: 2016-04-04 15:24:27.587583000 Z + updated_at: 2016-04-04 15:24:27.587583000 Z + nb_total_places: + destroying: false + +availability_4: + id: 4 + start_at: 2016-04-12 12:00:00.000000000 Z + end_at: 2016-04-12 18:00:00.000000000 Z + available_type: machines + created_at: 2016-04-04 15:24:44.044908000 Z + updated_at: 2016-04-04 15:24:44.044908000 Z + nb_total_places: + destroying: false + +availability_5: + id: 5 + start_at: 2016-04-13 12:00:00.000000000 Z + end_at: 2016-04-13 18:00:00.000000000 Z + available_type: machines + created_at: 2016-04-04 15:25:48.584444000 Z + updated_at: 2016-04-04 15:25:48.584444000 Z + nb_total_places: + destroying: false + +availability_6: + id: 6 + start_at: 2016-04-14 12:00:00.000000000 Z + end_at: 2016-04-14 18:00:00.000000000 Z + available_type: machines + created_at: 2016-04-04 15:26:17.953216000 Z + updated_at: 2016-04-04 15:26:17.953216000 Z + nb_total_places: + destroying: false + +availability_7: + id: 7 + start_at: 2016-04-14 12:00:00.000000000 Z + end_at: 2016-04-14 18:00:00.000000000 Z + available_type: machines + created_at: 2016-04-04 15:26:39.278627000 Z + updated_at: 2016-04-04 15:26:39.278627000 Z + nb_total_places: + destroying: false + +availability_8: + id: 8 + start_at: 2016-04-13 06:00:00.000000000 Z + end_at: 2016-04-13 10:00:00.000000000 Z + available_type: training + created_at: 2016-04-04 15:26:49.572724000 Z + updated_at: 2016-04-04 15:26:49.572724000 Z + nb_total_places: + destroying: false + +availability_9: + id: 9 + start_at: 2016-04-18 16:00:28.000000000 Z + end_at: 2016-04-18 20:00:28.000000000 Z + available_type: event + created_at: 2016-04-04 15:44:02.228661000 Z + updated_at: 2016-04-04 15:44:02.228661000 Z + nb_total_places: + destroying: false + +availability_10: + id: 10 + start_at: 2016-05-18 16:00:28.000000000 Z + end_at: 2016-05-18 20:00:28.000000000 Z + available_type: event + created_at: 2016-04-04 15:44:03.156629000 Z + updated_at: 2016-04-04 15:44:03.156629000 Z + nb_total_places: + destroying: false + +availability_11: + id: 11 + start_at: 2016-06-18 16:00:28.000000000 Z + end_at: 2016-06-18 20:00:28.000000000 Z + available_type: event + created_at: 2016-04-04 15:44:04.023557000 Z + updated_at: 2016-04-04 15:44:04.023557000 Z + nb_total_places: + destroying: false diff --git a/test/fixtures/availability_tags.yml b/test/fixtures/availability_tags.yml new file mode 100644 index 000000000..d02a75a49 --- /dev/null +++ b/test/fixtures/availability_tags.yml @@ -0,0 +1,21 @@ + +availability_tag_1: + id: 1 + availability_id: 5 + tag_id: 2 + created_at: 2016-04-04 15:25:48.587799000 Z + updated_at: 2016-04-04 15:25:48.587799000 Z + +availability_tag_2: + id: 2 + availability_id: 6 + tag_id: 1 + created_at: 2016-04-04 15:26:17.957014000 Z + updated_at: 2016-04-04 15:26:17.957014000 Z + +availability_tag_3: + id: 3 + availability_id: 8 + tag_id: 2 + created_at: 2016-04-04 15:26:49.576178000 Z + updated_at: 2016-04-04 15:26:49.576178000 Z diff --git a/test/fixtures/categories.yml b/test/fixtures/categories.yml new file mode 100644 index 000000000..69b183ad8 --- /dev/null +++ b/test/fixtures/categories.yml @@ -0,0 +1,12 @@ + +category_1: + id: 1 + name: Stage + created_at: 2016-04-04 14:11:34.544995000 Z + updated_at: 2016-04-04 14:11:34.544995000 Z + +category_2: + id: 2 + name: Atelier + created_at: 2016-04-04 14:11:34.547621000 Z + updated_at: 2016-04-04 14:11:34.547621000 Z diff --git a/test/fixtures/components.yml b/test/fixtures/components.yml new file mode 100644 index 000000000..54d51048a --- /dev/null +++ b/test/fixtures/components.yml @@ -0,0 +1,40 @@ + +component_1: + id: 1 + name: Silicone + +component_2: + id: 2 + name: Vinyle + +component_3: + id: 3 + name: Bois Contre plaqué + +component_4: + id: 4 + name: Bois Medium + +component_5: + id: 5 + name: Plexi / PMMA + +component_6: + id: 6 + name: Flex + +component_7: + id: 7 + name: Vinyle + +component_8: + id: 8 + name: Parafine + +component_9: + id: 9 + name: Fibre de verre + +component_10: + id: 10 + name: Résine diff --git a/test/fixtures/credits.yml b/test/fixtures/credits.yml new file mode 100644 index 000000000..6f80545a8 --- /dev/null +++ b/test/fixtures/credits.yml @@ -0,0 +1,99 @@ + +credit_1: + id: 1 + creditable_id: 2 + creditable_type: Training + plan_id: 1 + hours: + created_at: 2016-04-04 15:19:28.414019000 Z + updated_at: 2016-04-04 15:19:28.414019000 Z + +credit_2: + id: 2 + creditable_id: 3 + creditable_type: Training + plan_id: 1 + hours: + created_at: 2016-04-04 15:19:28.449511000 Z + updated_at: 2016-04-04 15:19:28.449511000 Z + +credit_3: + id: 3 + creditable_id: 1 + creditable_type: Training + plan_id: 1 + hours: + created_at: 2016-04-04 15:19:28.495141000 Z + updated_at: 2016-04-04 15:19:28.495141000 Z + +credit_5: + id: 5 + creditable_id: 2 + creditable_type: Training + plan_id: 2 + hours: + created_at: 2016-04-04 15:19:39.416054000 Z + updated_at: 2016-04-04 15:19:39.416054000 Z + +credit_7: + id: 7 + creditable_id: 4 + creditable_type: Training + plan_id: 2 + hours: + created_at: 2016-04-04 15:19:39.486949000 Z + updated_at: 2016-04-04 15:19:39.486949000 Z + +credit_8: + id: 8 + creditable_id: 1 + creditable_type: Training + plan_id: 2 + hours: + created_at: 2016-04-04 15:19:39.521993000 Z + updated_at: 2016-04-04 15:19:39.521993000 Z + +credit_9: + id: 9 + creditable_id: 3 + creditable_type: Training + plan_id: 2 + hours: + created_at: 2016-04-04 15:19:39.553519000 Z + updated_at: 2016-04-04 15:19:39.553519000 Z + +credit_10: + id: 10 + creditable_id: 2 + creditable_type: Training + plan_id: 3 + hours: + created_at: 2016-04-04 15:21:35.437032000 Z + updated_at: 2016-04-04 15:21:35.437032000 Z + +credit_11: + id: 11 + creditable_id: 1 + creditable_type: Training + plan_id: 3 + hours: + created_at: 2016-04-04 15:21:35.470423000 Z + updated_at: 2016-04-04 15:21:35.470423000 Z + +credit_12: + id: 12 + creditable_id: 3 + creditable_type: Training + plan_id: 3 + hours: + created_at: 2016-04-04 15:21:35.547043000 Z + updated_at: 2016-04-04 15:21:35.547043000 Z + +credit_13: + id: 13 + creditable_id: 4 + creditable_type: Machine + plan_id: 2 + hours: 1 + created_at: 2016-04-04 15:21:57.547939000 Z + updated_at: 2016-04-04 15:21:57.547939000 Z diff --git a/test/fixtures/custom_assets.yml b/test/fixtures/custom_assets.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/database_providers.yml b/test/fixtures/database_providers.yml new file mode 100644 index 000000000..42c6cc13c --- /dev/null +++ b/test/fixtures/database_providers.yml @@ -0,0 +1,5 @@ + +database_provider_1: + id: 1 + created_at: 2016-04-04 14:11:34.737301000 Z + updated_at: 2016-04-04 14:11:34.737301000 Z diff --git a/test/fixtures/events.yml b/test/fixtures/events.yml new file mode 100644 index 000000000..624603910 --- /dev/null +++ b/test/fixtures/events.yml @@ -0,0 +1,42 @@ + +event_2: + id: 2 + title: Skateboard DIY + description: "Apprenez à fabriquer vous-même votre skateboard :\r\n- impression + 3D des roulettes\r\n- découpe moulage et décoration de la planche\r\n- assemblage" + created_at: 2016-04-04 15:44:03.161942000 Z + updated_at: 2016-04-04 15:44:03.161942000 Z + availability_id: 10 + amount: 2000 + reduced_amount: 1500 + nb_total_places: 10 + nb_free_places: 10 + recurrence_id: 1 + +event_3: + id: 3 + title: Skateboard DIY + description: "Apprenez à fabriquer vous-même votre skateboard :\r\n- impression + 3D des roulettes\r\n- découpe moulage et décoration de la planche\r\n- assemblage" + created_at: 2016-04-04 15:44:04.028290000 Z + updated_at: 2016-04-04 15:44:04.028290000 Z + availability_id: 11 + amount: 2000 + reduced_amount: 1500 + nb_total_places: 10 + nb_free_places: 10 + recurrence_id: 1 + +event_1: + id: 1 + title: Skateboard DIY + description: "Apprenez à fabriquer vous-même votre skateboard :\r\n- impression + 3D des roulettes\r\n- découpe moulage et décoration de la planche\r\n- assemblage" + created_at: 2016-04-04 15:44:02.236165000 Z + updated_at: 2016-04-04 15:44:02.236165000 Z + availability_id: 9 + amount: 2000 + reduced_amount: 1500 + nb_total_places: 10 + nb_free_places: 10 + recurrence_id: 1 diff --git a/test/fixtures/events_categories.yml b/test/fixtures/events_categories.yml new file mode 100644 index 000000000..3d0913d07 --- /dev/null +++ b/test/fixtures/events_categories.yml @@ -0,0 +1,84 @@ + +events_category_1: + id: 1 + event_id: 1 + category_id: 2 + created_at: 2016-04-04 15:44:02.258622000 Z + updated_at: 2016-04-04 15:44:02.258622000 Z + +events_category_2: + id: 2 + event_id: 2 + category_id: 2 + created_at: 2016-04-04 15:44:03.173253000 Z + updated_at: 2016-04-04 15:44:03.173253000 Z + +events_category_3: + id: 3 + event_id: 2 + category_id: 2 + created_at: 2016-04-04 15:44:03.177952000 Z + updated_at: 2016-04-04 15:44:03.177952000 Z + +events_category_4: + id: 4 + event_id: 3 + category_id: 2 + created_at: 2016-04-04 15:44:04.041364000 Z + updated_at: 2016-04-04 15:44:04.041364000 Z + +events_category_5: + id: 5 + event_id: 3 + category_id: 2 + created_at: 2016-04-04 15:44:04.044667000 Z + updated_at: 2016-04-04 15:44:04.044667000 Z + +events_category_6: + id: 6 + event_id: 1 + category_id: 2 + created_at: 2016-04-04 15:44:04.049543000 Z + updated_at: 2016-04-04 15:44:04.049543000 Z + +events_category_1: + id: 1 + event_id: 1 + category_id: 2 + created_at: 2016-04-04 15:44:02.258622000 Z + updated_at: 2016-04-04 15:44:02.258622000 Z + +events_category_2: + id: 2 + event_id: 2 + category_id: 2 + created_at: 2016-04-04 15:44:03.173253000 Z + updated_at: 2016-04-04 15:44:03.173253000 Z + +events_category_3: + id: 3 + event_id: 2 + category_id: 2 + created_at: 2016-04-04 15:44:03.177952000 Z + updated_at: 2016-04-04 15:44:03.177952000 Z + +events_category_4: + id: 4 + event_id: 3 + category_id: 2 + created_at: 2016-04-04 15:44:04.041364000 Z + updated_at: 2016-04-04 15:44:04.041364000 Z + +events_category_5: + id: 5 + event_id: 3 + category_id: 2 + created_at: 2016-04-04 15:44:04.044667000 Z + updated_at: 2016-04-04 15:44:04.044667000 Z + +events_category_6: + id: 6 + event_id: 1 + category_id: 2 + created_at: 2016-04-04 15:44:04.049543000 Z + updated_at: 2016-04-04 15:44:04.049543000 Z diff --git a/test/fixtures/groups.yml b/test/fixtures/groups.yml new file mode 100644 index 000000000..3d5a01f8e --- /dev/null +++ b/test/fixtures/groups.yml @@ -0,0 +1,14 @@ + +group_1: + id: 1 + name: standard, association + created_at: 2016-04-04 14:11:33.612700000 Z + updated_at: 2016-04-04 14:11:33.612700000 Z + slug: standard + +group_2: + id: 2 + name: étudiant, - de 25 ans, enseignant, demandeur d'emploi + created_at: 2016-04-04 14:11:33.656537000 Z + updated_at: 2016-04-04 14:11:33.656537000 Z + slug: student diff --git a/test/fixtures/invoice_items.yml b/test/fixtures/invoice_items.yml new file mode 100644 index 000000000..babd3946f --- /dev/null +++ b/test/fixtures/invoice_items.yml @@ -0,0 +1,23 @@ + +invoice_item_1: + id: 1 + invoice_id: 1 + stp_invoice_item_id: sub_8DGB4ErIc2asOv + amount: 10000 + created_at: 2016-04-05 08:35:52.934725000 Z + updated_at: 2016-04-05 08:35:52.934725000 Z + description: Sleede - standard, association - month + subscription_id: 1 + invoice_item_id: + +invoice_item_2: + id: 2 + invoice_id: 2 + stp_invoice_item_id: + amount: 2000 + created_at: 2016-04-05 08:36:46.856021000 Z + updated_at: 2016-04-05 08:36:46.856021000 Z + description: Mensuel tarif réduit - étudiant, - de 25 ans, enseignant, demandeur + d'emploi - month + subscription_id: 2 + invoice_item_id: diff --git a/test/fixtures/invoices.yml b/test/fixtures/invoices.yml new file mode 100644 index 000000000..da9488003 --- /dev/null +++ b/test/fixtures/invoices.yml @@ -0,0 +1,34 @@ + +invoice_1: + id: 1 + invoiced_id: 1 + invoiced_type: Subscription + stp_invoice_id: in_17wpf92sOmf47Nz9itj6vmJw + total: 10000 + created_at: 2016-04-05 08:35:52.931187000 Z + updated_at: 2016-04-05 08:35:52.931187000 Z + user_id: 3 + reference: 1604001/VL + avoir_mode: + avoir_date: + invoice_id: + type: + subscription_to_expire: + description: + +invoice_2: + id: 2 + invoiced_id: 2 + invoiced_type: Subscription + stp_invoice_id: + total: 2000 + created_at: 2016-04-05 08:36:46.853368000 Z + updated_at: 2016-04-05 08:36:46.853368000 Z + user_id: 4 + reference: '1604002' + avoir_mode: + avoir_date: + invoice_id: + type: + subscription_to_expire: + description: diff --git a/test/fixtures/licences.yml b/test/fixtures/licences.yml new file mode 100644 index 000000000..7920920ba --- /dev/null +++ b/test/fixtures/licences.yml @@ -0,0 +1,47 @@ + +licence_1: + id: 1 + name: Attribution (BY) + description: Le titulaire des droits autorise toute exploitation de l’œuvre, y compris + à des fins commerciales, ainsi que la création d’œuvres dérivées, dont la distribution + est également autorisé sans restriction, à condition de l’attribuer à son l’auteur + en citant son nom. Cette licence est recommandée pour la diffusion et l’utilisation + maximale des œuvres. + +licence_2: + id: 2 + name: Attribution + Pas de modification (BY ND) + description: Le titulaire des droits autorise toute utilisation de l’œuvre originale + (y compris à des fins commerciales), mais n’autorise pas la création d’œuvres + dérivées. + +licence_3: + id: 3 + name: Attribution + Pas d'Utilisation Commerciale + Pas de Modification (BY NC ND) + description: Le titulaire des droits autorise l’utilisation de l’œuvre originale + à des fins non commerciales, mais n’autorise pas la création d’œuvres dérivés. + +licence_4: + id: 4 + name: Attribution + Pas d'Utilisation Commerciale (BY NC) + description: Le titulaire des droits autorise l’exploitation de l’œuvre, ainsi que + la création d’œuvres dérivées, à condition qu’il ne s’agisse pas d’une utilisation + commerciale (les utilisations commerciales restant soumises à son autorisation). + +licence_5: + id: 5 + name: Attribution + Pas d'Utilisation Commerciale + Partage dans les mêmes conditions + (BY NC SA) + description: Le titulaire des droits autorise l’exploitation de l’œuvre originale + à des fins non commerciales, ainsi que la création d’œuvres dérivées, à condition + qu’elles soient distribuées sous une licence identique à celle qui régit l’œuvre + originale. + +licence_6: + id: 6 + name: Attribution + Partage dans les mêmes conditions (BY SA) + description: Le titulaire des droits autorise toute utilisation de l’œuvre originale + (y compris à des fins commerciales) ainsi que la création d’œuvres dérivées, à + condition qu’elles soient distribuées sous une licence identique à celle qui régit + l’œuvre originale. Cette licence est souvent comparée aux licences « copyleft + » des logiciels libres. C’est la licence utilisée par Wikipedia. diff --git a/test/fixtures/machines.yml b/test/fixtures/machines.yml new file mode 100644 index 000000000..8f5876290 --- /dev/null +++ b/test/fixtures/machines.yml @@ -0,0 +1,125 @@ + +machine_1: + id: 1 + name: Découpeuse laser + description: "Préparation à l'utilisation de l'EPILOG Legend 36EXT\r\nInformations + générales \r\n Pour la découpe, il suffit d'apporter votre fichier vectorisé + type illustrator, svg ou dxf avec des \"lignes de coupe\" d'une épaisseur inférieur + à 0,01 mm et la machine s'occupera du reste!\r\n La gravure est basée sur + le spectre noir et blanc. Les nuances sont obtenues par différentes profondeurs + de gravure correspondant aux niveaux de gris de votre image. Il suffit pour cela + d'apporter une image scannée ou un fichier photo en noir et blanc pour pouvoir + reproduire celle-ci sur votre support! \r\nQuels types de matériaux pouvons nous + graver/découper?\r\n Du bois au tissu, du plexiglass au cuir, cette machine + permet de découper et graver la plupart des matériaux sauf les métaux. La gravure + est néanmoins possible sur les métaux recouverts d'une couche de peinture ou les + aluminiums anodisés. \r\n Concernant l'épaisseur des matériaux découpés, + il est préférable de ne pas dépasser 5 mm pour le bois et 6 mm pour le plexiglass.\r\n" + spec: "Puissance: 40W\r\nSurface de travail: 914x609 mm \r\nEpaisseur maximale de + la matière: 305mm\r\nSource laser: tube laser type CO2\r\nContrôles de vitesse + et de puissance: ces deux paramètres sont ajustables en fonction du matériau (de + 1% à 100%) .\r\n" + created_at: 2016-04-04 14:11:34.210242000 Z + updated_at: 2016-04-04 14:11:34.210242000 Z + slug: decoupeuse-laser + +machine_2: + id: 2 + name: Découpeuse vinyle + description: "Préparation à l'utilisation de la Roland CAMM-1 GX24\r\nInformations + générales \r\n Envie de réaliser un tee shirt personnalisé ? Un sticker + à l'effigie votre groupe préféré? Un masque pour la réalisation d'un circuit imprimé? + Pour cela, il suffit simplement de venir avec votre fichier vectorisé (ne pas + oublier de vectoriser les textes) type illustrator svg ou dxf.\r\n \r\nMatériaux + utilisés:\r\n Cette machine permet de découper principalement du vinyle,vinyle + réfléchissant, flex.\r\n" + spec: "Largeurs de support acceptées: de 50 mm à 700 mm\r\nVitesse de découpe: 50 + cm/sec\r\nRésolution mécanique: 0,0125 mm/pas\r\n" + created_at: 2016-04-04 14:11:34.274025000 Z + updated_at: 2016-04-04 14:11:34.274025000 Z + slug: decoupeuse-vinyle + +machine_3: + id: 3 + name: Shopbot / Grande fraiseuse + description: "La fraiseuse numérique ShopBot PRS standard\r\nInformations générales\r\nCette + machine est un fraiseuse 3 axes idéale pour l'usinage de pièces de grandes dimensions. + De la réalisation d'une chaise ou d'un meuble jusqu'à la construction d'une maison + ou d'un assemblage immense, le ShopBot ouvre de nombreuses portes à votre imagination! + \r\nMatériaux usinables\r\nLes principaux matériaux usinables sont le bois, le + plastique, le laiton et bien d'autres.\r\nCette machine n'usine pas les métaux.\r\n" + spec: "Surface maximale de travail: 2440x1220x150 (Z) mm\r\nLogiciel utilisé: Partworks + 2D & 3D\r\nRésolution mécanique: 0,015 mm\r\nPrécision de la position: +/- 0,127mm\r\nFormats + acceptés: DXF, STL \r\n" + created_at: 2016-04-04 14:11:34.304247000 Z + updated_at: 2016-04-04 14:11:34.304247000 Z + slug: shopbot-grande-fraiseuse + +machine_4: + id: 4 + name: Imprimante 3D + description: "L'utimaker est une imprimante 3D low cost utilisant une technologie + FFF (Fused Filament Fabrication) avec extrusion thermoplastique.\r\nC'est une + machine idéale pour réaliser rapidement des prototypes 3D dans des couleurs différentes.\r\n" + spec: "Surface maximale de travail: 210x210x220mm \r\nRésolution méchanique: 0,02 + mm \r\nPrécision de position: +/- 0,05 \r\nLogiciel utilisé: Cura\r\nFormats de + fichier acceptés: STL \r\nMatériaux utilisés: PLA (en stock)." + created_at: 2016-04-04 14:11:34.341810000 Z + updated_at: 2016-04-04 14:11:34.341810000 Z + slug: imprimante-3d + +machine_5: + id: 5 + name: Petite Fraiseuse + description: "La fraiseuse numérique Roland Modela MDX-20\r\nInformations générales\r\nCette + machine est utilisée pour l'usinage et le scannage 3D de précision. Elle permet + principalement d'usiner des circuits imprimés et des moules de petite taille. + Le faible diamètre des fraises utilisées (Ø 0,3 mm à Ø 6mm) induit que certains + temps d'usinages peuvent êtres long (> 12h), c'est pourquoi cette fraiseuse peut + être laissée en autonomie toute une nuit afin d'obtenir le plus précis des usinages + au FabLab.\r\nMatériaux usinables:\r\nLes principaux matériaux usinables sont + le bois, plâtre, résine, cire usinable, cuivre.\r\n" + spec: "Taille du plateau X/Y : 220 mm x 160 mm\r\nVolume maximal de travail: 203,2 + mm (X), 152,4 mm (Y), 60,5 mm (Z)\r\nPrécision usinage: 0,00625 mm\r\nPrécision + scannage: réglable de 0,05 à 5 mm (axes X,Y) et 0,025 mm (axe Z)\r\nVitesse d'analyse + (scannage): 4-15 mm/sec\r\n \r\n \r\nLogiciel utilisé pour le fraisage: Roland + Modela player 4 \r\nLogiciel utilisé pour l'usinage de circuits imprimés: Cad.py + (linux)\r\nFormats acceptés: STL,PNG 3D\r\nFormat d'exportation des données scannées: + DXF, VRML, STL, 3DMF, IGES, Grayscale, Point Group et BMP\r\n" + created_at: 2016-04-04 14:11:34.379481000 Z + updated_at: 2016-04-04 14:11:34.379481000 Z + slug: petite-fraiseuse + +machine_6: + id: 6 + name: FORM1+ imprimante 3D + description: |- + Form 1+, imprimante 3D stéréolithographie. + + La photopolymérisation est le premier procédé de prototypage rapide à avoir été développé dans les années 1980. Le nom de SLA (pour StereoLithography Apparatus) lui a été donné. Il repose sur les propriétés qu'ont certaines résines à se polymériser sous l'effet de la lumière et de la chaleur. (Source : wikipédia) + + Possibilité d'utiliser 3 résines de couleurs différentes au Lab : noir, blanc et translucide. + + Plus d'infos sur le site web de Formlab + spec: |- + Imprimante : + - Dimensions : 30 × 28 × 45 cm + - Poids : 8 kg + - Température d'utilisation : 18–28° C + - Alimentation : 100–240 V ; 1.5 A 50/60 Hz ; 60 W. + + Caractéristiques du laser : + - EN 60825-1:2007 certifié + - Class 1 Laser Product + - 405nm violet laser + + Propriétés d'impression : + - Technologie stéréolithographie (SLA) + - Volume d'impression : 125 × 125 × 165 mm + - Dimension minimale : 300 microns + - Épaisseur des couches (Résolution verticale) : 25, 50, 100 microns + - Ressources Générées automatiquement + - Facilement amovible + created_at: 2016-04-04 14:11:34.424740000 Z + updated_at: 2016-04-04 14:11:34.424740000 Z + slug: form1-imprimante-3d diff --git a/test/fixtures/machines_availabilities.yml b/test/fixtures/machines_availabilities.yml new file mode 100644 index 000000000..c045b25ac --- /dev/null +++ b/test/fixtures/machines_availabilities.yml @@ -0,0 +1,85 @@ + +machines_availability_1: + id: 1 + machine_id: 1 + availability_id: 3 + +machines_availability_2: + id: 2 + machine_id: 2 + availability_id: 3 + +machines_availability_3: + id: 3 + machine_id: 4 + availability_id: 3 + +machines_availability_4: + id: 4 + machine_id: 6 + availability_id: 3 + +machines_availability_5: + id: 5 + machine_id: 5 + availability_id: 3 + +machines_availability_6: + id: 6 + machine_id: 1 + availability_id: 4 + +machines_availability_7: + id: 7 + machine_id: 2 + availability_id: 4 + +machines_availability_8: + id: 8 + machine_id: 4 + availability_id: 4 + +machines_availability_9: + id: 9 + machine_id: 5 + availability_id: 4 + +machines_availability_10: + id: 10 + machine_id: 6 + availability_id: 4 + +machines_availability_11: + id: 11 + machine_id: 3 + availability_id: 5 + +machines_availability_12: + id: 12 + machine_id: 3 + availability_id: 6 + +machines_availability_13: + id: 13 + machine_id: 1 + availability_id: 7 + +machines_availability_14: + id: 14 + machine_id: 2 + availability_id: 7 + +machines_availability_15: + id: 15 + machine_id: 4 + availability_id: 7 + +machines_availability_16: + id: 16 + machine_id: 5 + availability_id: 7 + +machines_availability_17: + id: 17 + machine_id: 6 + availability_id: 7 diff --git a/test/fixtures/notifications.yml b/test/fixtures/notifications.yml new file mode 100644 index 000000000..7428a79ac --- /dev/null +++ b/test/fixtures/notifications.yml @@ -0,0 +1,182 @@ + +notification_7: + id: 7 + receiver_id: 1 + attached_object_id: 1 + attached_object_type: Project + notification_type_id: 1 + is_read: false + created_at: 2016-04-04 15:39:08.273215000 Z + updated_at: 2016-04-04 15:39:08.273215000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_1: + id: 1 + receiver_id: 1 + attached_object_id: 1 + attached_object_type: User + notification_type_id: 11 + is_read: true + created_at: 2016-04-04 14:11:33.885243000 Z + updated_at: 2016-04-04 14:11:33.885243000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_2: + id: 2 + receiver_id: 1 + attached_object_id: 2 + attached_object_type: User + notification_type_id: 11 + is_read: true + created_at: 2016-04-04 15:00:29.145046000 Z + updated_at: 2016-04-04 15:00:29.145046000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_3: + id: 3 + receiver_id: 1 + attached_object_id: 3 + attached_object_type: User + notification_type_id: 11 + is_read: true + created_at: 2016-04-04 15:07:46.698906000 Z + updated_at: 2016-04-04 15:07:46.698906000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_4: + id: 4 + receiver_id: 1 + attached_object_id: 4 + attached_object_type: User + notification_type_id: 11 + is_read: true + created_at: 2016-04-04 15:10:42.365920000 Z + updated_at: 2016-04-04 15:10:42.365920000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_5: + id: 5 + receiver_id: 1 + attached_object_id: 5 + attached_object_type: User + notification_type_id: 11 + is_read: true + created_at: 2016-04-04 15:14:08.589419000 Z + updated_at: 2016-04-04 15:14:08.589419000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_6: + id: 6 + receiver_id: 1 + attached_object_id: 6 + attached_object_type: User + notification_type_id: 11 + is_read: true + created_at: 2016-04-04 15:17:12.548875000 Z + updated_at: 2016-04-04 15:17:12.548875000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_10: + id: 10 + receiver_id: 6 + attached_object_id: 1 + attached_object_type: Subscription + notification_type_id: 23 + is_read: false + created_at: 2016-04-05 08:35:51.844242000 Z + updated_at: 2016-04-05 08:35:51.844242000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_11: + id: 11 + receiver_id: 3 + attached_object_id: 1 + attached_object_type: Invoice + notification_type_id: 13 + is_read: false + created_at: 2016-04-05 08:35:53.327086000 Z + updated_at: 2016-04-05 08:35:53.327086000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_9: + id: 9 + receiver_id: 1 + attached_object_id: 1 + attached_object_type: Subscription + notification_type_id: 12 + is_read: false + created_at: 2016-04-05 08:35:51.837022000 Z + updated_at: 2016-04-05 08:35:51.837022000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_13: + id: 13 + receiver_id: 1 + attached_object_id: 2 + attached_object_type: Subscription + notification_type_id: 12 + is_read: false + created_at: 2016-04-05 08:36:46.841579000 Z + updated_at: 2016-04-05 08:36:46.841579000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_14: + id: 14 + receiver_id: 4 + attached_object_id: 2 + attached_object_type: Invoice + notification_type_id: 13 + is_read: false + created_at: 2016-04-05 08:36:47.235854000 Z + updated_at: 2016-04-05 08:36:47.235854000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_8: + id: 8 + receiver_id: 3 + attached_object_id: 1 + attached_object_type: Subscription + notification_type_id: 5 + is_read: false + created_at: 2016-04-05 08:35:51.792984000 Z + updated_at: 2016-04-05 08:35:51.792984000 Z + receiver_type: User + is_send: true + meta_data: {} + +notification_12: + id: 12 + receiver_id: 4 + attached_object_id: 2 + attached_object_type: Subscription + notification_type_id: 5 + is_read: false + created_at: 2016-04-05 08:36:46.833829000 Z + updated_at: 2016-04-05 08:36:46.833829000 Z + receiver_type: User + is_send: true + meta_data: {} diff --git a/test/fixtures/o_auth2_mappings.yml b/test/fixtures/o_auth2_mappings.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/o_auth2_providers.yml b/test/fixtures/o_auth2_providers.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/offer_days.yml b/test/fixtures/offer_days.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/plans.yml b/test/fixtures/plans.yml new file mode 100644 index 000000000..18a9e1379 --- /dev/null +++ b/test/fixtures/plans.yml @@ -0,0 +1,52 @@ + +plan_1: + id: 1 + name: Mensuel - standard, association - month + amount: 3000 + interval: month + group_id: 1 + stp_plan_id: mensuel-standard-month-20160404171519 + created_at: 2016-04-04 15:15:19.860064000 Z + updated_at: 2016-04-04 15:19:28.367161000 Z + training_credit_nb: 1 + is_rolling: + description: + type: Plan + base_name: Mensuel + ui_weight: 1 + interval_count: 1 + +plan_2: + id: 2 + name: Sleede - standard, association - month + amount: 10000 + interval: month + group_id: 1 + stp_plan_id: nicolas-standard-month-20160404171724 + created_at: 2016-04-04 15:17:24.026385000 Z + updated_at: 2016-04-04 15:19:39.357636000 Z + training_credit_nb: 2 + is_rolling: + description: + type: PartnerPlan + base_name: Sleede + ui_weight: 5 + interval_count: 2 + +plan_3: + id: 3 + name: Mensuel tarif réduit - étudiant, - de 25 ans, enseignant, demandeur d'emploi + - month + amount: 2000 + interval: month + group_id: 2 + stp_plan_id: mensuel-tarif-reduit-student-month-20160404171827 + created_at: 2016-04-04 15:18:27.734657000 Z + updated_at: 2016-04-04 15:21:35.501739000 Z + training_credit_nb: 1 + is_rolling: + description: + type: Plan + base_name: Mensuel tarif réduit + ui_weight: 0 + interval_count: 1 diff --git a/test/fixtures/prices.yml b/test/fixtures/prices.yml new file mode 100644 index 000000000..e8f08d9ff --- /dev/null +++ b/test/fixtures/prices.yml @@ -0,0 +1,300 @@ + +price_1: + id: 1 + group_id: 1 + plan_id: + priceable_id: 1 + priceable_type: Machine + amount: 2400 + created_at: 2016-04-04 14:11:34.242608000 Z + updated_at: 2016-04-04 14:11:34.242608000 Z + +price_2: + id: 2 + group_id: 2 + plan_id: + priceable_id: 1 + priceable_type: Machine + amount: 5300 + created_at: 2016-04-04 14:11:34.247363000 Z + updated_at: 2016-04-04 14:11:34.247363000 Z + +price_5: + id: 5 + group_id: 1 + plan_id: + priceable_id: 2 + priceable_type: Machine + amount: 4200 + created_at: 2016-04-04 14:11:34.290427000 Z + updated_at: 2016-04-04 14:11:34.290427000 Z + +price_6: + id: 6 + group_id: 2 + plan_id: + priceable_id: 2 + priceable_type: Machine + amount: 1100 + created_at: 2016-04-04 14:11:34.293603000 Z + updated_at: 2016-04-04 14:11:34.293603000 Z + +price_9: + id: 9 + group_id: 1 + plan_id: + priceable_id: 3 + priceable_type: Machine + amount: 4100 + created_at: 2016-04-04 14:11:34.320809000 Z + updated_at: 2016-04-04 14:11:34.320809000 Z + +price_10: + id: 10 + group_id: 2 + plan_id: + priceable_id: 3 + priceable_type: Machine + amount: 5300 + created_at: 2016-04-04 14:11:34.325274000 Z + updated_at: 2016-04-04 14:11:34.325274000 Z + +price_13: + id: 13 + group_id: 1 + plan_id: + priceable_id: 4 + priceable_type: Machine + amount: 900 + created_at: 2016-04-04 14:11:34.362313000 Z + updated_at: 2016-04-04 14:11:34.362313000 Z + +price_14: + id: 14 + group_id: 2 + plan_id: + priceable_id: 4 + priceable_type: Machine + amount: 5100 + created_at: 2016-04-04 14:11:34.366049000 Z + updated_at: 2016-04-04 14:11:34.366049000 Z + +price_17: + id: 17 + group_id: 1 + plan_id: + priceable_id: 5 + priceable_type: Machine + amount: 1600 + created_at: 2016-04-04 14:11:34.398206000 Z + updated_at: 2016-04-04 14:11:34.398206000 Z + +price_18: + id: 18 + group_id: 2 + plan_id: + priceable_id: 5 + priceable_type: Machine + amount: 2000 + created_at: 2016-04-04 14:11:34.407216000 Z + updated_at: 2016-04-04 14:11:34.407216000 Z + +price_21: + id: 21 + group_id: 1 + plan_id: + priceable_id: 6 + priceable_type: Machine + amount: 3200 + created_at: 2016-04-04 14:11:34.442054000 Z + updated_at: 2016-04-04 14:11:34.442054000 Z + +price_22: + id: 22 + group_id: 2 + plan_id: + priceable_id: 6 + priceable_type: Machine + amount: 3400 + created_at: 2016-04-04 14:11:34.445147000 Z + updated_at: 2016-04-04 14:11:34.445147000 Z + +price_25: + id: 25 + group_id: 1 + plan_id: 1 + priceable_id: 1 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:15:21.038387000 Z + updated_at: 2016-04-04 15:15:45.691674000 Z + +price_26: + id: 26 + group_id: 1 + plan_id: 1 + priceable_id: 2 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:15:21.048838000 Z + updated_at: 2016-04-04 15:15:45.693896000 Z + +price_27: + id: 27 + group_id: 1 + plan_id: 1 + priceable_id: 3 + priceable_type: Machine + amount: 2500 + created_at: 2016-04-04 15:15:21.053412000 Z + updated_at: 2016-04-04 15:15:45.697794000 Z + +price_28: + id: 28 + group_id: 1 + plan_id: 1 + priceable_id: 4 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:15:21.057117000 Z + updated_at: 2016-04-04 15:15:45.700657000 Z + +price_29: + id: 29 + group_id: 1 + plan_id: 1 + priceable_id: 5 + priceable_type: Machine + amount: 1300 + created_at: 2016-04-04 15:15:21.061171000 Z + updated_at: 2016-04-04 15:15:45.707564000 Z + +price_30: + id: 30 + group_id: 1 + plan_id: 1 + priceable_id: 6 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:15:21.065166000 Z + updated_at: 2016-04-04 15:15:45.710945000 Z + +price_31: + id: 31 + group_id: 1 + plan_id: 2 + priceable_id: 1 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:17:24.920457000 Z + updated_at: 2016-04-04 15:17:34.255229000 Z + +price_32: + id: 32 + group_id: 1 + plan_id: 2 + priceable_id: 2 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:17:24.926967000 Z + updated_at: 2016-04-04 15:17:34.257285000 Z + +price_33: + id: 33 + group_id: 1 + plan_id: 2 + priceable_id: 3 + priceable_type: Machine + amount: 2500 + created_at: 2016-04-04 15:17:24.932723000 Z + updated_at: 2016-04-04 15:17:34.258741000 Z + +price_34: + id: 34 + group_id: 1 + plan_id: 2 + priceable_id: 4 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:17:24.937168000 Z + updated_at: 2016-04-04 15:17:34.260503000 Z + +price_35: + id: 35 + group_id: 1 + plan_id: 2 + priceable_id: 5 + priceable_type: Machine + amount: 1300 + created_at: 2016-04-04 15:17:24.940520000 Z + updated_at: 2016-04-04 15:17:34.263627000 Z + +price_36: + id: 36 + group_id: 1 + plan_id: 2 + priceable_id: 6 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:17:24.944460000 Z + updated_at: 2016-04-04 15:17:34.267328000 Z + +price_37: + id: 37 + group_id: 2 + plan_id: 3 + priceable_id: 1 + priceable_type: Machine + amount: 1000 + created_at: 2016-04-04 15:18:28.836899000 Z + updated_at: 2016-04-04 15:18:50.507019000 Z + +price_38: + id: 38 + group_id: 2 + plan_id: 3 + priceable_id: 2 + priceable_type: Machine + amount: 1000 + created_at: 2016-04-04 15:18:28.842674000 Z + updated_at: 2016-04-04 15:18:50.508799000 Z + +price_39: + id: 39 + group_id: 2 + plan_id: 3 + priceable_id: 3 + priceable_type: Machine + amount: 1500 + created_at: 2016-04-04 15:18:28.847736000 Z + updated_at: 2016-04-04 15:18:50.510437000 Z + +price_40: + id: 40 + group_id: 2 + plan_id: 3 + priceable_id: 4 + priceable_type: Machine + amount: 1000 + created_at: 2016-04-04 15:18:28.852783000 Z + updated_at: 2016-04-04 15:18:50.512239000 Z + +price_41: + id: 41 + group_id: 2 + plan_id: 3 + priceable_id: 5 + priceable_type: Machine + amount: 800 + created_at: 2016-04-04 15:18:28.856602000 Z + updated_at: 2016-04-04 15:18:50.514062000 Z + +price_42: + id: 42 + group_id: 2 + plan_id: 3 + priceable_id: 6 + priceable_type: Machine + amount: 1000 + created_at: 2016-04-04 15:18:28.860220000 Z + updated_at: 2016-04-04 15:18:50.517702000 Z diff --git a/test/fixtures/profiles.yml b/test/fixtures/profiles.yml new file mode 100644 index 000000000..96ccdb0e6 --- /dev/null +++ b/test/fixtures/profiles.yml @@ -0,0 +1,78 @@ + +profile_1: + id: 1 + user_id: 1 + first_name: admin + last_name: admin + gender: true + birthday: 2016-04-04 + phone: 0123456789 + interest: + software_mastered: + created_at: 2016-04-04 14:11:33.858015000 Z + updated_at: 2016-04-04 14:11:33.858015000 Z + +profile_2: + id: 2 + user_id: 2 + first_name: Jean + last_name: Dupont + gender: true + birthday: 1975-06-07 + phone: '0214321420' + interest: 3D printers + software_mastered: autocad + created_at: 2016-04-04 15:00:29.131180000 Z + updated_at: 2016-04-04 15:06:22.148303000 Z + +profile_4: + id: 4 + user_id: 4 + first_name: Kevin + last_name: Dumas + gender: true + birthday: 1998-06-05 + phone: 0446124793 + interest: '' + software_mastered: solidworks + created_at: 2016-04-04 15:10:42.350790000 Z + updated_at: 2016-04-04 15:10:42.350790000 Z + +profile_5: + id: 5 + user_id: 5 + first_name: Vanessa + last_name: Lonchamp + gender: false + birthday: 1994-05-03 + phone: 0233412482 + interest: vélo, natation + software_mastered: '' + created_at: 2016-04-04 15:14:08.577633000 Z + updated_at: 2016-04-04 15:14:08.577633000 Z + +profile_6: + id: 6 + user_id: 6 + first_name: Gilbert + last_name: Partenaire + gender: true + birthday: 2016-04-04 + phone: '0000000000' + interest: + software_mastered: + created_at: 2016-04-04 15:17:12.535971000 Z + updated_at: 2016-04-04 15:17:12.535971000 Z + +profile_3: + id: 3 + user_id: 3 + first_name: Paulette + last_name: Durand + gender: false + birthday: 1949-06-18 + phone: '0474264261' + interest: '' + software_mastered: '' + created_at: 2016-04-04 15:07:46.687390000 Z + updated_at: 2016-04-05 08:35:18.580745000 Z diff --git a/test/fixtures/project_steps.yml b/test/fixtures/project_steps.yml new file mode 100644 index 000000000..cc2516cba --- /dev/null +++ b/test/fixtures/project_steps.yml @@ -0,0 +1,18 @@ + +project_step_1: + id: 1 + description: "

Impression du manche à l'imprimante 3D puis découpe d'un vinyle + de protection à coller tout autour du manche.

" + project_id: 1 + created_at: 2016-04-04 15:39:08.259759000 Z + updated_at: 2016-04-04 15:39:08.259759000 Z + title: Le manche + +project_step_2: + id: 2 + description: "

Impression de la presse à l'imprimante 3D puis assemblage avec + le manche et vissage de l'ensemble.

" + project_id: 1 + created_at: 2016-04-04 15:39:08.265840000 Z + updated_at: 2016-04-04 15:39:08.265840000 Z + title: La presse diff --git a/test/fixtures/project_users.yml b/test/fixtures/project_users.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/projects.yml b/test/fixtures/projects.yml new file mode 100644 index 000000000..d371acfd9 --- /dev/null +++ b/test/fixtures/projects.yml @@ -0,0 +1,14 @@ + +project_1: + id: 1 + name: Presse-purée + description: "

Réalisation d'un ustensile de cuisine permettant d'écraser des + pommes de terre ou d'outres légumes afin de confectionner de la purée.

" + created_at: 2016-04-04 15:39:08.224918000 Z + updated_at: 2016-04-04 15:39:08.224918000 Z + author_id: 5 + tags: cuisine + licence_id: 1 + state: published + slug: presse-puree + published_at: 2016-04-04 15:39:08.267614000 Z diff --git a/test/fixtures/projects_components.yml b/test/fixtures/projects_components.yml new file mode 100644 index 000000000..8daaaa399 --- /dev/null +++ b/test/fixtures/projects_components.yml @@ -0,0 +1,20 @@ + +projects_component_1: + id: 1 + project_id: 1 + component_id: 10 + +projects_component_2: + id: 2 + project_id: 1 + component_id: 7 + +projects_component_1: + id: 1 + project_id: 1 + component_id: 10 + +projects_component_2: + id: 2 + project_id: 1 + component_id: 7 diff --git a/test/fixtures/projects_machines.yml b/test/fixtures/projects_machines.yml new file mode 100644 index 000000000..76772f78f --- /dev/null +++ b/test/fixtures/projects_machines.yml @@ -0,0 +1,20 @@ + +projects_machine_1: + id: 1 + project_id: 1 + machine_id: 6 + +projects_machine_2: + id: 2 + project_id: 1 + machine_id: 2 + +projects_machine_1: + id: 1 + project_id: 1 + machine_id: 6 + +projects_machine_2: + id: 2 + project_id: 1 + machine_id: 2 diff --git a/test/fixtures/projects_themes.yml b/test/fixtures/projects_themes.yml new file mode 100644 index 000000000..7adc67cc8 --- /dev/null +++ b/test/fixtures/projects_themes.yml @@ -0,0 +1,10 @@ + +projects_theme_1: + id: 1 + project_id: 1 + theme_id: 1 + +projects_theme_1: + id: 1 + project_id: 1 + theme_id: 1 diff --git a/test/fixtures/reservations.yml b/test/fixtures/reservations.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/roles.yml b/test/fixtures/roles.yml new file mode 100644 index 000000000..8a6e880ce --- /dev/null +++ b/test/fixtures/roles.yml @@ -0,0 +1,32 @@ + +role_1: + id: 1 + name: admin + resource_id: + resource_type: + created_at: 2016-04-04 14:11:33.826505000 Z + updated_at: 2016-04-04 14:11:33.826505000 Z + +role_2: + id: 2 + name: member + resource_id: + resource_type: + created_at: 2016-04-04 15:00:29.112744000 Z + updated_at: 2016-04-04 15:00:29.112744000 Z + +role_3: + id: 3 + name: partner + resource_id: + resource_type: + created_at: 2016-04-04 15:17:12.586692000 Z + updated_at: 2016-04-04 15:17:12.586692000 Z + +role_4: + id: 4 + name: partner + resource_id: 2 + resource_type: PartnerPlan + created_at: 2016-04-04 15:17:24.964272000 Z + updated_at: 2016-04-04 15:17:24.964272000 Z diff --git a/test/fixtures/settings.yml b/test/fixtures/settings.yml new file mode 100644 index 000000000..856dc615f --- /dev/null +++ b/test/fixtures/settings.yml @@ -0,0 +1,235 @@ + +setting_1: + id: 1 + name: about_body + value: '

Le Fab Lab de La Casemate + est un atelier de fabrication numérique où l’on peut utiliser des machines de + découpe, des imprimantes 3D,… permettant de travailler sur des matériaux variés + : plastique, bois, carton, vinyle, … afin de créer toute sorte d’objet grâce à + la conception assistée par ordinateur ou à l’électronique. Mais le Fab Lab est + aussi un lieu d’échange de compétences technique.

Le Fab Lab de La Casemate est un espace permanent : ouvert à tous, il offre + la possibilité de réaliser des objets soi-même, de partager ses compétences et + d’apprendre au contact des médiateurs du Fab Lab et des autres usagers.

La + formation au Fab Lab s’appuie sur des projets et le partage de connaissances : + vous devez prendre part à la capitalisation des connaissances et à l’instruction + des autres utilisateurs.

' + created_at: 2016-04-04 14:11:34.559256000 Z + updated_at: 2016-04-04 14:11:34.559256000 Z + +setting_2: + id: 2 + name: about_title + value: Imaginer, Fabriquer,
Partager au Fab Lab
de La Casemate + created_at: 2016-04-04 14:11:34.565164000 Z + updated_at: 2016-04-04 14:11:34.565164000 Z + +setting_3: + id: 3 + name: about_contacts + value: "
Manager Fab Lab :
jean-michel.molenaar@lacasemate.fr
+ \
Responsable médiation :
catherine.demarcq@lacasemate.fr
Animateur + scientifique :
diego.scharager@lacasemate.fr


Visitez le site de La Casemate

" + created_at: 2016-04-04 14:11:34.569316000 Z + updated_at: 2016-04-04 14:11:34.569316000 Z + +setting_4: + id: 4 + name: twitter_name + value: fablabgrenoble + created_at: 2016-04-04 14:11:34.572468000 Z + updated_at: 2016-04-04 14:11:34.572468000 Z + +setting_5: + id: 5 + name: machine_explications_alert + value: Tout achat d'heure machine est définitif. Aucune annulation ne pourra être + effectuée, néanmoins au plus tard 24h avant le créneau fixé, vous pouvez en modifier + la date et l'horaire à votre convenance et en fonction du calendrier proposé. + Passé ce délais, aucun changement ne pourra être effectué. + created_at: 2016-04-04 14:11:34.578108000 Z + updated_at: 2016-04-04 14:11:34.578108000 Z + +setting_6: + id: 6 + name: training_explications_alert + value: Toute réservation de formation est définitive. Aucune annulation ne pourra + être effectuée, néanmoins au plus tard 24h avant le créneau fixé, vous pouvez + en modifier la date et l'horaire à votre convenance et en fonction du calendrier + proposé. Passé ce délais, aucun changement ne pourra être effectué. + created_at: 2016-04-04 14:11:34.584331000 Z + updated_at: 2016-04-04 14:11:34.584331000 Z + +setting_7: + id: 7 + name: subscription_explications_alert + value: '

Règle sur la date de début des abonnements

Merci de bien prendre ses informations en compte, et merci de votre compréhension. + L''équipe du Fab Lab.

' + created_at: 2016-04-04 14:11:34.588478000 Z + updated_at: 2016-04-04 14:11:34.588478000 Z + +setting_8: + id: 8 + name: event_reduced_amount_alert + value: "* Tarif réduit si vous avez moins de 25 ans, que vous êtes étudiant ou demandeur + d'emploi." + created_at: 2016-04-04 14:11:34.592250000 Z + updated_at: 2016-04-04 14:11:34.592250000 Z + +setting_9: + id: 9 + name: invoice_logo + value: iVBORw0KGgoAAAANSUhEUgAAAyAAAABNCAYAAABe8gBxAAAAGXRFWHRTb2Z0d2Fy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2bW3tPHt7+zgHe4dwZyenTERuSdswg9p/EM0RyejdEuiadueHIBmQ1tXVq52yzKoqt0o4u+RSpaT6uVFudv+ApMgs3RaOjjtlpX5UhySqlCQYWqQvEY8NDUuLmplwdKWOIiY6KuHsmI6IQTMadKQvUY4ND4uLGhnmPMmh09vXa+Tk6JSD5gVS9Bl6h6i4uHi14+zZubwaS56enqFZ2VkJSM+BA5gU+UE6V6ahsdEK/Zr5CCI0bGFhkYLuk0U6d5SD75XS0dHh6qryLL1Z9ba2tnmoX/uIaQrKdDi47f76TFxsAoMToM6EtgQvQ1VVlVpFZYU5Miitenp6zCurqgxYLJYGIiZK6BY4TAaWm8A1OGlFQruA4cdAY6hfVVW1Q0pKqhYRjlINdfVcOzu7LBNjkzJkHHKUCKOJZtIbjWP7+Uxf9PX1URoaGlTqG+oNy8rKjNH/TWrr6vRgpQ1NYKqtra0wKUJOY1j+Ep2Qp0kPMPQnMI4hJE8MNJEOaGpqtqP/Q2hDpYaGRhEihQUGBgYl6mrqHdxMjYyBgTEFkoJsLHShoU/Fdgm2SzDuw/8JMADl5cyT9j6pfQAAAABJRU5ErkJggg== + created_at: 2016-04-04 14:11:34.596760000 Z + updated_at: 2016-04-04 14:11:34.596760000 Z + +setting_10: + id: 10 + name: invoice_reference + value: YYMMmmmX[/VL]R[/A] + created_at: 2016-04-04 14:11:34.603733000 Z + updated_at: 2016-04-04 14:11:34.603733000 Z + +setting_11: + id: 11 + name: invoice_code-active + value: 'true' + created_at: 2016-04-04 14:11:34.607174000 Z + updated_at: 2016-04-04 14:11:34.607174000 Z + +setting_12: + id: 12 + name: invoice_code-value + value: INMEDFABLAB + created_at: 2016-04-04 14:11:34.610103000 Z + updated_at: 2016-04-04 14:11:34.610103000 Z + +setting_13: + id: 13 + name: invoice_order-nb + value: nnnnnn-MM-YY + created_at: 2016-04-04 14:11:34.615671000 Z + updated_at: 2016-04-04 14:11:34.615671000 Z + +setting_14: + id: 14 + name: invoice_VAT-active + value: 'false' + created_at: 2016-04-04 14:11:34.618886000 Z + updated_at: 2016-04-04 14:11:34.618886000 Z + +setting_15: + id: 15 + name: invoice_VAT-rate + value: '20.0' + created_at: 2016-04-04 14:11:34.625154000 Z + updated_at: 2016-04-04 14:11:34.625154000 Z + +setting_16: + id: 16 + name: invoice_text + value: Notre association n'est pas assujettie à la TVA + created_at: 2016-04-04 14:11:34.632653000 Z + updated_at: 2016-04-04 14:11:34.632653000 Z + +setting_17: + id: 17 + name: invoice_legals + value: 'La Casemate
2 Place St Laurent 38000 GRENOBLE France
Tél. Administration + : +33 4 76 44 88 80
Fax. : +33 4 76 42 76 66
SIRET : 317 270 593 00013 + - APE 913 E' + created_at: 2016-04-04 14:11:34.636940000 Z + updated_at: 2016-04-04 14:11:34.636940000 Z + +setting_18: + id: 18 + name: booking_window_start + value: '1970-01-01 08:00:00' + created_at: 2016-04-04 14:11:34.639995000 Z + updated_at: 2016-04-04 14:11:34.639995000 Z + +setting_19: + id: 19 + name: booking_window_end + value: '1970-01-01 23:59:59' + created_at: 2016-04-04 14:11:34.643667000 Z + updated_at: 2016-04-04 14:11:34.643667000 Z + +setting_20: + id: 20 + name: booking_move_enable + value: 'true' + created_at: 2016-04-04 14:11:34.647950000 Z + updated_at: 2016-04-04 14:11:34.647950000 Z + +setting_21: + id: 21 + name: booking_move_delay + value: '24' + created_at: 2016-04-04 14:11:34.650611000 Z + updated_at: 2016-04-04 14:11:34.650611000 Z + +setting_22: + id: 22 + name: booking_cancel_enable + value: 'false' + created_at: 2016-04-04 14:11:34.653441000 Z + updated_at: 2016-04-04 14:11:34.653441000 Z + +setting_23: + id: 23 + name: booking_cancel_delay + value: '24' + created_at: 2016-04-04 14:11:34.655971000 Z + updated_at: 2016-04-04 14:11:34.655971000 Z + +setting_24: + id: 24 + name: main_color + value: "#cb1117" + created_at: 2016-04-04 14:11:34.658780000 Z + updated_at: 2016-04-04 14:11:34.658780000 Z + +setting_25: + id: 25 + name: secondary_color + value: "#ffdd00" + created_at: 2016-04-04 14:11:34.666698000 Z + updated_at: 2016-04-04 14:11:34.666698000 Z + +setting_26: + id: 26 + name: training_information_message + value: Avant de réserver une formation, nous vous conseillons de consulter nos offres + d'abonnement qui proposent des conditions avantageuses sur le prix des formations + et les heures machines. + created_at: 2016-04-04 14:11:34.717053000 Z + updated_at: 2016-04-04 14:11:34.717053000 Z + +setting_27: + id: 27 + name: fablab_name + value: Fab Lab de La Casemate + created_at: 2016-04-04 14:11:34.724770000 Z + updated_at: 2016-04-04 14:11:34.724770000 Z + +setting_28: + id: 28 + name: name_genre + value: male + created_at: 2016-04-04 14:11:34.728465000 Z + updated_at: 2016-04-04 14:11:34.728465000 Z + +setting_29: + id: 29 + name: home_blogpost + value: + created_at: 2016-04-04 14:12:01.271670000 Z + updated_at: 2016-04-04 14:12:01.271670000 Z diff --git a/test/fixtures/slots.yml b/test/fixtures/slots.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/statistic_fields.yml b/test/fixtures/statistic_fields.yml new file mode 100644 index 000000000..644d66006 --- /dev/null +++ b/test/fixtures/statistic_fields.yml @@ -0,0 +1,90 @@ + +statistic_field_1: + id: 1 + statistic_index_id: 3 + key: trainingId + label: ID Formation + created_at: 2016-04-04 14:11:33.394574000 Z + updated_at: 2016-04-04 14:11:33.394574000 Z + data_type: index + +statistic_field_2: + id: 2 + statistic_index_id: 3 + key: trainingDate + label: Date Formation + created_at: 2016-04-04 14:11:33.397731000 Z + updated_at: 2016-04-04 14:11:33.397731000 Z + data_type: date + +statistic_field_3: + id: 3 + statistic_index_id: 4 + key: eventId + label: ID Évènement + created_at: 2016-04-04 14:11:33.400109000 Z + updated_at: 2016-04-04 14:11:33.400109000 Z + data_type: index + +statistic_field_4: + id: 4 + statistic_index_id: 4 + key: eventDate + label: Date Évènement + created_at: 2016-04-04 14:11:33.402256000 Z + updated_at: 2016-04-04 14:11:33.402256000 Z + data_type: date + +statistic_field_5: + id: 5 + statistic_index_id: 6 + key: themes + label: Thèmes + created_at: 2016-04-04 14:11:33.404480000 Z + updated_at: 2016-04-04 14:11:33.404480000 Z + data_type: list + +statistic_field_6: + id: 6 + statistic_index_id: 6 + key: components + label: Composants + created_at: 2016-04-04 14:11:33.406774000 Z + updated_at: 2016-04-04 14:11:33.406774000 Z + data_type: list + +statistic_field_7: + id: 7 + statistic_index_id: 6 + key: machines + label: Machines + created_at: 2016-04-04 14:11:33.410472000 Z + updated_at: 2016-04-04 14:11:33.410472000 Z + data_type: list + +statistic_field_8: + id: 8 + statistic_index_id: 4 + key: name + label: Nom Évènement + created_at: 2016-04-04 14:11:33.413525000 Z + updated_at: 2016-04-04 14:11:33.413525000 Z + data_type: text + +statistic_field_9: + id: 9 + statistic_index_id: 7 + key: userId + label: ID Utilisateur + created_at: 2016-04-04 14:11:33.416626000 Z + updated_at: 2016-04-04 14:11:33.416626000 Z + data_type: index + +statistic_field_10: + id: 10 + statistic_index_id: 1 + key: groupName + label: Groupe + created_at: 2016-04-04 14:11:33.423307000 Z + updated_at: 2016-04-04 14:11:33.423307000 Z + data_type: text diff --git a/test/fixtures/statistic_graphs.yml b/test/fixtures/statistic_graphs.yml new file mode 100644 index 000000000..fe94a87b6 --- /dev/null +++ b/test/fixtures/statistic_graphs.yml @@ -0,0 +1,48 @@ + +statistic_graph_1: + id: 1 + statistic_index_id: 1 + chart_type: stackedAreaChart + limit: 0 + created_at: 2016-04-04 14:11:33.585281000 Z + updated_at: 2016-04-04 14:11:33.585281000 Z + +statistic_graph_2: + id: 2 + statistic_index_id: 2 + chart_type: stackedAreaChart + limit: 0 + created_at: 2016-04-04 14:11:33.588092000 Z + updated_at: 2016-04-04 14:11:33.588092000 Z + +statistic_graph_3: + id: 3 + statistic_index_id: 3 + chart_type: discreteBarChart + limit: 10 + created_at: 2016-04-04 14:11:33.590494000 Z + updated_at: 2016-04-04 14:11:33.590494000 Z + +statistic_graph_4: + id: 4 + statistic_index_id: 4 + chart_type: discreteBarChart + limit: 10 + created_at: 2016-04-04 14:11:33.592600000 Z + updated_at: 2016-04-04 14:11:33.592600000 Z + +statistic_graph_5: + id: 5 + statistic_index_id: 5 + chart_type: lineChart + limit: 0 + created_at: 2016-04-04 14:11:33.594459000 Z + updated_at: 2016-04-04 14:11:33.594459000 Z + +statistic_graph_6: + id: 6 + statistic_index_id: 7 + chart_type: discreteBarChart + limit: 10 + created_at: 2016-04-04 14:11:33.596654000 Z + updated_at: 2016-04-04 14:11:33.596654000 Z diff --git a/test/fixtures/statistic_indices.yml b/test/fixtures/statistic_indices.yml new file mode 100644 index 000000000..2de3f9b3d --- /dev/null +++ b/test/fixtures/statistic_indices.yml @@ -0,0 +1,63 @@ + +statistic_index_1: + id: 1 + es_type_key: subscription + label: Abonnements + created_at: 2016-04-04 14:11:33.355566000 Z + updated_at: 2016-04-04 14:11:33.355566000 Z + table: true + ca: true + +statistic_index_2: + id: 2 + es_type_key: machine + label: Heures machines + created_at: 2016-04-04 14:11:33.359367000 Z + updated_at: 2016-04-04 14:11:33.359367000 Z + table: true + ca: true + +statistic_index_3: + id: 3 + es_type_key: training + label: Formations + created_at: 2016-04-04 14:11:33.362171000 Z + updated_at: 2016-04-04 14:11:33.362171000 Z + table: true + ca: true + +statistic_index_4: + id: 4 + es_type_key: event + label: Ateliers/Stages + created_at: 2016-04-04 14:11:33.366381000 Z + updated_at: 2016-04-04 14:11:33.366381000 Z + table: true + ca: true + +statistic_index_5: + id: 5 + es_type_key: account + label: Inscriptions + created_at: 2016-04-04 14:11:33.369042000 Z + updated_at: 2016-04-04 14:11:33.369042000 Z + table: true + ca: false + +statistic_index_6: + id: 6 + es_type_key: project + label: Projets + created_at: 2016-04-04 14:11:33.373066000 Z + updated_at: 2016-04-04 14:11:33.373066000 Z + table: true + ca: false + +statistic_index_7: + id: 7 + es_type_key: user + label: Utilisateurs + created_at: 2016-04-04 14:11:33.376810000 Z + updated_at: 2016-04-04 14:11:33.376810000 Z + table: false + ca: false diff --git a/test/fixtures/statistic_sub_types.yml b/test/fixtures/statistic_sub_types.yml new file mode 100644 index 000000000..38f6dc2ab --- /dev/null +++ b/test/fixtures/statistic_sub_types.yml @@ -0,0 +1,155 @@ + +statistic_sub_type_1: + id: 1 + key: Stage + label: Stage + created_at: 2016-04-04 14:11:33.510241000 Z + updated_at: 2016-04-04 14:11:33.510241000 Z + +statistic_sub_type_2: + id: 2 + key: Atelier + label: Atelier + created_at: 2016-04-04 14:11:33.535339000 Z + updated_at: 2016-04-04 14:11:33.535339000 Z + +statistic_sub_type_3: + id: 3 + key: created + label: Création de compte + created_at: 2016-04-04 14:11:33.553667000 Z + updated_at: 2016-04-04 14:11:33.553667000 Z + +statistic_sub_type_4: + id: 4 + key: published + label: Publication de projet + created_at: 2016-04-04 14:11:33.564828000 Z + updated_at: 2016-04-04 14:11:33.564828000 Z + +statistic_sub_type_5: + id: 5 + key: standard + label: standard, association + created_at: 2016-04-04 14:11:33.652127000 Z + updated_at: 2016-04-04 14:11:33.652127000 Z + +statistic_sub_type_6: + id: 6 + key: student + label: étudiant, - de 25 ans, enseignant, demandeur d'emploi + created_at: 2016-04-04 14:11:33.662695000 Z + updated_at: 2016-04-04 14:11:33.662695000 Z + +statistic_sub_type_7: + id: 7 + key: merchant + label: artisan, commerçant, chercheur, auto-entrepreneur + created_at: 2016-04-04 14:11:33.674691000 Z + updated_at: 2016-04-04 14:11:33.674691000 Z + +statistic_sub_type_8: + id: 8 + key: business + label: PME, PMI, SARL, SA + created_at: 2016-04-04 14:11:33.688291000 Z + updated_at: 2016-04-04 14:11:33.688291000 Z + +statistic_sub_type_9: + id: 9 + key: formation-imprimante-3d + label: Formation Imprimante 3D + created_at: 2016-04-04 14:11:34.042407000 Z + updated_at: 2016-04-04 14:11:34.042407000 Z + +statistic_sub_type_10: + id: 10 + key: formation-laser-vinyle + label: Formation Laser / Vinyle + created_at: 2016-04-04 14:11:34.082412000 Z + updated_at: 2016-04-04 14:11:34.082412000 Z + +statistic_sub_type_11: + id: 11 + key: formation-petite-fraiseuse-numerique + label: Formation Petite fraiseuse numerique + created_at: 2016-04-04 14:11:34.109571000 Z + updated_at: 2016-04-04 14:11:34.109571000 Z + +statistic_sub_type_12: + id: 12 + key: formation-shopbot-grande-fraiseuse + label: Formation Shopbot Grande Fraiseuse + created_at: 2016-04-04 14:11:34.138418000 Z + updated_at: 2016-04-04 14:11:34.138418000 Z + +statistic_sub_type_13: + id: 13 + key: formation-logiciel-2d + label: Formation logiciel 2D + created_at: 2016-04-04 14:11:34.158874000 Z + updated_at: 2016-04-04 14:11:34.158874000 Z + +statistic_sub_type_14: + id: 14 + key: decoupeuse-laser + label: Découpeuse laser + created_at: 2016-04-04 14:11:34.216583000 Z + updated_at: 2016-04-04 14:11:34.216583000 Z + +statistic_sub_type_15: + id: 15 + key: decoupeuse-vinyle + label: Découpeuse vinyle + created_at: 2016-04-04 14:11:34.280012000 Z + updated_at: 2016-04-04 14:11:34.280012000 Z + +statistic_sub_type_16: + id: 16 + key: shopbot-grande-fraiseuse + label: Shopbot / Grande fraiseuse + created_at: 2016-04-04 14:11:34.311844000 Z + updated_at: 2016-04-04 14:11:34.311844000 Z + +statistic_sub_type_17: + id: 17 + key: imprimante-3d + label: Imprimante 3D + created_at: 2016-04-04 14:11:34.351362000 Z + updated_at: 2016-04-04 14:11:34.351362000 Z + +statistic_sub_type_18: + id: 18 + key: petite-fraiseuse + label: Petite Fraiseuse + created_at: 2016-04-04 14:11:34.387590000 Z + updated_at: 2016-04-04 14:11:34.387590000 Z + +statistic_sub_type_19: + id: 19 + key: form1-imprimante-3d + label: FORM1+ imprimante 3D + created_at: 2016-04-04 14:11:34.432323000 Z + updated_at: 2016-04-04 14:11:34.432323000 Z + +statistic_sub_type_20: + id: 20 + key: mensuel-standard-month-20160404171519 + label: Mensuel - standard, association - month + created_at: 2016-04-04 15:15:21.125089000 Z + updated_at: 2016-04-04 15:15:21.125089000 Z + +statistic_sub_type_21: + id: 21 + key: nicolas-standard-month-20160404171724 + label: Sleede - standard, association - month + created_at: 2016-04-04 15:17:24.952312000 Z + updated_at: 2016-04-04 15:17:24.952312000 Z + +statistic_sub_type_22: + id: 22 + key: mensuel-tarif-reduit-student-month-20160404171827 + label: Mensuel tarif réduit - étudiant, - de 25 ans, enseignant, demandeur d'emploi + - month + created_at: 2016-04-04 15:18:28.864495000 Z + updated_at: 2016-04-04 15:18:28.864495000 Z diff --git a/test/fixtures/statistic_type_sub_types.yml b/test/fixtures/statistic_type_sub_types.yml new file mode 100644 index 000000000..751a34706 --- /dev/null +++ b/test/fixtures/statistic_type_sub_types.yml @@ -0,0 +1,245 @@ + +statistic_type_sub_type_1: + id: 1 + statistic_type_id: 6 + statistic_sub_type_id: 1 + created_at: 2016-04-04 14:11:33.513238000 Z + updated_at: 2016-04-04 14:11:33.513238000 Z + +statistic_type_sub_type_2: + id: 2 + statistic_type_id: 5 + statistic_sub_type_id: 1 + created_at: 2016-04-04 14:11:33.516138000 Z + updated_at: 2016-04-04 14:11:33.516138000 Z + +statistic_type_sub_type_3: + id: 3 + statistic_type_id: 6 + statistic_sub_type_id: 2 + created_at: 2016-04-04 14:11:33.538652000 Z + updated_at: 2016-04-04 14:11:33.538652000 Z + +statistic_type_sub_type_4: + id: 4 + statistic_type_id: 5 + statistic_sub_type_id: 2 + created_at: 2016-04-04 14:11:33.542486000 Z + updated_at: 2016-04-04 14:11:33.542486000 Z + +statistic_type_sub_type_5: + id: 5 + statistic_type_id: 7 + statistic_sub_type_id: 3 + created_at: 2016-04-04 14:11:33.555871000 Z + updated_at: 2016-04-04 14:11:33.555871000 Z + +statistic_type_sub_type_6: + id: 6 + statistic_type_id: 8 + statistic_sub_type_id: 4 + created_at: 2016-04-04 14:11:33.567632000 Z + updated_at: 2016-04-04 14:11:33.567632000 Z + +statistic_type_sub_type_7: + id: 7 + statistic_type_id: 9 + statistic_sub_type_id: 5 + created_at: 2016-04-04 14:11:33.653644000 Z + updated_at: 2016-04-04 14:11:33.653644000 Z + +statistic_type_sub_type_8: + id: 8 + statistic_type_id: 9 + statistic_sub_type_id: 6 + created_at: 2016-04-04 14:11:33.664529000 Z + updated_at: 2016-04-04 14:11:33.664529000 Z + +statistic_type_sub_type_9: + id: 9 + statistic_type_id: 9 + statistic_sub_type_id: 7 + created_at: 2016-04-04 14:11:33.676852000 Z + updated_at: 2016-04-04 14:11:33.676852000 Z + +statistic_type_sub_type_10: + id: 10 + statistic_type_id: 9 + statistic_sub_type_id: 8 + created_at: 2016-04-04 14:11:33.690793000 Z + updated_at: 2016-04-04 14:11:33.690793000 Z + +statistic_type_sub_type_11: + id: 11 + statistic_type_id: 4 + statistic_sub_type_id: 9 + created_at: 2016-04-04 14:11:34.044221000 Z + updated_at: 2016-04-04 14:11:34.044221000 Z + +statistic_type_sub_type_12: + id: 12 + statistic_type_id: 3 + statistic_sub_type_id: 9 + created_at: 2016-04-04 14:11:34.045765000 Z + updated_at: 2016-04-04 14:11:34.045765000 Z + +statistic_type_sub_type_13: + id: 13 + statistic_type_id: 4 + statistic_sub_type_id: 10 + created_at: 2016-04-04 14:11:34.084202000 Z + updated_at: 2016-04-04 14:11:34.084202000 Z + +statistic_type_sub_type_14: + id: 14 + statistic_type_id: 3 + statistic_sub_type_id: 10 + created_at: 2016-04-04 14:11:34.085725000 Z + updated_at: 2016-04-04 14:11:34.085725000 Z + +statistic_type_sub_type_15: + id: 15 + statistic_type_id: 4 + statistic_sub_type_id: 11 + created_at: 2016-04-04 14:11:34.113011000 Z + updated_at: 2016-04-04 14:11:34.113011000 Z + +statistic_type_sub_type_16: + id: 16 + statistic_type_id: 3 + statistic_sub_type_id: 11 + created_at: 2016-04-04 14:11:34.115670000 Z + updated_at: 2016-04-04 14:11:34.115670000 Z + +statistic_type_sub_type_17: + id: 17 + statistic_type_id: 4 + statistic_sub_type_id: 12 + created_at: 2016-04-04 14:11:34.139750000 Z + updated_at: 2016-04-04 14:11:34.139750000 Z + +statistic_type_sub_type_18: + id: 18 + statistic_type_id: 3 + statistic_sub_type_id: 12 + created_at: 2016-04-04 14:11:34.141062000 Z + updated_at: 2016-04-04 14:11:34.141062000 Z + +statistic_type_sub_type_19: + id: 19 + statistic_type_id: 4 + statistic_sub_type_id: 13 + created_at: 2016-04-04 14:11:34.160439000 Z + updated_at: 2016-04-04 14:11:34.160439000 Z + +statistic_type_sub_type_20: + id: 20 + statistic_type_id: 3 + statistic_sub_type_id: 13 + created_at: 2016-04-04 14:11:34.161861000 Z + updated_at: 2016-04-04 14:11:34.161861000 Z + +statistic_type_sub_type_21: + id: 21 + statistic_type_id: 2 + statistic_sub_type_id: 14 + created_at: 2016-04-04 14:11:34.218360000 Z + updated_at: 2016-04-04 14:11:34.218360000 Z + +statistic_type_sub_type_22: + id: 22 + statistic_type_id: 1 + statistic_sub_type_id: 14 + created_at: 2016-04-04 14:11:34.220463000 Z + updated_at: 2016-04-04 14:11:34.220463000 Z + +statistic_type_sub_type_23: + id: 23 + statistic_type_id: 2 + statistic_sub_type_id: 15 + created_at: 2016-04-04 14:11:34.281962000 Z + updated_at: 2016-04-04 14:11:34.281962000 Z + +statistic_type_sub_type_24: + id: 24 + statistic_type_id: 1 + statistic_sub_type_id: 15 + created_at: 2016-04-04 14:11:34.284179000 Z + updated_at: 2016-04-04 14:11:34.284179000 Z + +statistic_type_sub_type_25: + id: 25 + statistic_type_id: 2 + statistic_sub_type_id: 16 + created_at: 2016-04-04 14:11:34.313711000 Z + updated_at: 2016-04-04 14:11:34.313711000 Z + +statistic_type_sub_type_26: + id: 26 + statistic_type_id: 1 + statistic_sub_type_id: 16 + created_at: 2016-04-04 14:11:34.315260000 Z + updated_at: 2016-04-04 14:11:34.315260000 Z + +statistic_type_sub_type_27: + id: 27 + statistic_type_id: 2 + statistic_sub_type_id: 17 + created_at: 2016-04-04 14:11:34.353541000 Z + updated_at: 2016-04-04 14:11:34.353541000 Z + +statistic_type_sub_type_28: + id: 28 + statistic_type_id: 1 + statistic_sub_type_id: 17 + created_at: 2016-04-04 14:11:34.357176000 Z + updated_at: 2016-04-04 14:11:34.357176000 Z + +statistic_type_sub_type_29: + id: 29 + statistic_type_id: 2 + statistic_sub_type_id: 18 + created_at: 2016-04-04 14:11:34.389833000 Z + updated_at: 2016-04-04 14:11:34.389833000 Z + +statistic_type_sub_type_30: + id: 30 + statistic_type_id: 1 + statistic_sub_type_id: 18 + created_at: 2016-04-04 14:11:34.392790000 Z + updated_at: 2016-04-04 14:11:34.392790000 Z + +statistic_type_sub_type_31: + id: 31 + statistic_type_id: 2 + statistic_sub_type_id: 19 + created_at: 2016-04-04 14:11:34.434454000 Z + updated_at: 2016-04-04 14:11:34.434454000 Z + +statistic_type_sub_type_32: + id: 32 + statistic_type_id: 1 + statistic_sub_type_id: 19 + created_at: 2016-04-04 14:11:34.436807000 Z + updated_at: 2016-04-04 14:11:34.436807000 Z + +statistic_type_sub_type_33: + id: 33 + statistic_type_id: 10 + statistic_sub_type_id: 20 + created_at: 2016-04-04 15:15:21.138545000 Z + updated_at: 2016-04-04 15:15:21.138545000 Z + +statistic_type_sub_type_34: + id: 34 + statistic_type_id: 11 + statistic_sub_type_id: 21 + created_at: 2016-04-04 15:17:24.955599000 Z + updated_at: 2016-04-04 15:17:24.955599000 Z + +statistic_type_sub_type_35: + id: 35 + statistic_type_id: 10 + statistic_sub_type_id: 22 + created_at: 2016-04-04 15:18:28.867317000 Z + updated_at: 2016-04-04 15:18:28.867317000 Z diff --git a/test/fixtures/statistic_types.yml b/test/fixtures/statistic_types.yml new file mode 100644 index 000000000..a309c1e7d --- /dev/null +++ b/test/fixtures/statistic_types.yml @@ -0,0 +1,110 @@ + +statistic_type_1: + id: 1 + statistic_index_id: 2 + key: booking + label: Réservations + graph: true + created_at: 2016-04-04 14:11:33.441638000 Z + updated_at: 2016-04-04 14:11:33.441638000 Z + simple: true + +statistic_type_2: + id: 2 + statistic_index_id: 2 + key: hour + label: Nombre d'heures + graph: true + created_at: 2016-04-04 14:11:33.445526000 Z + updated_at: 2016-04-04 14:11:33.445526000 Z + simple: false + +statistic_type_3: + id: 3 + statistic_index_id: 3 + key: booking + label: Réservations + graph: false + created_at: 2016-04-04 14:11:33.448982000 Z + updated_at: 2016-04-04 14:11:33.448982000 Z + simple: true + +statistic_type_4: + id: 4 + statistic_index_id: 3 + key: hour + label: Nombre d'heures + graph: false + created_at: 2016-04-04 14:11:33.452261000 Z + updated_at: 2016-04-04 14:11:33.452261000 Z + simple: false + +statistic_type_5: + id: 5 + statistic_index_id: 4 + key: booking + label: Nombre de places + graph: false + created_at: 2016-04-04 14:11:33.455220000 Z + updated_at: 2016-04-04 14:11:33.455220000 Z + simple: false + +statistic_type_6: + id: 6 + statistic_index_id: 4 + key: hour + label: Nombre d'heures + graph: false + created_at: 2016-04-04 14:11:33.457727000 Z + updated_at: 2016-04-04 14:11:33.457727000 Z + simple: false + +statistic_type_7: + id: 7 + statistic_index_id: 5 + key: member + label: Utilisateurs + graph: true + created_at: 2016-04-04 14:11:33.460565000 Z + updated_at: 2016-04-04 14:11:33.460565000 Z + simple: true + +statistic_type_8: + id: 8 + statistic_index_id: 6 + key: project + label: Projets + graph: false + created_at: 2016-04-04 14:11:33.463420000 Z + updated_at: 2016-04-04 14:11:33.463420000 Z + simple: true + +statistic_type_9: + id: 9 + statistic_index_id: 7 + key: revenue + label: Chiffre d'affaires + graph: false + created_at: 2016-04-04 14:11:33.466257000 Z + updated_at: 2016-04-04 14:11:33.466257000 Z + simple: false + +statistic_type_10: + id: 10 + statistic_index_id: 1 + key: '2592000' + label: 'Durée : one month' + graph: true + created_at: 2016-04-04 15:15:21.110438000 Z + updated_at: 2016-04-04 15:15:21.110438000 Z + simple: true + +statistic_type_11: + id: 11 + statistic_index_id: 1 + key: '5184000' + label: 'Durée : 2 months' + graph: true + created_at: 2016-04-04 15:17:24.950033000 Z + updated_at: 2016-04-04 15:17:24.950033000 Z + simple: true diff --git a/test/fixtures/stylesheets.yml b/test/fixtures/stylesheets.yml new file mode 100644 index 000000000..9dac239f7 --- /dev/null +++ b/test/fixtures/stylesheets.yml @@ -0,0 +1,39 @@ + +stylesheet_1: + id: 1 + contents: |- + .bg-red { background-color: #cb1117; } + .bg-red-dark { background-color: #cb1117; } + #nav .nav { background-color: #cb1117; } + #nav .nav > li > a { color: white; } + #nav .nav > li > a:hover, #nav .nav > li > a:focus { background-color: #ed2229; } + #nav .nav > li > a.active { border-left: 3px solid #6d090c; background-color: #ed2229; } + #nav .nav > li > a.active { border-left: 3px solid #6d090c; background-color: #ed2229; } + .btn-theme { background-color: #cb1117; color: white; } + .btn-theme:active, .btn-theme:hover { background-color: #6d090c; } + .label-theme { background-color: #cb1117 } + .btn-link { color: #cb1117 !important; } + .btn-link:hover { color: #6d090c !important; } + a { color: #cb1117; } + a:hover, a:focus { color: #6d090c; } + h2, h3, h5 { color: #cb1117; } + h5:after { background-color: #cb1117; } + .bg-yellow { background-color: #ffdd00 !important; } + .event:hover { background-color: #cb1117; } + .widget h3 { color: #cb1117; } + .modal-header h1, .custom-invoice .modal-header h1 { color: #cb1117; } + .block-link:hover, .fc-toolbar .fc-button:hover, .fc-toolbar .fc-button:active, .fc-toolbar .fc-button.fc-state-active { background-color: #ffdd00; } + .carousel-control:hover, .carousel-control:focus, .carousel-caption .title a:hover { color: #ffdd00; } + .well.well-warning { border-color: #ffdd00; background-color: #ffdd00; } + .text-yellow { color: #ffdd00 !important; } + .red { color: #cb1117 !important; } + .btn-warning, .editable-buttons button[type=submit].btn-primary { background-color: #ffdd00 !important; border-color: #ffdd00 !important; } + .btn-warning:hover, .editable-buttons button[type=submit].btn-primary:hover, .btn-warning:focus, .editable-buttons button[type=submit].btn-primary:focus, .btn-warning.focus, .editable-buttons button.focus[type=submit].btn-primary, .btn-warning:active, .editable-buttons button[type=submit].btn-primary:active, .btn-warning.active, .editable-buttons button.active[type=submit].btn-primary, .open > .btn-warning.dropdown-toggle, .editable-buttons .open > button.dropdown-toggle[type=submit].btn-primary { background-color: #998500 !important; border-color: #998500 !important; } + .btn-warning-full { border-color: #ffdd00; background-color: #ffdd00; } + .heading .heading-btn a:hover { background-color: #ffdd00; } + .pricing-panel .content .wrap { border-color: #ffdd00; } + .pricing-panel .cta-button .btn:hover, .pricing-panel .cta-button .custom-invoice .modal-body .elements li:hover, .custom-invoice .modal-body .elements .pricing-panel .cta-button li:hover { background-color: #ffdd00 !important; } + a.label:hover, .form-control.form-control-ui-select .select2-choices a.select2-search-choice:hover, a.label:focus, .form-control.form-control-ui-select .select2-choices a.select2-search-choice:focus { color: #cb1117; } + .about-picture { background: linear-gradient( rgba(255,255,255,0.12), rgba(255,255,255,0.13) ), linear-gradient( rgba(203, 17, 23, 0.78), rgba(203, 17, 23, 0.82) ), url('/about-fablab.jpg') no-repeat; } + created_at: 2016-04-04 14:11:34.712927000 Z + updated_at: 2016-04-04 14:11:34.712927000 Z diff --git a/test/fixtures/subscriptions.yml b/test/fixtures/subscriptions.yml new file mode 100644 index 000000000..ed5e346aa --- /dev/null +++ b/test/fixtures/subscriptions.yml @@ -0,0 +1,20 @@ + +subscription_1: + id: 1 + plan_id: 2 + user_id: 3 + stp_subscription_id: sub_8DGB4ErIc2asOv + created_at: 2016-04-05 08:35:51.784514000 Z + updated_at: 2016-04-05 08:35:51.784514000 Z + expired_at: 2016-06-05 08:35:51.000000000 Z + canceled_at: 2016-04-05 08:35:55.615387000 Z + +subscription_2: + id: 2 + plan_id: 3 + user_id: 4 + stp_subscription_id: + created_at: 2016-04-05 08:36:46.829879000 Z + updated_at: 2016-04-05 08:36:46.829879000 Z + expired_at: 2016-05-05 08:36:46.828332000 Z + canceled_at: diff --git a/test/fixtures/tags.yml b/test/fixtures/tags.yml new file mode 100644 index 000000000..2aa8cb7dd --- /dev/null +++ b/test/fixtures/tags.yml @@ -0,0 +1,12 @@ + +tag_1: + id: 1 + name: experts + created_at: 2016-04-04 15:25:13.744539000 Z + updated_at: 2016-04-04 15:25:13.744539000 Z + +tag_2: + id: 2 + name: débutants + created_at: 2016-04-04 15:25:30.321953000 Z + updated_at: 2016-04-04 15:25:30.321953000 Z diff --git a/test/fixtures/themes.yml b/test/fixtures/themes.yml new file mode 100644 index 000000000..95e0416ca --- /dev/null +++ b/test/fixtures/themes.yml @@ -0,0 +1,28 @@ + +theme_1: + id: 1 + name: Vie quotidienne + +theme_2: + id: 2 + name: Robotique + +theme_3: + id: 3 + name: Arduine + +theme_4: + id: 4 + name: Capteurs + +theme_5: + id: 5 + name: Musique + +theme_6: + id: 6 + name: Sport + +theme_7: + id: 7 + name: Autre diff --git a/test/fixtures/trainings.yml b/test/fixtures/trainings.yml new file mode 100644 index 000000000..150996ec7 --- /dev/null +++ b/test/fixtures/trainings.yml @@ -0,0 +1,45 @@ + +training_1: + id: 1 + name: Formation Imprimante 3D + created_at: 2016-04-04 14:11:34.033464000 Z + updated_at: 2016-04-04 14:11:34.033464000 Z + nb_total_places: + slug: formation-imprimante-3d + description: + +training_2: + id: 2 + name: Formation Laser / Vinyle + created_at: 2016-04-04 14:11:34.075249000 Z + updated_at: 2016-04-04 14:11:34.075249000 Z + nb_total_places: + slug: formation-laser-vinyle + description: + +training_3: + id: 3 + name: Formation Petite fraiseuse numerique + created_at: 2016-04-04 14:11:34.103077000 Z + updated_at: 2016-04-04 14:11:34.103077000 Z + nb_total_places: + slug: formation-petite-fraiseuse-numerique + description: + +training_4: + id: 4 + name: Formation Shopbot Grande Fraiseuse + created_at: 2016-04-04 14:11:34.132899000 Z + updated_at: 2016-04-04 14:11:34.132899000 Z + nb_total_places: + slug: formation-shopbot-grande-fraiseuse + description: + +training_5: + id: 5 + name: Formation logiciel 2D + created_at: 2016-04-04 14:11:34.152000000 Z + updated_at: 2016-04-04 14:11:34.152000000 Z + nb_total_places: + slug: formation-logiciel-2d + description: diff --git a/test/fixtures/trainings_availabilities.yml b/test/fixtures/trainings_availabilities.yml new file mode 100644 index 000000000..0f2b65ec7 --- /dev/null +++ b/test/fixtures/trainings_availabilities.yml @@ -0,0 +1,21 @@ + +trainings_availability_1: + id: 1 + training_id: 2 + availability_id: 1 + created_at: 2016-04-04 15:24:01.522700000 Z + updated_at: 2016-04-04 15:24:01.522700000 Z + +trainings_availability_2: + id: 2 + training_id: 1 + availability_id: 2 + created_at: 2016-04-04 15:24:09.172367000 Z + updated_at: 2016-04-04 15:24:09.172367000 Z + +trainings_availability_3: + id: 3 + training_id: 4 + availability_id: 8 + created_at: 2016-04-04 15:26:49.574308000 Z + updated_at: 2016-04-04 15:26:49.574308000 Z diff --git a/test/fixtures/trainings_machines.yml b/test/fixtures/trainings_machines.yml new file mode 100644 index 000000000..797e6cbcb --- /dev/null +++ b/test/fixtures/trainings_machines.yml @@ -0,0 +1,50 @@ + +trainings_machine_1: + id: 1 + training_id: 2 + machine_id: 1 + +trainings_machine_2: + id: 2 + training_id: 2 + machine_id: 2 + +trainings_machine_3: + id: 3 + training_id: 4 + machine_id: 3 + +trainings_machine_4: + id: 4 + training_id: 1 + machine_id: 4 + +trainings_machine_5: + id: 5 + training_id: 3 + machine_id: 5 + +trainings_machine_1: + id: 1 + training_id: 2 + machine_id: 1 + +trainings_machine_2: + id: 2 + training_id: 2 + machine_id: 2 + +trainings_machine_3: + id: 3 + training_id: 4 + machine_id: 3 + +trainings_machine_4: + id: 4 + training_id: 1 + machine_id: 4 + +trainings_machine_5: + id: 5 + training_id: 3 + machine_id: 5 diff --git a/test/fixtures/trainings_pricings.yml b/test/fixtures/trainings_pricings.yml new file mode 100644 index 000000000..54a494111 --- /dev/null +++ b/test/fixtures/trainings_pricings.yml @@ -0,0 +1,80 @@ + +trainings_pricing_1: + id: 1 + group_id: 1 + amount: 5100 + created_at: 2016-04-04 14:11:34.062630000 Z + updated_at: 2016-04-04 14:11:34.062630000 Z + training_id: 1 + +trainings_pricing_2: + id: 2 + group_id: 2 + amount: 4500 + created_at: 2016-04-04 14:11:34.065365000 Z + updated_at: 2016-04-04 14:11:34.065365000 Z + training_id: 1 + +trainings_pricing_5: + id: 5 + group_id: 1 + amount: 2900 + created_at: 2016-04-04 14:11:34.091905000 Z + updated_at: 2016-04-04 14:11:34.091905000 Z + training_id: 2 + +trainings_pricing_6: + id: 6 + group_id: 2 + amount: 1700 + created_at: 2016-04-04 14:11:34.093952000 Z + updated_at: 2016-04-04 14:11:34.093952000 Z + training_id: 2 + +trainings_pricing_9: + id: 9 + group_id: 1 + amount: 3000 + created_at: 2016-04-04 14:11:34.122221000 Z + updated_at: 2016-04-04 14:11:34.122221000 Z + training_id: 3 + +trainings_pricing_10: + id: 10 + group_id: 2 + amount: 2600 + created_at: 2016-04-04 14:11:34.124626000 Z + updated_at: 2016-04-04 14:11:34.124626000 Z + training_id: 3 + +trainings_pricing_13: + id: 13 + group_id: 1 + amount: 5200 + created_at: 2016-04-04 14:11:34.143982000 Z + updated_at: 2016-04-04 14:11:34.143982000 Z + training_id: 4 + +trainings_pricing_14: + id: 14 + group_id: 2 + amount: 4400 + created_at: 2016-04-04 14:11:34.145380000 Z + updated_at: 2016-04-04 14:11:34.145380000 Z + training_id: 4 + +trainings_pricing_17: + id: 17 + group_id: 1 + amount: 1800 + created_at: 2016-04-04 14:11:34.165146000 Z + updated_at: 2016-04-04 14:11:34.165146000 Z + training_id: 5 + +trainings_pricing_18: + id: 18 + group_id: 2 + amount: 1900 + created_at: 2016-04-04 14:11:34.166759000 Z + updated_at: 2016-04-04 14:11:34.166759000 Z + training_id: 5 diff --git a/test/fixtures/user_tags.yml b/test/fixtures/user_tags.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/user_trainings.yml b/test/fixtures/user_trainings.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml new file mode 100644 index 000000000..e84e28270 --- /dev/null +++ b/test/fixtures/users.yml @@ -0,0 +1,198 @@ + +user_2: + id: 2 + username: jdupont + email: jean.dupont@gmail.com + encrypted_password: "$2a$10$M41moTmI.I4xNVeOPzS1JeplUM0B5b0KfQqBZ./fgHZVn7BcIAY.m" + reset_password_token: + reset_password_sent_at: + remember_created_at: + sign_in_count: 1 + current_sign_in_at: 2016-04-04 15:00:29.439018000 Z + last_sign_in_at: 2016-04-04 15:00:29.439018000 Z + current_sign_in_ip: 127.0.0.1 + last_sign_in_ip: 127.0.0.1 + confirmation_token: + confirmed_at: 2016-04-04 15:00:43.555678000 Z + confirmation_sent_at: 2016-04-04 15:00:29.424011000 Z + unconfirmed_email: + failed_attempts: 0 + unlock_token: + locked_at: + created_at: 2016-04-04 15:00:29.107434000 Z + updated_at: 2016-04-04 15:00:43.556308000 Z + is_allow_contact: true + group_id: 1 + stp_customer_id: cus_8CzAgnSeFbDuG2 + slug: jdupont + is_active: true + invoicing_disabled: false + provider: + uid: + auth_token: + merged_at: + +user_4: + id: 4 + username: kdumas + email: kevin.dumas@orange.fr + encrypted_password: "$2a$10$N6Q4SHkkUtwlnMNFvN6nF.rkmLFTIPsARk7xEuR1Dws7Dy2sSrSOW" + reset_password_token: + reset_password_sent_at: + remember_created_at: + sign_in_count: 0 + current_sign_in_at: + last_sign_in_at: + current_sign_in_ip: + last_sign_in_ip: + confirmation_token: + confirmed_at: 2016-04-04 15:11:02.968494000 Z + confirmation_sent_at: 2016-04-04 15:10:42.376191000 Z + unconfirmed_email: + failed_attempts: 0 + unlock_token: + locked_at: + created_at: 2016-04-04 15:10:42.340868000 Z + updated_at: 2016-04-04 15:11:02.969182000 Z + is_allow_contact: true + group_id: 2 + stp_customer_id: cus_8CzKe50I0J1gaI + slug: kdumas + is_active: true + invoicing_disabled: + provider: + uid: + auth_token: + merged_at: + +user_6: + id: 6 + username: GilbertPartenaire + email: gilbert.partenaire@nicolas.com + encrypted_password: "$2a$10$UtWcIYMd2aOtQjw6OFL4cuMV1MB20Bfs/opzJDqWXqu8woUo.2cLu" + reset_password_token: + reset_password_sent_at: + remember_created_at: + sign_in_count: 0 + current_sign_in_at: + last_sign_in_at: + current_sign_in_ip: + last_sign_in_ip: + confirmation_token: + confirmed_at: + confirmation_sent_at: + unconfirmed_email: + failed_attempts: 0 + unlock_token: + locked_at: + created_at: 2016-04-04 15:17:12.522028000 Z + updated_at: 2016-04-04 15:17:12.522028000 Z + is_allow_contact: true + group_id: 1 + stp_customer_id: cus_8CzQK5uXPeyh4K + slug: gilbertpartenaire + is_active: true + invoicing_disabled: false + provider: + uid: + auth_token: + merged_at: + +user_5: + id: 5 + username: vlonchamp + email: vanessa.lonchamp@sfr.fr + encrypted_password: "$2a$10$HOEk.QyGwpd9nsk2gVXGSuAxig9jMrNFHVqYMW1.Sp41EtN7rdBbG" + reset_password_token: + reset_password_sent_at: + remember_created_at: + sign_in_count: 1 + current_sign_in_at: 2016-04-04 15:34:23.343596000 Z + last_sign_in_at: 2016-04-04 15:34:23.343596000 Z + current_sign_in_ip: 127.0.0.1 + last_sign_in_ip: 127.0.0.1 + confirmation_token: 59cfd407491c4e1d95a9f91f81e710a62a83a6fd7171ad22823b4c4395312c4d + confirmed_at: + confirmation_sent_at: 2016-04-04 15:14:08.599603000 Z + unconfirmed_email: + failed_attempts: 0 + unlock_token: + locked_at: + created_at: 2016-04-04 15:14:08.563152000 Z + updated_at: 2016-04-04 15:34:23.344613000 Z + is_allow_contact: true + group_id: 2 + stp_customer_id: cus_8CzNtM08NVlSGN + slug: vlonchamp + is_active: true + invoicing_disabled: + provider: + uid: + auth_token: + merged_at: + +user_3: + id: 3 + username: pdurand + email: paulette.durand@hotmail.fr + encrypted_password: "$2a$10$Ri5kcxmonFsZDDWLxjVUy.KoM2coBmB.W6ED11KDDaAuaBV8dVsim" + reset_password_token: + reset_password_sent_at: + remember_created_at: + sign_in_count: 2 + current_sign_in_at: 2016-04-05 08:35:05.676918000 Z + last_sign_in_at: 2016-04-04 15:07:46.733781000 Z + current_sign_in_ip: 127.0.0.1 + last_sign_in_ip: 127.0.0.1 + confirmation_token: + confirmed_at: 2016-04-04 15:08:00.893381000 Z + confirmation_sent_at: 2016-04-04 15:07:46.726886000 Z + unconfirmed_email: + failed_attempts: 0 + unlock_token: + locked_at: + created_at: 2016-04-04 15:07:46.675613000 Z + updated_at: 2016-04-05 08:35:05.678582000 Z + is_allow_contact: false + group_id: 1 + stp_customer_id: cus_8CzHcwBJtlA3IL + slug: pdurand + is_active: true + invoicing_disabled: false + provider: + uid: + auth_token: + merged_at: + +user_1: + id: 1 + username: admin + email: admin@fab-manager.com + encrypted_password: "$2a$10$LtQ2OggropcXpmcsPTEPruuGZrwuFYGOo8qjh.po91YDna/K4/Bbe" + reset_password_token: + reset_password_sent_at: + remember_created_at: + sign_in_count: 8 + current_sign_in_at: 2016-04-05 08:36:08.361260000 Z + last_sign_in_at: 2016-04-05 08:34:28.227054000 Z + current_sign_in_ip: 127.0.0.1 + last_sign_in_ip: 127.0.0.1 + confirmation_token: + confirmed_at: + confirmation_sent_at: + unconfirmed_email: + failed_attempts: 0 + unlock_token: + locked_at: + created_at: 2016-04-04 14:11:33.852719000 Z + updated_at: 2016-04-05 08:36:08.362215000 Z + is_allow_contact: true + group_id: 1 + stp_customer_id: cus_8CyNk3UTi8lvCc + slug: admin + is_active: true + invoicing_disabled: false + provider: + uid: + auth_token: + merged_at: diff --git a/test/fixtures/users_credits.yml b/test/fixtures/users_credits.yml new file mode 100644 index 000000000..e69de29bb diff --git a/test/fixtures/users_roles.yml b/test/fixtures/users_roles.yml new file mode 100644 index 000000000..bb571d62b --- /dev/null +++ b/test/fixtures/users_roles.yml @@ -0,0 +1,56 @@ + +users_role_: + user_id: 1 + role_id: 1 + +users_role_: + user_id: 2 + role_id: 2 + +users_role_: + user_id: 3 + role_id: 2 + +users_role_: + user_id: 4 + role_id: 2 + +users_role_: + user_id: 5 + role_id: 2 + +users_role_: + user_id: 6 + role_id: 3 + +users_role_: + user_id: 6 + role_id: 4 + +users_role_: + user_id: 1 + role_id: 1 + +users_role_: + user_id: 2 + role_id: 2 + +users_role_: + user_id: 3 + role_id: 2 + +users_role_: + user_id: 4 + role_id: 2 + +users_role_: + user_id: 5 + role_id: 2 + +users_role_: + user_id: 6 + role_id: 3 + +users_role_: + user_id: 6 + role_id: 4