Skip to content

Commit

Permalink
text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Jun 15, 2018
1 parent 6553c61 commit ca2c1b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions spec/dummy/spec/rails_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# frozen_string_literal: true

ENV["RAILS_ENV"] ||= "test"
SERVER_BUNDLE_PATH = File.expand_path("../../public/webpack/" + ENV["RAILS_ENV"] + "/server-bundle.js", __FILE__)

require_relative "simplecov_helper"
require_relative "spec_helper"

Expand Down
3 changes: 1 addition & 2 deletions spec/react_on_rails/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true
#

ENV["RAILS_ENV"] ||= "test"
SERVER_BUNDLE_PATH = File.expand_path("../../public/webpack/" + ENV["RAILS_ENV"] + "/server-bundle.js", __FILE__)

$LOAD_PATH.unshift File.expand_path("../../lib", __dir__)
require "react_on_rails"
Expand Down

0 comments on commit ca2c1b3

Please sign in to comment.