Sha256: ddd38ff0d13927bbf2596a1e18c61b5f450e10c4033bc76650b46108f7434773

Contents?: true

Size: 635 Bytes

Versions: 7

Compression:

Stored size: 635 Bytes

Contents

# encoding: utf-8
require 'rubygems'

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

require File.expand_path("../../config/environment", __FILE__)

require 'rspec/rails'

require 'watir-webdriver-rails'

WatirWebdriverRails.host = "localhost"
WatirWebdriverRails.port = 57124

Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f}


RSpec.configure do |config|
  
  config.include Browser
  config.include MongoidHelper
  config.include JsonRspecHelper
  
  config.before(:each) do
    
    WhowishWordHtml.delete_all
    WhowishWord.words = {}
    
  end
  
  config.mock_with :rspec
  
end



Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whowish_word-0.3.1 rails/spec/spec_helper.rb
whowish_word-0.3.0 rails/spec/spec_helper.rb
whowish_word-0.2.7 rails/spec/spec_helper.rb
whowish_word-0.2.6 rails/spec/spec_helper.rb
whowish_word-0.2.5 rails/spec/spec_helper.rb
whowish_word-0.2.3 rails/spec/spec_helper.rb
whowish_word-0.2.2 rails/spec/spec_helper.rb