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