Sha256: b757717b8eeeeeff2cd65b22e00abadaa6e032ad4ea7870bf39108aaf9d2fef9

Contents?: true

Size: 618 Bytes

Versions: 4

Compression:

Stored size: 618 Bytes

Contents

ENV["RAILS_ENV"] = 'test'

require 'rails'
require 'hungryform-rails'
require 'dummy/app'
require 'rspec/rails'
require 'capybara/rails'
require 'capybara/poltergeist'

Capybara.javascript_driver = :poltergeist

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir['./spec/support/**/*.rb'].each { |f| require f }
Dir['./spec/elements/shared_examples/**/*.rb'].each { |f| require f }
Dir['./spec/views/shared_examples/**/*.rb'].each { |f| require f }

RSpec.configure do |config|
  config.order = :random
  config.infer_spec_type_from_file_location!
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hungryform-rails-0.0.6 spec/spec_helper.rb
hungryform-rails-0.0.5 spec/spec_helper.rb
hungryform-rails-0.0.4 spec/spec_helper.rb
hungryform-rails-0.0.3 spec/spec_helper.rb