Sha256: c3725025a03d157afb8ad14c2da5c190148560734c4bd8f2234b4014c84a5465

Contents?: true

Size: 1.08 KB

Versions: 9

Compression:

Stored size: 1.08 KB

Contents

ENV["RAILS_ENV"] ||= 'test'
require 'spec_helper'


# require File.expand_path("../../config/environment", __FILE__)
require File.expand_path("../dummy/config/environment", __FILE__)
require 'rspec/rails'
require 'factory_girl'
require 'support/controller_macros'
require 'sidekiq/testing'
Sidekiq::Testing.inline!

require_relative '../spec/factories/process_templates.rb'
require_relative '../spec/factories/operation_templates.rb'
require_relative '../spec/factories/operations.rb'
require_relative '../spec/factories/processes.rb'
require_relative '../spec/factories/user.rb'
require_relative '../spec/factories/context.rb'
require_relative '../spec/support/rails_workflow/custom_operation_template.rb'
require_relative '../spec/support/rails_workflow/custom_operation.rb'


ActiveRecord::Migration.maintain_test_schema!

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods
  config.fixture_path = "#{::Rails.root}/spec/fixtures"
  config.use_transactional_fixtures = true
  config.infer_spec_type_from_file_location!
  config.extend ControllerMacros, :type => :controller
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_workflow-0.3.7 spec/rails_helper.rb
rails_workflow-0.3.6 spec/rails_helper.rb
rails_workflow-0.3.5 spec/rails_helper.rb
rails_workflow-0.3.4 spec/rails_helper.rb
rails_workflow-0.3.3 spec/rails_helper.rb
rails_workflow-0.3.2 spec/rails_helper.rb
rails_workflow-0.3.1 spec/rails_helper.rb
rails_workflow-0.3.0 spec/rails_helper.rb
rails_workflow-0.2.2 spec/rails_helper.rb