Skip to content

Commit 6d5e03b

Browse files
committed
makes rubocop happy
- updates changelog
1 parent 9302103 commit 6d5e03b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#### Fixes
88

9+
* [#509](https://github.com/ruby-grape/grape-swagger/pull/509), [#529](https://github.com/ruby-grape/grape-swagger/pull/529): Making parent-less routes working - [@contributor](https://github.com/mur-wtag).
910
* Your contribution here.
1011

1112
### 0.25.0 (October 31, 2016)
@@ -36,7 +37,7 @@
3637
* [#497](https://github.com/ruby-grape/grape-swagger/pull/497): Use ruby-grape-danger in Dangerfile - [@dblock](https://github.com/dblock).
3738

3839
#### Fixes
39-
* [#509](https://github.com/ruby-grape/grape-swagger/pull/509): Making parent-less routes working - [@contributor](https://github.com/mur-wtag).
40+
4041
* [#503](https://github.com/ruby-grape/grape-swagger/pull/503): Corrects exposing of inline definitions - [@LeFnord](https://github.com/LeFnord).
4142
* [#494](https://github.com/ruby-grape/grape-swagger/pull/494): Header parametes are now included in documentation when body parameters have been defined - [@anakinj](https://github.com/anakinj).
4243
* [#505](https://github.com/ruby-grape/grape-swagger/pull/505): Combines namespaces with their mounted paths to allow APIs with specified mount_paths - [@KevinLiddle](https://github.com/KevinLiddle).

spec/swagger_v2/parent_less_namespace.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def app
3232

3333
context 'raises error' do
3434
specify do
35-
allow_any_instance_of(ParentLessApi).
36-
to receive(:extract_parent_route).with(route_name).and_return(':animal') # BUT IT'S NOT STUBBING, CAUSE IT'S A PRIVATE METHODS
35+
allow_any_instance_of(ParentLessApi)
36+
.to receive(:extract_parent_route).with(route_name).and_return(':animal') # BUT IT'S NOT STUBBING, CAUSE IT'S A PRIVATE METHODS
3737
expect { subject }.to raise_error NoMethodError
3838
end
3939
end

0 commit comments

Comments
 (0)