Skip to content

Commit

Permalink
makes rubocop happy
Browse files Browse the repository at this point in the history
- updates changelog
  • Loading branch information
LeFnord committed Nov 16, 2016
1 parent 9302103 commit 6d5e03b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#### Fixes

* [#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).
* Your contribution here.

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

#### Fixes
* [#509](https://github.com/ruby-grape/grape-swagger/pull/509): Making parent-less routes working - [@contributor](https://github.com/mur-wtag).

* [#503](https://github.com/ruby-grape/grape-swagger/pull/503): Corrects exposing of inline definitions - [@LeFnord](https://github.com/LeFnord).
* [#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).
* [#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).
Expand Down
4 changes: 2 additions & 2 deletions spec/swagger_v2/parent_less_namespace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def app

context 'raises error' do
specify do
allow_any_instance_of(ParentLessApi).
to receive(:extract_parent_route).with(route_name).and_return(':animal') # BUT IT'S NOT STUBBING, CAUSE IT'S A PRIVATE METHODS
allow_any_instance_of(ParentLessApi)
.to receive(:extract_parent_route).with(route_name).and_return(':animal') # BUT IT'S NOT STUBBING, CAUSE IT'S A PRIVATE METHODS
expect { subject }.to raise_error NoMethodError
end
end
Expand Down

0 comments on commit 6d5e03b

Please sign in to comment.