Skip to content

Commit

Permalink
remove fix for Rails 4 that is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jun 6, 2018
1 parent eaa9197 commit 3fa038c
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions spec/test_app_templates/lib/generators/test_app_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,12 @@
class TestAppGenerator < Rails::Generators::Base
source_root File.expand_path("../../../../test_app_templates", __FILE__)

def fix_travis_rails_4
if ENV['TRAVIS']
insert_into_file 'app/assets/stylesheets/application.css', :before =>'/*' do
"@charset \"UTF-8\";\n"
end
end
end

def remove_index
def remove_index
remove_file "public/index.html"
end

def run_blacklight_generator
say_status("warning", "GENERATING BL", :yellow)
say_status("warning", "GENERATING BL", :yellow)

Bundler.with_clean_env do
run "bundle install"
Expand All @@ -27,7 +19,7 @@ def run_blacklight_generator
end

def run_test_support_generator
say_status("warning", "GENERATING test_support", :yellow)
say_status("warning", "GENERATING test_support", :yellow)

generate 'blacklight:test_support'
end
Expand Down

0 comments on commit 3fa038c

Please sign in to comment.