Sha256: 5107a4532dca25bf177865753c5a9212d9706e6c700b6a4c18de09361a45ab05

Contents?: true

Size: 756 Bytes

Versions: 12

Compression:

Stored size: 756 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(:suite) do
    
    class WhowishWordController
      def authenticate;end
    end
    
  end
  
  config.before(:each) do
    
    WhowishWordHtml.delete_all
    WhowishWord.words = {}
    
  end
  
  config.mock_with :rspec
  
end



Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
whowish_word-0.2.1 rails/spec/spec_helper.rb
whowish_word-0.2.0 rails/spec/spec_helper.rb
whowish_word-0.1.9 rails/spec/spec_helper.rb
whowish_word-0.1.8 rails/spec/spec_helper.rb
whowish_word-0.1.7 rails/spec/spec_helper.rb
whowish_word-0.1.6 rails/spec/spec_helper.rb
whowish_word-0.1.5 rails/spec/spec_helper.rb
whowish_word-0.1.4 rails/spec/spec_helper.rb
whowish_word-0.1.3 rails/spec/spec_helper.rb
whowish_word-0.1.2 rails/spec/spec_helper.rb
whowish_word-0.1.1 rails/spec/spec_helper.rb
whowish_word-0.1.0 rails/spec/spec_helper.rb