magick encoding
This commit is contained in:
parent
ad40c4e2ad
commit
9abaa20c91
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class NoteFilesController < ApplicationController
|
class NoteFilesController < ApplicationController
|
||||||
# GET /note_files
|
# GET /note_files
|
||||||
# GET /note_files.json
|
# GET /note_files.json
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class NotesController < ApplicationController
|
class NotesController < ApplicationController
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class TopicsController < ApplicationController
|
class TopicsController < ApplicationController
|
||||||
before_filter :authenticate_admin!
|
before_filter :authenticate_admin!
|
||||||
layout "topics"
|
layout "topics"
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
module ApplicationHelper
|
module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
@ -14,4 +14,4 @@ module DocumentLineHelper
|
|||||||
link_to_function(name, "alert('test');add_fields(this, \"#{association}\", \"#{escape_javascript(fields)}\");")
|
link_to_function(name, "alert('test');add_fields(this, \"#{association}\", \"#{escape_javascript(fields)}\");")
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
module MarkdownHelper
|
module MarkdownHelper
|
||||||
|
|
||||||
def markdown(text)
|
def markdown(text)
|
||||||
@ -28,4 +29,4 @@ module MarkdownHelper
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
module SurveysHelper
|
module SurveysHelper
|
||||||
end
|
end
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
module TinyUrlsHelper
|
module TinyUrlsHelper
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Admin < ActiveRecord::Base
|
class Admin < ActiveRecord::Base
|
||||||
# Include default devise modules. Others available are:
|
# Include default devise modules. Others available are:
|
||||||
# :token_authenticatable, :confirmable,
|
# :token_authenticatable, :confirmable,
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Donate < ActiveRecord::Base
|
class Donate < ActiveRecord::Base
|
||||||
belongs_to :sheet
|
belongs_to :sheet
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Newsgroup < ActiveRecord::Base
|
class Newsgroup < ActiveRecord::Base
|
||||||
has_many :people_newsgroups
|
has_many :people_newsgroups
|
||||||
has_many :people, :through => :people_newsgroups
|
has_many :people, :through => :people_newsgroups
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Note < ActiveRecord::Base
|
class Note < ActiveRecord::Base
|
||||||
belongs_to :admin
|
belongs_to :admin
|
||||||
belongs_to :topic
|
belongs_to :topic
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class NoteFile < ActiveRecord::Base
|
class NoteFile < ActiveRecord::Base
|
||||||
|
|
||||||
attr_accessor :file_cache, :original_filename
|
attr_accessor :file_cache, :original_filename
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class PeopleNewsgroup < ActiveRecord::Base
|
class PeopleNewsgroup < ActiveRecord::Base
|
||||||
belongs_to :person
|
belongs_to :person
|
||||||
belongs_to :newsgroup
|
belongs_to :newsgroup
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Person < ActiveRecord::Base
|
class Person < ActiveRecord::Base
|
||||||
belongs_to :sheet
|
belongs_to :sheet
|
||||||
#validates_presence_of :surname, :firstname
|
#validates_presence_of :surname, :firstname
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class QuestionSet < ActiveRecord::Base
|
class QuestionSet < ActiveRecord::Base
|
||||||
belongs_to :survey_item
|
belongs_to :survey_item
|
||||||
belongs_to :survey_set
|
belongs_to :survey_set
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class SurveyItem < ActiveRecord::Base
|
class SurveyItem < ActiveRecord::Base
|
||||||
belongs_to :survey_type
|
belongs_to :survey_type
|
||||||
attr_accessible :description, :display_type, :help, :item_type, :questions_type, :string_type, :title, :archived, :locked, :text_presentation, :max_checkboxes
|
attr_accessible :description, :display_type, :help, :item_type, :questions_type, :string_type, :title, :archived, :locked, :text_presentation, :max_checkboxes
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class SurveyItemAnswer < ActiveRecord::Base
|
class SurveyItemAnswer < ActiveRecord::Base
|
||||||
belongs_to :survey_item
|
belongs_to :survey_item
|
||||||
attr_accessible :class_text, :data_type, :field_type, :help_text, :label_text, :archived, :locked
|
attr_accessible :class_text, :data_type, :field_type, :help_text, :label_text, :archived, :locked
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class SurveySet < ActiveRecord::Base
|
class SurveySet < ActiveRecord::Base
|
||||||
belongs_to :survey_type
|
belongs_to :survey_type
|
||||||
has_many :question_sets
|
has_many :question_sets
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class SurveyType < ActiveRecord::Base
|
class SurveyType < ActiveRecord::Base
|
||||||
attr_accessible :description, :intro_text, :name, :thank_text, :locked, :archived, :slug
|
attr_accessible :description, :intro_text, :name, :thank_text, :locked, :archived, :slug
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class TinyUrl < ActiveRecord::Base
|
class TinyUrl < ActiveRecord::Base
|
||||||
attr_accessible :nbr_views, :slug, :start_at, :stop_at, :url
|
attr_accessible :nbr_views, :slug, :start_at, :stop_at, :url
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Topic < ActiveRecord::Base
|
class Topic < ActiveRecord::Base
|
||||||
belongs_to :admin
|
belongs_to :admin
|
||||||
attr_accessible :description, :title
|
attr_accessible :description, :title
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class YearPaiement < ActiveRecord::Base
|
class YearPaiement < ActiveRecord::Base
|
||||||
belongs_to :join_year
|
belongs_to :join_year
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require File.expand_path('../boot', __FILE__)
|
require File.expand_path('../boot', __FILE__)
|
||||||
|
|
||||||
require 'rails/all'
|
require 'rails/all'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
|
||||||
# Set up gems listed in the Gemfile.
|
# Set up gems listed in the Gemfile.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
set :application, 'pic_vert_app'
|
set :application, 'pic_vert_app'
|
||||||
set :domain, 'www2.lepicvert.asso.fr'
|
set :domain, 'www2.lepicvert.asso.fr'
|
||||||
|
|
||||||
@ -108,4 +109,4 @@ set :application, 'pic_vert_app'
|
|||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Load the rails application
|
# Load the rails application
|
||||||
require File.expand_path('../application', __FILE__)
|
require File.expand_path('../application', __FILE__)
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
HOSTNAME = 'localhost:3000'
|
HOSTNAME = 'localhost:3000'
|
||||||
|
|
||||||
Survey::Application.configure do
|
Survey::Application.configure do
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
HOSTNAME = 'http://lepicvert.org'
|
HOSTNAME = 'http://lepicvert.org'
|
||||||
|
|
||||||
Survey::Application.configure do
|
Survey::Application.configure do
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
Survey::Application.configure do
|
Survey::Application.configure do
|
||||||
# Settings specified here will take precedence over those in config/application.rb
|
# Settings specified here will take precedence over those in config/application.rb
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
|
|
||||||
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Use this hook to configure devise mailer, warden hooks and so forth.
|
# Use this hook to configure devise mailer, warden hooks and so forth.
|
||||||
# Many of these configuration options can be set straight in your model.
|
# Many of these configuration options can be set straight in your model.
|
||||||
Devise.setup do |config|
|
Devise.setup do |config|
|
||||||
@ -234,4 +235,4 @@ Devise.setup do |config|
|
|||||||
config.case_insensitive_keys = [ :username ]
|
config.case_insensitive_keys = [ :username ]
|
||||||
config.strip_whitespace_keys = [ :username ]
|
config.strip_whitespace_keys = [ :username ]
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
|
|
||||||
# Add new inflection rules using the following format
|
# Add new inflection rules using the following format
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
|
|
||||||
# Add new mime types for use in respond_to blocks:
|
# Add new mime types for use in respond_to blocks:
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
|
|
||||||
# Your secret key for verifying the integrity of signed cookies.
|
# Your secret key for verifying the integrity of signed cookies.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
|
|
||||||
Survey::Application.config.session_store :cookie_store, key: '_survey_session'
|
Survey::Application.config.session_store :cookie_store, key: '_survey_session'
|
||||||
|
@ -40,4 +40,4 @@ module ToSlug
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
String.send(:include, ToSlug)
|
String.send(:include, ToSlug)
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
#
|
#
|
||||||
# This file contains settings for ActionController::ParamsWrapper which
|
# This file contains settings for ActionController::ParamsWrapper which
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
Survey::Application.routes.draw do
|
Survey::Application.routes.draw do
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
@rails_app = "pic_vert_app"
|
@rails_app = "pic_vert_app"
|
||||||
|
|
||||||
working_directory "/home/web/#{@rails_app}/current"
|
working_directory "/home/web/#{@rails_app}/current"
|
||||||
@ -7,4 +8,4 @@ stdout_path "/home/web/#{@rails_app}/shared/log/unicorn.log"
|
|||||||
|
|
||||||
listen "/home/web/#{@rails_app}/shared/tmp/unicorn.sock"
|
listen "/home/web/#{@rails_app}/shared/tmp/unicorn.sock"
|
||||||
worker_processes 2
|
worker_processes 2
|
||||||
timeout 30
|
timeout 30
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateNewsgroups < ActiveRecord::Migration
|
class CreateNewsgroups < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :newsgroups do |t|
|
create_table :newsgroups do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateSheets < ActiveRecord::Migration
|
class CreateSheets < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :sheets do |t|
|
create_table :sheets do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreatePeople < ActiveRecord::Migration
|
class CreatePeople < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :people do |t|
|
create_table :people do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateSheetYears < ActiveRecord::Migration
|
class CreateSheetYears < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :sheet_years do |t|
|
create_table :sheet_years do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateDonates < ActiveRecord::Migration
|
class CreateDonates < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :donates do |t|
|
create_table :donates do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreatePeopleNewsgroups < ActiveRecord::Migration
|
class CreatePeopleNewsgroups < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
create_table :people_newsgroups do |t|
|
create_table :people_newsgroups do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateSurveyTypes < ActiveRecord::Migration
|
class CreateSurveyTypes < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :survey_types do |t|
|
create_table :survey_types do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateSurveyItems < ActiveRecord::Migration
|
class CreateSurveyItems < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :survey_items do |t|
|
create_table :survey_items do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateSurveyItemAnswers < ActiveRecord::Migration
|
class CreateSurveyItemAnswers < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :survey_item_answers do |t|
|
create_table :survey_item_answers do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateSurveySets < ActiveRecord::Migration
|
class CreateSurveySets < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :survey_sets do |t|
|
create_table :survey_sets do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateQuestionSets < ActiveRecord::Migration
|
class CreateQuestionSets < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :question_sets do |t|
|
create_table :question_sets do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateAnswerSets < ActiveRecord::Migration
|
class CreateAnswerSets < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :answer_sets do |t|
|
create_table :answer_sets do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class ChangeDataTypeForTableColumn < ActiveRecord::Migration
|
class ChangeDataTypeForTableColumn < ActiveRecord::Migration
|
||||||
def up
|
def up
|
||||||
change_column :question_sets, :content, :text
|
change_column :question_sets, :content, :text
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateTinyUrls < ActiveRecord::Migration
|
class CreateTinyUrls < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :tiny_urls do |t|
|
create_table :tiny_urls do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateTopics < ActiveRecord::Migration
|
class CreateTopics < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :topics do |t|
|
create_table :topics do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateNotes < ActiveRecord::Migration
|
class CreateNotes < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :notes do |t|
|
create_table :notes do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class CreateNoteFiles < ActiveRecord::Migration
|
class CreateNoteFiles < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table :note_files do |t|
|
create_table :note_files do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class DeviseCreateAdmins < ActiveRecord::Migration
|
class DeviseCreateAdmins < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
create_table(:admins) do |t|
|
create_table(:admins) do |t|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class AddUsernameToAdmins < ActiveRecord::Migration
|
class AddUsernameToAdmins < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
add_column :admins, :username, :string
|
add_column :admins, :username, :string
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# encoding: UTF-8
|
# -*- encoding : utf-8 -*-
|
||||||
# This file is auto-generated from the current state of the database. Instead
|
# This file is auto-generated from the current state of the database. Instead
|
||||||
# of editing this file, please use the migrations feature of Active Record to
|
# of editing this file, please use the migrations feature of Active Record to
|
||||||
# incrementally modify your database, and then regenerate this schema definition.
|
# incrementally modify your database, and then regenerate this schema definition.
|
||||||
|
@ -80,4 +80,4 @@ item = @survey.items.build(:questions_type => 2, :text_presentation => 2, :title
|
|||||||
|
|
||||||
@survey_set = @survey.to_survey_set
|
@survey_set = @survey.to_survey_set
|
||||||
|
|
||||||
Admin.create(:username => "nico", :password => 123456, :password_confirmation => 123456, :email => "info@nicolasbally.com")
|
Admin.create(:username => "nico", :password => 123456, :password_confirmation => 123456, :email => "info@nicolasbally.com")
|
||||||
|
1
sheet.rb
1
sheet.rb
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class Sheet < ActiveRecord::Base
|
class Sheet < ActiveRecord::Base
|
||||||
has_many :people, :dependent => :destroy
|
has_many :people, :dependent => :destroy
|
||||||
has_many :sheet_years, :order => "year DESC", :dependent => :destroy
|
has_many :sheet_years, :order => "year DESC", :dependent => :destroy
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
class SheetYear < ActiveRecord::Base
|
class SheetYear < ActiveRecord::Base
|
||||||
belongs_to :sheet
|
belongs_to :sheet
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class SurveysControllerTest < ActionController::TestCase
|
class SurveysControllerTest < ActionController::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class TinyUrlsControllerTest < ActionController::TestCase
|
class TinyUrlsControllerTest < ActionController::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
require 'rails/performance_test_help'
|
require 'rails/performance_test_help'
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
ENV["RAILS_ENV"] = "test"
|
ENV["RAILS_ENV"] = "test"
|
||||||
require File.expand_path('../../config/environment', __FILE__)
|
require File.expand_path('../../config/environment', __FILE__)
|
||||||
require 'rails/test_help'
|
require 'rails/test_help'
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class AdminTest < ActiveSupport::TestCase
|
class AdminTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class AnswerSetTest < ActiveSupport::TestCase
|
class AnswerSetTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class SurveysHelperTest < ActionView::TestCase
|
class SurveysHelperTest < ActionView::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class TinyUrlsHelperTest < ActionView::TestCase
|
class TinyUrlsHelperTest < ActionView::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class QuestionSetTest < ActiveSupport::TestCase
|
class QuestionSetTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class SurveyItemAnswerTest < ActiveSupport::TestCase
|
class SurveyItemAnswerTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class SurveyItemTest < ActiveSupport::TestCase
|
class SurveyItemTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class SurveySetTest < ActiveSupport::TestCase
|
class SurveySetTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class SurveyTypeTest < ActiveSupport::TestCase
|
class SurveyTypeTest < ActiveSupport::TestCase
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- encoding : utf-8 -*-
|
||||||
require 'test_helper'
|
require 'test_helper'
|
||||||
|
|
||||||
class TinyUrlTest < ActiveSupport::TestCase
|
class TinyUrlTest < ActiveSupport::TestCase
|
||||||
|
Loading…
x
Reference in New Issue
Block a user