Skip to content

Commit

Permalink
Use --require spec_helper option to require spec_helper automatic…
Browse files Browse the repository at this point in the history
…ally
  • Loading branch information
emsk committed Jun 5, 2016
1 parent 41ff612 commit 1056055
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
--format documentation
--color
--require spec_helper
2 changes: 0 additions & 2 deletions spec/romajic/cli_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'spec_helper'

describe Romajic::CLI do
let(:cli) { described_class.new }

Expand Down
2 changes: 0 additions & 2 deletions spec/romajic/config_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# coding: utf-8

require 'spec_helper'

describe Romajic::Config do
let(:config_dir_path) { '/path/to' }
let(:config_file_path) { "#{config_dir_path}/config.yml" }
Expand Down
2 changes: 0 additions & 2 deletions spec/romajic/cop_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'spec_helper'

describe Romajic::Cop do
let(:options) do
{
Expand Down
2 changes: 0 additions & 2 deletions spec/romajic_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'spec_helper'

describe Romajic do
describe 'VERSION' do
subject { described_class::VERSION }
Expand Down

0 comments on commit 1056055

Please sign in to comment.