Sha256: 8e61566ca9369ff519c9a5f5372d998ae41abe27507a5c6b567ee800ea0bd45b
Contents?: true
Size: 731 Bytes
Versions: 3
Compression:
Stored size: 731 Bytes
Contents
ENV["RAILS_ENV"] = "test" require File.expand_path("../rails_app/config/environment.rb", __FILE__) #require "rails_app/config/environment" require 'rspec/rails' require 'capybara/rspec' require 'capybara' require 'rake' require 'ajax_pagination' Rails.backtrace_cleaner.remove_silencers! Capybara.app = RailsApp::Application # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.use_transactional_fixtures = true end Capybara.register_driver :rack_test do |app| Capybara::RackTest::Driver.new(app, :browser => :chrome) end include Capybara::DSL SERVERPORT = IO.read(File.expand_path("../PORT",__FILE__)).strip # port number that we are using
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ajax_pagination-0.3.0 | spec/spec_helper.rb |
ajax_pagination-0.2.0 | spec/spec_helper.rb |
ajax_pagination-0.1.0 | spec/spec_helper.rb |