Skip to content

Commit 38c5690

Browse files
committed
Don't require rails test/unit support
We use RSpec to test, no need to require it. Fixes invalid option: --pattern output appearing at end of tests.
1 parent ff5f817 commit 38c5690

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

spec/spec_helper.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
end
99

1010
# Configure Rails Environment
11-
ENV["RAILS_ENV"] = "test"
11+
ENV["RAILS_ENV"] ||= "test"
1212

1313
require File.expand_path("../dummy/config/environment.rb", __FILE__)
14-
require "rails/test_help"
1514
require "rspec/rails"
1615
require 'rspec/active_model/mocks'
1716
require "capybara/rails"

0 commit comments

Comments
 (0)