Sha256: 994952df9eb59f2c259ee13347a26193436c9d2528152aac94525f61a0228513
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
# Configure Rails Envinronment ENV["RAILS_ENV"] = "test" require "rails_app/config/environment" require "rails/test_help" require "rspec/rails" require "shoulda-matchers" ActionMailer::Base.delivery_method = :test ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_url_options[:host] = "test.com" Rails.backtrace_cleaner.remove_silencers! # Configure capybara for integration testing #require "capybara/rails" #Capybara.default_driver = :rack_test #Capybara.default_selector = :css # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } # Load Factories require 'factory_girl' require 'forgery' Dir["#{ File.dirname(__FILE__)}/factories/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true end # To test generators require "generator_spec/test_case" require "generators/bigbluebutton_rails/install_generator" require "generators/bigbluebutton_rails/views_generator" require "generators/bigbluebutton_rails/public_generator"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bigbluebutton_rails-0.0.4 | spec/spec_helper.rb |
bigbluebutton_rails-0.0.3 | spec/spec_helper.rb |
bigbluebutton_rails-0.0.2 | spec/spec_helper.rb |
bigbluebutton_rails-0.0.1 | spec/spec_helper.rb |