Skip to content

Commit

Permalink
Fix type and test wording
Browse files Browse the repository at this point in the history
  • Loading branch information
felixsch committed Mar 27, 2018
1 parent e615f17 commit 9880787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/connect/api_spec.rb
Expand Up @@ -14,11 +14,11 @@
end

describe '.new' do
it 'require config object' do
it 'requires a config object and raises if nothing was supplied' do
expect { subject.new }.to raise_error ArgumentError
end

it 'require config object' do
it 'requires a config object to initialize the class instance' do
expect { subject.new(config) }.not_to raise_error
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/connect/package_search_spec.rb
Expand Up @@ -31,7 +31,7 @@
subject.search('vim', product: product)
end

it 'overwrites configuration settings supllied as argument' do
it 'overwrites configuration settings supplied as argument' do
overwrites = { language: 'Bonk', debug: true }

expect(config).to receive(:merge!).with(overwrites).and_call_original
Expand Down

0 comments on commit 9880787

Please sign in to comment.