Skip to content

Commit

Permalink
Fix rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Mar 5, 2015
1 parent 6f0bddd commit 256b7d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
@@ -1,6 +1,7 @@
Lint/HandleExceptions:
Exclude:
- 'lib/dotenv/rails.rb'
- 'lib/dotenv.rb'

Style/Documentation:
Exclude:
Expand Down
6 changes: 3 additions & 3 deletions spec/dotenv_spec.rb
Expand Up @@ -88,15 +88,15 @@
subject { Dotenv.overload(*env_files) }
it_behaves_like "load"

context 'when loading a file containing already set variables' do
let(:env_files) { [fixture_path('plain.env')] }
context "when loading a file containing already set variables" do
let(:env_files) { [fixture_path("plain.env")] }

it "overrides any existing ENV variables" do
ENV["OPTION_A"] = "predefined"

subject

expect(ENV['OPTION_A']).to eq('1')
expect(ENV["OPTION_A"]).to eq("1")
end
end

Expand Down

0 comments on commit 256b7d4

Please sign in to comment.