@ -22,6 +22,8 @@ before_install:
- "sh -e /etc/init.d/xvfb start"
before_script:
- "RAILS_ENV=production bundle exec rake ci:travis:prepare"
after_success:
- "RAILS_ENV=production bundle exec rake coveralls:push"
branches:
only:
- feature/rails3
@ -6,6 +6,9 @@
require 'cucumber/rails'
require 'coveralls'
Coveralls.wear_merged!('rails')
# Load paths to ensure they are loaded before the plugin's paths.rbs.
# Plugin's path_to functions rely on being loaded after the core's path_to
# function, since they call super if they don't match and the core doesn't.
@ -2,6 +2,10 @@ require 'rubygems'
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
@ -15,7 +15,7 @@
ENV["RAILS_ENV"] = "test"
Coveralls.wear!('rails')
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'