lib/crosstie/templates/devise.rb in crosstie-0.0.4 vs lib/crosstie/templates/devise.rb in crosstie-0.0.5
- old
+ new
@@ -11,12 +11,12 @@
prepend_file "spec/rails_helper.rb", <<-EOF
require 'simplecov'
SimpleCov.start
EOF
-inject_into_file "spec/rails_helper.rb", after: "# Dir[Rails.root.join(\"spec/support/**/*.rb\")].each { |f| require f }\n" do
+inject_into_file "spec/rails_helper.rb", after: "# Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }\n" do
<<-EOF
-Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } # since rspec 3.1
+Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f } # since rspec 3.1
EOF
end
inject_into_file "spec/rails_helper.rb", after: "RSpec.configure do |config|\n" do
<<-EOF