diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..3f98925d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: ruby +rvm: 2.1 +before_script: + - cp config/database.yml.postgres config/database.yml + - cp config/justask.yml.example config/justask.yml + - bundle exec rake db:setup + - bundle exec rake db:migrate \ No newline at end of file diff --git a/Gemfile b/Gemfile index 0b99f0b4..3484abaa 100644 --- a/Gemfile +++ b/Gemfile @@ -71,6 +71,7 @@ group :production do end group :development, :test do + gem 'rake' gem 'thin' gem 'rspec-rails', '~> 3.0.0' gem 'factory_girl_rails', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 58e34ecb..171413af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -496,6 +496,7 @@ DEPENDENCIES rails (= 4.2.1) rails-assets-growl rails_admin + rake redcarpet redis rspec-rails (~> 3.0.0) diff --git a/spec/controllers/subscribe_controller_spec.rb b/spec/controllers/subscribe_controller_spec.rb deleted file mode 100644 index 0afc3489..00000000 --- a/spec/controllers/subscribe_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'rails_helper' - -RSpec.describe SubscribeController, :type => :controller do - -end