Sha256: 78070b524c533bb55de2d174f5ec6116bcc58d2d1ad5e7318886ae2971b8bf0e

Contents?: true

Size: 901 Bytes

Versions: 6

Compression:

Stored size: 901 Bytes

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper.rb"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
#

require 'simpler_workflow'
require 'aws/simple_workflow'
require 'pry'
require 'logging'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.before :each do
    AWS.stub!
    AWS.config(:access_key_id => 'TESTKEY', :secret_access_key => 'TESTSECRET')
  end

	$logger = Logging.logger("test.log")
end

class SimplerWorkflow::Workflow::WorkflowEventHandler
  def workflow_event_handler?
    is_a?(SimplerWorkflow::Workflow::WorkflowEventHandler)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simpler_workflow-0.3.3 spec/spec_helper.rb
simpler_workflow-0.3.2 spec/spec_helper.rb
simpler_workflow-0.3.1 spec/spec_helper.rb
simpler_workflow-0.3.0 spec/spec_helper.rb
simpler_workflow-0.3.0.beta2 spec/spec_helper.rb
simpler_workflow-0.3.0.beta spec/spec_helper.rb